Open rmcgranaghan opened 5 years ago
The negative slant ranges are coming from pixels near the horizon, which are poorly fit to the skymap. I will make a parameter to censor these values, which are generally of little utility due to their large angular error. We have been doing this in our private analysis, but this should be the usual practice for anyone using this data.
There are newer robust calibration techniques using Astrometry.net that may allow a better calibration of these low-elevation pixels, should some future analysis need.
I am running into an error attempting to use 'plots.asi_projection' in which negative slant range values are being produced and the code is throwing an error because slant range should be in the range [0,infinity). Below is the code that will reproduce the error. Note that the data I am reading in lacks an 'alt_km' attribute, which is needed by 'asi_projection', so I am manually setting that attribute. I am uncertain whether it is my error that is causing negative slant ranges or if a check for these non-physical ranges is needed.