epsic_tools package

Subpackages

Submodules

epsic_tools.api module

Created on Fri Feb 14 14:46:57 2020

@author: gys37319

epsic_tools.build_params module

Created on Fri Feb 14 13:51:27 2020

@author: gys37319

class epsic_tools.build_params.NestedDefaultDict(*args, **kwargs)[source]

Bases: collections.defaultdict

Initialisation of nested dictionary

epsic_tools.build_params.init_ptyrex()[source]

Builds a dictionary of default parameters required for a ptyrex json file

params : dict of parameters

epsic_tools.ptychography2D module

Created on Fri Feb 14 13:37:55 2020

@author: gys37319

class epsic_tools.ptychography2D.Ptychography2D[source]

Bases: object

Ptychography object

get_base_dir()[source]
get_convergence()[source]
get_data_key()[source]
get_data_path()[source]
get_dead_px_flag()[source]
get_dead_px_path()[source]
get_decay()[source]
get_defocus()[source]
get_detector_bin()[source]
get_detector_crop()[source]
get_detector_min_max()[source]
get_detector_optic_axis()[source]
get_detector_pos()[source]
get_energy()[source]
get_experiment_ID()[source]
get_flat_field_flag()[source]
get_flat_field_path()[source]
get_gpu_flag()[source]
get_interaction()[source]
get_iterations()[source]
get_load_data_flag()[source]
get_load_object_flag()[source]
get_load_object_path()[source]
get_load_probe_flag()[source]
get_load_probe_path()[source]
get_n_cores()[source]
get_probe_alpha()[source]
get_probe_start()[source]
get_px_pitch(val)[source]
get_save_dir()[source]
get_save_interval()[source]
get_save_prefix()[source]
get_scan_refine_start()[source]
get_scan_region(val)[source]
get_scan_rotation()[source]
get_scan_size()[source]
get_scan_step()[source]
get_source_modes()[source]
load_recon(fn)[source]
load_series(pn, crop_to, sort_by='rot', blur=0, verbose=False, plot_me=True)[source]
save_json(file_path)[source]
set_base_dir(val)[source]
set_convergence(val)[source]
set_data_key(val)[source]
set_data_path(val)[source]
set_dead_px_flag(val)[source]
set_dead_px_path(val)[source]
set_decay(val)[source]
set_defocus(val)[source]
set_detector_bin(val)[source]
set_detector_crop(val)[source]
set_detector_min_max(val)[source]
set_detector_optic_axis(val)[source]
set_detector_pos(val)[source]
set_energy(val)[source]
set_experiment_ID(val)[source]
set_flat_field_flag(val)[source]
set_flat_field_path(val)[source]
set_gpu_flag(val)[source]
set_interaction(val)[source]
set_iterations(val)[source]
set_load_data_flag(val)[source]
set_load_object_flag(val)[source]
set_load_object_path(val)[source]
set_load_probe_flag(val)[source]
set_load_probe_path(val)[source]
set_n_cores(val)[source]
set_probe_alpha(val)[source]
set_probe_start(val)[source]
set_px_pitch(val)[source]
set_save_dir(val)[source]
set_save_interval(val)[source]
set_save_prefix(val)[source]
set_scan_refine_start(val)[source]
set_scan_region(val)[source]
set_scan_rotation(val)[source]
set_scan_size(val)[source]
set_scan_step(val)[source]
set_source_modes(val)[source]
epsic_tools.ptychography2D.is_number(s)[source]

checks if input is a number

s: input

True or False

Module contents