I hereby claim:
- I am andrewbolster on github.
- I am bolster (https://keybase.io/bolster) on keybase.
- I have a public key whose fingerprint is 03D4 CCE9 AC04 1177 3D00 924D 49DC 9F11 AEFD 5969
To claim this, I am signing this object:
#!/bin/bash | |
BASE="/mnt/eventcam/" | |
COMPRESS=0 | |
RERUN=0 | |
UPLOAD=1 | |
TODAY=`date +%Y%m%d` | |
# Move all jpgs in to per date folder for processing | |
for file in `find $BASE -maxdepth 1 -name '*.jpg' -type f -print`; do | |
newfilename=`echo $file | awk -F '-' '{print $2$3}'` | |
date=`echo $newfilename | cut -c 1-8` |
# Check for updates on initial load... | |
if [ "$DISABLE_AUTO_UPDATE" != "true" ]; then | |
/usr/bin/env ZSH=$ZSH DISABLE_UPDATE_PROMPT=$DISABLE_UPDATE_PROMPT zsh $ZSH/tools/check_for_upgrade.sh | |
fi | |
# Initializes Oh My Zsh | |
# add a function path | |
fpath=($ZSH/functions $ZSH/completions $fpath) |
➜ _posts git:(master) ✗ file 2014-01-20-schreibdochmal_19_01_14.md | |
2014-01-20-schreibdochmal_19_01_14.md: exported SGML document, UTF-8 Unicode (with BOM) text, with very long lines | |
➜ _posts git:(master) ✗ file 2014-01-11-the-making-of-a-timelapse.md | |
2014-01-11-the-making-of-a-timelapse.md: ASCII text, with very long lines |
awk '{if(NR==1)sub(/^\xef\xbb\xbf/,"");print}' INFILE > OUTFILE |
if Pos_Component == 3: | |
Actual_Pos_Index = Actual_Pos_Index + Configurable_Parameters.Number_Of_State_Vector_Components_Per_Probe - 3 | |
Inertial_Pos_Measurement[(Index - 1), :] = Measurements[(Index - 1), :] | |
Inertial_Pos_Err[(Index - 1), :] = Inertial_Pos_Measurement[(Index - 1), :] - Actual_Pos[ | |
(Index - 1), :] |
Error | |
Traceback (most recent call last): | |
File "/home/bolster/src/aietes/src/contrib/Ghia/ecea/mfiles/test_ecea.py", line 53, in test_Phi | |
oct_phi = octave.Set_State_Propagation_Matrix(sim_conf) | |
File "/usr/local/lib/python2.7/dist-packages/oct2py/session.py", line 364, in octave_command | |
return self.call(name, *args, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/oct2py/session.py", line 177, in call | |
argin_list, load_line = self._writer.create_file(inputs) | |
File "/usr/local/lib/python2.7/dist-packages/oct2py/matwrite.py", line 69, in create_file | |
savemat(self.in_file, data, appendmat=False, oned_as='row') |
10:51 <bolster> Is it passable to describe a movie as being "If Ed Wood and Christopher Walken had a thalidomide baby" or is that too much? | |
10:51 <bolster> Oh, maybe should have started with "Morning" | |
10:56 <clairebones> bolster: if it's the movie I think you're referring to it's probably apt | |
10:58 <^Richard> o_O | |
10:59 <bolster> clairebones: yup, just concious that as a statement it sits on the very bloodiest edge of decorum. Much like the movie. | |
11:02 <stealthii> film in question: http://imgur.com/C0PoSVX | |
11:03 <^Richard> even the description is fucking mental. | |
11:03 <stealthii> that's my favourite bit. | |
11:04 <stealthii> of course he didn't hit her | |
11:04 <stealthii> men don't hit. |
I hereby claim:
To claim this, I am signing this object:
def random_three_vector(): | |
""" | |
Generates a random 3D unit vector (direction) with a uniform spherical distribution | |
Algo from http://stackoverflow.com/questions/5408276/python-uniform-spherical-distribution | |
:return: | |
""" | |
phi = np.random.uniform(0,np.pi*2) | |
costheta = np.random.uniform(-1,1) | |
theta = np.arccos( costheta ) |
def update_filter(self): | |
##################################################################################### | |
# KALMAN STEP # | |
##################################################################################### | |
t = self.t_index | |
#_Y = np.vstack(np.concatenate((self.Inertial_Measurement.flatten(),self.TOF_Measurement.flatten()))) | |
Y = np.vstack(self.SIM.Measurement) | |
# Form estimated error correction of positions form reduced form | |
# Y is the positions observed, and is corrected by the X_estimation from the previous round |