live module
Functions for real-time data reduction.
- live.ana(folder, ref_delay, ai=None, extension='h5', qnorm=None, qlim_azav=None, save_fname='id09_azav.h5', force=False, npt=600, method='csr', unit='q_A^-1', normalization_factor=1.0, mask=None, dark='auto', flat=None, solid_angle=True, polarization_factor=0.99, variance=None, error_model='poisson', radial_range=None, azimuthal_range=None, dummy=None, delta_dummy=None, safe=True, metadata=None, dezinger_method='mask_zingers', dezinger=None, sensor_material='auto', sensor_thickness=None, sensor_density=None, sample_material=None, sample_thickness=None, sample_density=None, norm=None, qlim_datared=None, shots=None, use_ratio=False, red_chi2_max=None, pts_perc_max=None, log='id09', do_azav=True, do_datared=True, sleep_azav=0.5, sleep_datared=0.1, sleep_save=1, sleep_loop=10, plot=False, track_abs=False, track_diff=False, track_diff_t='last', qmon=None, result_callback=None, track_abs_qmon=None, track_diff_qmon=None, progress_callback=None, debug=False, verbose=True)[source]
Azimuthal average and data reduction real-time analysis.
- Parameters:
... (... parameters of integrate1d_dataset() and of datared())
do_azav (bool) – If True (default), new images are azimuthally averaged.
do_datared (bool) – If True (default), data reduction is performed on available data.
sleep_azav (float) – Sleep time before new azimuthal average.
sleep_datared (float) – Sleep time before new data reduction.
bool (plot_diffs ;) – if True, diffs patterns are plotted after every new data reduction.
track_abs (bool) – If True, abs patterns are plotted after every new azimuthal average.
qmon1
qmon2
- Return type:
… output from datared() …