yChiCoeffArrEnergies

fiducia.cspline.yChiCoeffArrEnergies(energyNorms, chLen, dToY)[source]

This is the matrix corresponding to:

\[M_y(t) + 3 M_D(t) \chi_1^{-1} \chi_3\]

which describes the cubic spline interpolation of the x-ray spectrum.

energyNorms: numpy.ndarray

Vector of normalized photon energies.

chLen: int

Number of DANTE channels (equal to number of spline knots).

dToY: numpy.ndarray

Matrix for converting from \(D_i\) to \(y_i\) values in cubic spline interpolation. See dToyArr().

Returns

yChiArrEnergies – Returns a 3D matrix composed of a series of 2D yChiCoeff matrices corresponding to the given energyNorm values. This matrix is indexed as (energyNorms, knotIndex, knotIndex).

Return type

numpy.ndarray

Notes

The matrix is given by:

\[M_y(t) + 3 M_D(t) \chi_1^{-1} \chi_3\]

Examples