Eureka icon indicating copy to clipboard operation
Eureka copied to clipboard

[Enhancement]: Straighten trace using more sophisticated techniques

Open kevin218 opened this issue 7 months ago • 0 comments

Instrument

NIRSpec (Stages 1-3)

What is your suggestion?

In straighten.find_column_median_shifts(), we currently apply a center of mass calculation to determine the position of the trace in each column. This works well for most cases, but there are instances where it doesn't when using a calibrated NIRSpec grism spectrum (particularly for NRS2). We should consider adding other centroiding options, like max pixel, that are more robust against outliers.

Error traceback output

No response

What operating system are you using?

No response

What version of Python are you running?

No response

What Python packages do you have installed?

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

kevin218 avatar Aug 01 '24 14:08 kevin218