CTL
0.6.1
Computed Tomography Library
|
Public Member Functions | |
RadiationEncoder (const SimpleCTSystem *system) | |
void | assignSystem (const SimpleCTSystem *system) |
IntervalDataSeries | finalSpectrum (uint nbSamples) const |
IntervalDataSeries | finalSpectrum (EnergyRange range, uint nbSamples) const |
double | finalPhotonFlux () const |
float | photonsPerPixelMean () const |
float | photonsPerPixel (uint module) const |
std::vector< float > | photonsPerPixel () const |
float | detectiveQuantumEfficiency () const |
float | detectiveMeanEnergy () const |
const SimpleCTSystem * | system () const |
Static Public Member Functions | |
static SpectralInformation | spectralInformation (AcquisitionSetup setup, float energyResolution=0.0f) |
Private Attributes | |
const SimpleCTSystem * | _system |
Pointer to system whose radiation shall be encoded. | |
void CTL::RadiationEncoder::assignSystem | ( | const SimpleCTSystem * | system | ) |
Assignes system to this instance.
This instance does not take ownership of system.
float CTL::RadiationEncoder::detectiveMeanEnergy | ( | ) | const |
Returns the average energy of a photon detected by the detector with respect to the incident radiation spectrum and the spectral response model of the detector.
float CTL::RadiationEncoder::detectiveQuantumEfficiency | ( | ) | const |
Returns the average detective quantum efficiency of the detector. This value represents the fraction of incoming photons (distributed w.r.t. to the incident radiation spectrum) that is detected by the detector, considering the spectral response model of the detector.
Thus, the number of detected photons per pixel (averaged over modules) would compute as: photonsPerPixelMean() * detectiveQuantumEfficieny().
double CTL::RadiationEncoder::finalPhotonFlux | ( | ) | const |
Returns the final photon flux (i.e. photons per cm² in 1m distance) of the system. This considers all properties of the source component as well as all modifications caused by beam modifiers (e.g. filters).
IntervalDataSeries CTL::RadiationEncoder::finalSpectrum | ( | uint | nbSamples | ) | const |
Returns the final radiation spectrum of the system. This considers the original spectrum emitted by the source component as well as all modifications caused by beam modifiers (e.g. filters).
The spectrum will by samples with nbSamples points over the interval defined by the energyRange() method of the source component.
IntervalDataSeries CTL::RadiationEncoder::finalSpectrum | ( | EnergyRange | range, |
uint | nbSamples | ||
) | const |
Returns the final radiation spectrum of the system. This considers the original spectrum emitted by the source component as well as all modifications caused by beam modifiers (e.g. filters).
The spectrum will by samples with nbSamples points equally distributed over the interval specified by range.
float CTL::RadiationEncoder::photonsPerPixel | ( | uint | module | ) | const |
Returns the average number of photons that incide on a detector pixel in module module.
std::vector< float > CTL::RadiationEncoder::photonsPerPixel | ( | ) | const |
Returns the average numbers of photons that incide on a detector pixel for all modules.
float CTL::RadiationEncoder::photonsPerPixelMean | ( | ) | const |
Returns the number of photons that incide on a detector pixel averaged over all detector modules.