Cubic Spline Matrices (fiducia.cspline)¶
Created on Fri Mar 8 09:41:36 2019
Functions for working with cubic spline equation in matrix form.
@author: Pawel M. Kozlowski
Functions¶
|
Convert photon energy value into normalized coordinates for a particular spline region. |
|
Given a normalized energy value and the bounds of a spline segment, return the un-normalized photon energy value. |
|
Returns the matrix M_y(t) for a given value of t in: |
|
Returns the matrix M_D(t) for a given value of t in: |
|
Construct matrix for converting from \(D_i\) to \(y_i\) vector. |
|
Given a DANTE detector response as a function of energy, convert the response to normalized photon energy, t, over a given spline segment, and return interpolated response values for a given value of t. |
|
This is the matrix corresponding to: |
|
This is the matrix corresponding to: |
|
Trap rule integration of the folding between our \(M_{y \chi}\) matrix and response function matrix, with respect to normalized photon energy, for each channel. |
|
Returns the bounds of each spline segment, given the spline knot points. |
|
Matrix representing the spectrally integrated folding of the detector response with a cubic spline interpolation of the x-ray spectrum. |
|
Get knot points \(y_i\) from measured DANTE signals \(S_d\). |
|
Reconstruct the inferred DANTE spectrum given the knot points \(y_i\) obtained from knotSolve(). |