yCoeffArr

fiducia.cspline.yCoeffArr(energyNorm, chLen)[source]

Returns the matrix M_y(t) for a given value of t in:

\[Y_i(t) = M_y(t) y_i + M_D(t) D_i\]
Parameters
  • energyNorm (float) – normalized photon energy for a spline section.

  • chLen (int) – Number of DANTE channels (equal to number of spline knots).

Returns

mArr – Sparse matrix \(M_y(t)\).

Return type

scipy.sparse.lil.lil_matrix

Notes

Examples