tomoscan.esrf.scan.fluoscan.FluoTomoScan#
- class tomoscan.esrf.scan.fluoscan.FluoTomoScan(scan, dataset_basename, detectors=(), skip_angle_inds=None, dtype=<class 'numpy.float32'>, verbose=False, angles=None, el_lines=<factory>, pixel_size=None, energy=None)#
Bases:
object
Dataset manipulation class.
- __init__(scan, dataset_basename, detectors=(), skip_angle_inds=None, dtype=<class 'numpy.float32'>, verbose=False, angles=None, el_lines=<factory>, pixel_size=None, energy=None)#
Methods
__init__
(scan, dataset_basename[, ...])detect_detectors
()detect_elements
()detect_pixel_size_and_energy
()detect_rot_angles
()from_identifier
(identifier)Return the Dataset from a identifier
return the dataset identifier of the scan.
load_data
(det, element[, line_ind])Attributes
angles
detectors
energy
pixel_size
rot_angles_deg
- rtype
ndarray
[Any
,dtype
[TypeVar
(ScalarType
, bound=generic
, covariant=True)]]
rot_angles_rad
- rtype
ndarray
[Any
,dtype
[TypeVar
(ScalarType
, bound=generic
, covariant=True)]]
skip_angle_inds
verbose
scan
dataset_basename
el_lines
- dtype#
alias of
float32
- static from_identifier(identifier)#
Return the Dataset from a identifier
- get_identifier()#
return the dataset identifier of the scan. The identifier is insure to be unique for each scan and allow the user to store the scan as a string identifier and to retrieve it later from this single identifier.
- Return type