-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ADD: Tool to measure DetectorToReference transforms #91
base: main
Are you sure you want to change the base?
Conversation
new_filepath = os.path.join(dir,new_filename) | ||
|
||
with open(new_filepath, 'w') as file: | ||
# TODO: Make this data look more clean when dumped to file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume you are referring to the lists of floating points? The coordinates showing up on three different lines rather than all on one line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes this is what I am referring to, same as the below comment.
|
||
with open(new_filepath, 'w') as file: | ||
# TODO: Make this data look more clean when dumped to file | ||
# Also have marker corner positions as floats and not ints |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure why this would be the case. What do you mean by corner positions?
baef3e5
to
b8246ab
Compare
b8246ab
to
5fddbf0
Compare
Now included in this PR is some improvements that @vaughantnrc made on my own branch, as well as general improvements to the src.slicer_connection module. |
Little standalone file to measure the DetectorToReference transforms for each detector. Takes config file specifying detectors and reference board. Outputs the same file* but with the transforms added.
Should address #85