-
Notifications
You must be signed in to change notification settings - Fork 10
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
feature: tem refactoring + tutorial notebook #87
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
This looks incomplete. I put some comments in https://app.reviewnb.com/compSPI/simSPI/pull/86/ |
notebooks/tem_tutorial.ipynb
Outdated
@@ -0,0 +1,457 @@ | |||
{ |
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.
Ensure the outputs to the notebook are available/run in the committed version that is publicly available.
Reply via ReviewNB
notebooks/tem_tutorial.ipynb
Outdated
@@ -0,0 +1,457 @@ | |||
{ |
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.
…to address deepsource issue
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.
Thanks! LGTM, just one comment about why the descriptions of some parameters have been removed.
tests/test_files/tem/sim_config.yaml
Outdated
defocus_syst_error_um: 0.0 # [μm] | ||
defocus_nonsyst_error_um: 0.0 # [μm] | ||
optics_defocusout: None # file to write defocus values | ||
magnification: 81000 # |
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.
Why removing the descriptions of the parameters?
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.
Thank you for catching this. These seem to have been accidentally removed during a merge conflict. The descriptions have been added back.
Hooray!!! Look at that beautiful test coverage! Look back and see how far you've come, enjoy, and imagine how this could come together in the time you have left. Keep working hard!
|
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.
Good work, guys!
rotation_metadata : array-like, shape=[..., 3] | ||
N x 3 matrix representing the rotation angles , phi, theta, psi, of | ||
each particle in stack. |
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.
It would be useful to say which convention is used: XYX, ...?
@@ -7,6 +7,7 @@ | |||
hole_diameter_nm: 1200 # [nm] | |||
hole_thickness_center_nm: 100 # [nm] | |||
hole_thickness_edge_nm: 100 # [nm] | |||
particle_slice_pad: 5 # |
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.
# [pixel]
?
@@ -15,7 +16,7 @@ | |||
electron_dose_std_e_per_nm2: 0 # standard deviation of dose per image | |||
|
|||
optics_parameters: | |||
magnification: 81000 # | |||
magnification: 81000 # |
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.
# []
View / edit / reply to this conversation on ReviewNB fredericpoitevin commented on 2022-03-25T16:47:14Z Add link to reference paper: https://onlinelibrary.wiley.com/doi/10.1111/j.1365-2818.2011.03497.x |
View / edit / reply to this conversation on ReviewNB fredericpoitevin commented on 2022-03-25T16:47:15Z Some explanatory text would have been helpful. |
No description provided.