To allow loading position data directly from raw position files. This will allow us to dynamically adjust how fly-scans are handled in the future by changing the new position_reduce function from this PR.
Approach
Copied the procedures from a Python script that Yi gave me. I tested this approach by comparing the output of the parsed files with the files produced by Yi's script and those that already exist in the fly145 folder on micdata.
Pre-Merge Checklists
Submitter
[x] Write a helpfully descriptive pull request title.
[x] Organize changes into logically grouped commits with descriptive commit messages.
[ ] Document all new functions.
[x] Write tests for new functions or explain why they are not needed.
Purpose
To allow loading position data directly from raw position files. This will allow us to dynamically adjust how fly-scans are handled in the future by changing the new
position_reduce
function from this PR.Approach
Copied the procedures from a Python script that Yi gave me. I tested this approach by comparing the output of the parsed files with the files produced by Yi's script and those that already exist in the fly145 folder on micdata.
Pre-Merge Checklists
Submitter
yapf
to format python code.Reviewer