Initializer#
- class ptyrad.initialization.Initializer(init_params, seed=None, verbose=True)[source]#
Bases:
objectMethods
__init__(init_params[, seed, verbose])init_H()Initialize the near-field Fresnel propagator for multislice ptychography
init_all()init_cache()Check if the source paths are the same, if so, we may cache that field to reduce file loading time
init_calibration()init_check()init_measurements()init_obj()Initialize the object by loading and processing it.
init_obj_tilts()Initialize the object crystal tilts.
init_omode_occu()Initialize the mixed-state object mode occupancy so each mode has a fixed weight
init_pos()Initialize the probe positions by loading and processing them.
init_probe()Initialize the probe by loading or simulating and then processing it.
print_init_params()Print the current init_params in the Initialzier object
set_variables_dict()