hexrd.instrument.physics_package module

class hexrd.instrument.physics_package.AbstractPhysicsPackage(sample_material=None, sample_density=None, sample_thickness=None, pinhole_material=None, pinhole_density=None, pinhole_thickness=None, pinhole_diameter=None, **kwargs)[source]

Bases: object

abstract class for the physics package. there will be two separate physics package class types – one for HED samples and the other for HEDM samples.

Parameters

sample_materialstr or hexrd.material.Material

either the formula or a hexrd material instance

sample_densityfloat

density of sample material in g/cc

sample_thicknessfloat

sample thickness in microns

sample_geometryFIXME

FIXME

pinhole_materialstr or hexrd.material.Material, optional

either the formula or a hexrd material instance

pinhole_densityfloat

density of pinhole material in g/cc

pinhole_thicknessfloat

pinhole thickness in microns

pinhole_diameterfloat

pinhole diameter in microns

window_materialstr or hexrd.material.Material

either the formula or a hexrd material instance

window_densityfloat

density of window material in g/cc

window_thicknessfloat

window thickness in microns

Notes

[1] Rygg et al., X-ray diffraction at the National

Ignition Facility, Rev. Sci. Instrum. 91, 043902 (2020)

[2] M. Stoeckl, A. A. Solodov

Readout models for BaFBr0.85I0.15:Eu image plates Rev. Sci. Instrum. 89, 063101 (2018

absorption_length(energy, flag)[source]
property attributes_to_serialize
deserialize(**kwargs)[source]
pinhole_absorption_length(energy)[source]
property pinhole_density
property pinhole_diameter
property pinhole_material
property pinhole_radius
property pinhole_thickness
sample_absorption_length(energy)[source]
property sample_density
property sample_material
property sample_thickness
serialize()[source]
abstract property type
class hexrd.instrument.physics_package.HEDMPhysicsPackage(**pp_kwargs)[source]

Bases: AbstractPhysicsPackage

property attributes_to_serialize
property sample_diameter
property sample_geometry
property type
class hexrd.instrument.physics_package.HEDPhysicsPackage(**pp_kwargs)[source]

Bases: AbstractPhysicsPackage

property attributes_to_serialize
property type
window_absorption_length(energy)[source]
property window_density
property window_material
property window_thickness