First import from pyptv-gui (SVN) on a desktop to the /Documents/MyPython/pyptv-git-bitbucket
Setup on a Linux system: extension modules are *.so, no *.pyd
Janitoring: *.pyc files should not be under VC, as they are auto-generated whenever the program is run. Versioning them just creates unnecessary churn and commit noise.
Fix fopen() without fclose() that caused the dumbbell orientation to crash
with errno 24 (Can't open file))
Start hacking away at the heaps of duplicated code: make a function to allocate t4, c4, and mega; use it in two places instead of copied code.
refactoring plan.
Convert all readers of target files to use the improved read_targets() function
Add error-handling section to refactoring plan
Caught two more places where allocate_tracking_structs() should be called.
read_ori() now deals with additional parameters too, all uses converted. Need to do the same for write_ori(), probably.
Removing the filename global, because it actually caused problems in finding a bug.
added  an option to change the sequence numbers in the batch run, without GUI
stop tracking ptv1.so - this is specific only to some platforms
added sequence () function for the cases where only sequence is needed, without tracking. this has to be changed manually in the pyptv_batch.py but can be formulated nicely with some flag input and a check in the function. later.
nothing - just moved a comment one line below
nothing - just put the comment back
Remove older versions of calibration GUI files. We have Git for this.
Add testing reference. Modified from a current experiment to make the tests pass, but the tests should be examined and updated.
Start pushing globals up the levels by replacing them with function arguments. This time: allocate_tracking_structs()
Nailed the meaning of all indices in the tracking buffers.