rockverse.dect.CalibrationMaterial#

class rockverse.dect.CalibrationMaterial(zgroup, index)[source]#

Manages calibration material information for the Monte Carlo Dual Energy Computed Tomography (DECT) processing.

Note

This class is designed to be created and managed within the main DECTGroup. It should not be called directly.

All attribute get and set operations are MPI collective. Make sure all your MPI processes call these functions when running within a parallel environment.

Parameters:
  • zgroup (zarr.hierarchy.Group) – The Zarr group where the main DECTGroup is stored.

  • index ({0, 1, 2, 3}) – The index of the calibration material.

Attributes#

description

String with material name or description.

bulk_density

Bulk density for the calibration material in grams per cubic centimeter (g/cc).

composition

Dictionary defining the chemical composition of the calibration material.

lowE_pdf

Low energy CT attenuation probability density function (PDF).

lowE_cdf

Low energy CT attenuation cumulative density function (CDF).

highE_pdf

High energy CT attenuation probability density function (PDF).

highE_cdf

High energy CT attenuation cumulative density function (CDF).

Methods#

as_dict()

Outputs a dictionary containing the class attributes:

hash()

Calculates the MD5 hash representation for the class instance.

check()

Checks for missing or incorrect properties in the calibration material.