corrct.physics

Physics module.

Submodules

Package Contents

Functions

pencil_beam_profile

Compute the pencil beam integration point spread function.

Data

__author__

__email__

xraylib

get_compound

get_element_number

FluoLinesSiegbahn

VolumeMaterial

convert_energy_to_wlength

convert_wlength_to_energy

API

corrct.physics.__author__

‘Nicola VIGANÒ’

corrct.physics.__email__

‘N.R.Vigano@cwi.nl’

corrct.physics.xraylib

None

corrct.physics.get_compound[source]

None

corrct.physics.get_element_number[source]

None

corrct.physics.FluoLinesSiegbahn

None

corrct.physics.VolumeMaterial[source]

None

corrct.physics.convert_energy_to_wlength

None

corrct.physics.convert_wlength_to_energy

None

corrct.physics.pencil_beam_profile(voxel_size_um: float, beam_fwhm_um: float, profile_size: int = 1, beam_shape: str = 'gaussian', verbose: bool = False) numpy.typing.NDArray[source]

Compute the pencil beam integration point spread function.

Parameters

voxel_size_um : float The integration length. beam_fwhm_um : float The beam FWHM. profile_size : int, optional The number of pixels of the PSF. The default is 1. verbose : bool, optional Whether to print verbose information. The default is False.

Returns

NDArray The beam PSF.