Currently, ref_elev, ref_azimuth and sat_alt are interpolated using my linear interpolation function. Accuracy is not perfect but assumed to be good enough given it's interpolated and changes in these values are small
An alternative would be to interpolate through all ref values by the number of photons available, although this be no more accurate and will introduce additional errors of assuming an equitable quantity of photons per segment.
However, this would get around end-flattening (where last segment has all same value)
Currently, ref_elev, ref_azimuth and sat_alt are interpolated using my linear interpolation function. Accuracy is not perfect but assumed to be good enough given it's interpolated and changes in these values are small
An alternative would be to interpolate through all ref values by the number of photons available, although this be no more accurate and will introduce additional errors of assuming an equitable quantity of photons per segment.
However, this would get around end-flattening (where last segment has all same value)