nxtomomill.converter.hdf5.acquisition.baseacquisition.BaseAcquisition#
- class nxtomomill.converter.hdf5.acquisition.baseacquisition.BaseAcquisition(root_url: Optional[DataUrl], configuration: TomoHDF5Config, detector_sel_callback, start_index: int)[source]#
Bases:
objectUtil class to group several hdf5 group together and to write the data Nexus / NXtomo compliant
- __init__(root_url: Optional[DataUrl], configuration: TomoHDF5Config, detector_sel_callback, start_index: int)[source]#
Methods
__init__(root_url, configuration, ...)Return axis display for the detector data to be used by silx view
Return the expected number of nxtomo created for this acquisition.
get_z_translation_frm(root_node, n_frame, ...)is_different_sequence(entry)Can we have several entries 1.1, 1.2, 1.3.
read_entry()register_step(url, entry_type, copy_frames)Add a bliss entry to the acquisition :param url: :param entry_type:
to_NXtomos(request_input, input_callback[, ...])write_as_nxtomo(shift_entry, ...[, ...])Attributes
configurationis the acquisition expect to have a diode (instead of an energy field)
Is this an XRD-CT acquisition
Should we raise an error if we encounter or an issue or should we just log an error message
is x_translation expected
is z_translation expected
root_urlstart_index- get_expected_nx_tomo()[source]#
Return the expected number of nxtomo created for this acquisition. This is required to get consistent entry and file name. At lest for automation
- property has_diode#
is the acquisition expect to have a diode (instead of an energy field)
- is_different_sequence(entry)[source]#
Can we have several entries 1.1, 1.2, 1.3… to consider. This is the case for XRD-CT where 1.1, 1.2, 1.3 should be consider as being part of the same sequence. Not for ‘standard tomography’
- property is_xrd_ct#
Is this an XRD-CT acquisition
- property raise_error_if_issue#
Should we raise an error if we encounter or an issue or should we just log an error message
- register_step(url: DataUrl, entry_type, copy_frames) None[source]#
Add a bliss entry to the acquisition :param url: :param entry_type:
- property require_x_translation#
is x_translation expected
- property require_z_translation#
is z_translation expected