ewoksid02.normalization#
Functions
|
|
|
Generate the array of the normalization correction, except the monitor value (per frame) params: - azimuthal_integrator (AzimuthalIntegrator): the azimuthal integrator object - normalization_factor (float): the normalization factor - polarization_factor (float): the polarization factor - polarization_axis (int): the polarization axis - correct_polarization (bool): if True, applies the polarization correction - absolute_solidangle (bool): if True, applies the absolute solid-angle correction - correct_solidangle (bool): if True, applies the solid-angle correction - filename_flat (str): the filename of the flat-field correction - filename_mask (str): the filename of the mask - dummy (int): if not None, the value of the dummy pixels to filter - delta_dummy (float): if dummy is not None, the tolerance around the dummy value - binning (tuple): binning of the data signal, used for binning unification - use_cupy (bool): if True, returns a cupy.asarray - datatype (str): format of the imported array, if None, datatype is respected - persistent (bool): if True, the array is cached in memory and only reloaded if the file modification time changes |
|
Generate the array of the polarization correction, eventually applying the mask and dummy pixel filtering params: - azimuthal_integrator (AzimuthalIntegrator): the azimuthal integrator object - polarization_factor (float): the polarization factor - polarization_axis (int): the polarization axis - use_cupy (bool): if True, returns a cupy.asarray - correct (bool): if True, applies the polarization correction - persistent (bool): if True, the array is cached in memory and only reloaded if the file modification time changes |
|
Generate the solid-angle array associated to an AzimuthalIntegrator. |
|