Open pmk-LANL opened 3 years ago
Unordered knots can temporarily be handled by manually changing order of list of channels input into functions.
For example
# Here channel 11 has been placed at the end because it has a high energy knot point
channels = [2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 14, 11]
Sometimes knot photon energies aren't in the same order as increasing channel number and this causes the spline function to integrate backwards in certain sections. Best place to do this is probably in
segmentsArr()
.