mantidimaging.core.utility.unit_conversion module
-
class mantidimaging.core.utility.unit_conversion.UnitConversion(data_to_convert: ndarray | None = None)[source]
Bases: object
-
angstrom: float = 1e-10
-
check_data() → None[source]
-
data_offset: float = 0
-
mega_electro_volt: float = 1.6021766200000002e-25
-
neutron_mass: float = 1.674927211e-27
-
planck_h: float = 6.62606896e-34
-
set_data_offset(data_offset: float) → None[source]
-
set_data_to_convert(data_to_convert: ndarray) → None[source]
-
target_to_camera_dist: float = 56
-
tof_data_to_convert: ndarray
-
tof_seconds_to_energy() → ndarray[source]
-
tof_seconds_to_us() → ndarray[source]
-
tof_seconds_to_wavelength_in_angstroms() → ndarray[source]
-
velocity: ndarray