hexrd.instrument.detector_coatings module

class hexrd.instrument.detector_coatings.AbstractLayer(material=None, density=None, thickness=None, readout_length=None, pre_U0=None)[source]

Bases: object

abstract class for encode information for an arbitrary planar layer of given thickness, density, and material

Parameters

materialstr or hexrd.material.Material

either the formula or a hexrd material instance

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

absorption_length(energy)[source]
property attributes_to_serialize
property density
deserialize(**kwargs)[source]
energy_absorption_length(energy)[source]
property material
serialize()[source]
property thickness
class hexrd.instrument.detector_coatings.Coating(**abstractlayer_kwargs)[source]

Bases: AbstractLayer

class hexrd.instrument.detector_coatings.Filter(**abstractlayer_kwargs)[source]

Bases: AbstractLayer

class hexrd.instrument.detector_coatings.Phosphor(**abstractlayer_kwargs)[source]

Bases: AbstractLayer

property attributes_to_serialize
property pre_U0
property readout_length