nmt28 / C-SHELPh

Apache License 2.0
11 stars 6 forks source link

Consider switching interpolation to bumpy #5

Closed nmt28 closed 1 year ago

nmt28 commented 1 year ago

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)

nmt28 commented 1 year ago

Existing method is most appropriate