-
Notifications
You must be signed in to change notification settings - Fork 21
Direct Ptycho Holiday Cleanup #132
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
Conversation
…oscopy/quantem into diffractive_imaging
|
Alrighty @smribet, ready for review! Least-squares aberration fitting for direct ptychographyFinally added a new least-squares–based aberration fitting routine for direct ptychography. API changes
Basic usagedirect_ptycho = direct_ptycho.fit_hyperparameters_least_squares(
aberration_coefs = {"C10":0,"C12":0,"phi12":0},
# rotation_angle=None,
cartesian_basis="low_order",
# fit_method="recursive",
q_signal_weight=0.0,
num_q_modes=12,
# unwrap_method = "reliability-sorting",
# two_pass_unwrapping = False,
verbose=True,
)Argument notes
Tutorial notebooks have been updated to reflect these changes electronmicroscopy/quantem-tutorials#2 |
…dd known parameters
|
@smribet See new tutorial notebook on hyperparameter optimization! |
This PR introduces a unified API for the following 5
deconvolution_kernels:In addition, the PR does the following:
HyperparameterStatewith knowledge of the optimized / fixed parameters, e.g.Added simple StreamingParallax implementation -- mostly for reference, see writeup here Parallax UDF LiberTEM/LiberTEM#1788
Added ability to estimate the spectral SNR and Fourier shell correlation (FSC) using two half-set reconstructions by check-boarding the BF mask. It seems to mostly agree with the analytical expressions on white-noise objects
Updated tutorial notebooks updating notebooks with latest refactor quantem-tutorials#2 ready to be merged once this is merged