-
Notifications
You must be signed in to change notification settings - Fork 11
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
Sofast Calibrations use Logtools #39
Sofast Calibrations use Logtools #39
Conversation
braden6521
commented
Mar 20, 2024
•
edited
Loading
edited
- Migrated all print statements in Deflectometry/Sofast calibration/processing routines to use lot_tools.
- Where appropriate, some reformatting to make code more readable.
…imented yet. Resolving merge conflicts.
Fixed merge conflicts 2
Fixing merge conflicts with CalibrationDispalyShape
Fixing merge conflict in example_calibrate_screen_shape
Fixed merge conflict with example-calibration-screen-shape
41e993d
to
3a27211
Compare
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.
Looks good. Thanks for committing these non-functional changes all at once! It really makes it easier to understand when functional changes aren't also mixed in.
ft.create_directories_if_necessary(save_path) | ||
|
||
# Set up logger | ||
lt.logger(join(save_path, 'log.txt'), lt.log.INFO) |
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.
Nice, thanks for moving this to here!
@@ -190,19 +195,19 @@ def bundle_adjustment_sparsity( | |||
""" | |||
m = camera_indices.size * 2 # num observed points (x and y) | |||
n = n_cameras * 6 + n_points * 3 # Nvars | |||
A = lil_matrix((m, n), dtype=int) # Num xy points x num vars | |||
jac_sparsity = lil_matrix((m, n), dtype=int) # Num xy points x num vars |
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.
chef's kiss of useful variable names 😚🤌