hexrd.instrument.detector_coatings module
- class hexrd.instrument.detector_coatings.AbstractLayer(material: str | None = None, density: float | None = None, thickness: float | None = None, readout_length: float | None = None, pre_U0: float | None = None, formula: str | None = None)[source]
Bases:
objectabstract class for encode information for an arbitrary planar layer of given thickness, density, and material
Parameters
- materialstr
either the formula or a material name
- densityfloat
density of element in g/cc
- thicknessfloat
thickness in microns
- readout_lengthfloat
the distance of phosphor screen that encodes the information from x-rays
- pre_U0float
scale factor for phosphor screen to convert intensity to PSL
- formula: str or None
The chemical formula to use for absorption length calculations. If one is not provided, the chemical formula is assumed to be the same as the material name.
- property attributes_to_serialize
- property density
- property formula: str
- property material
- property thickness
- class hexrd.instrument.detector_coatings.Coating(**abstractlayer_kwargs)[source]
Bases:
AbstractLayer
- class hexrd.instrument.detector_coatings.Filter(**abstractlayer_kwargs)[source]
Bases:
AbstractLayer