talensgj / jwst

Python library for science observations from the James Webb Space Telescope
https://jwst-pipeline.readthedocs.io/en/latest/
Other
1 stars 0 forks source link

Kernel and irregular grid #19

Closed AntoineDarveau closed 2 years ago

AntoineDarveau commented 2 years ago

About convolution kernels: Use the solution given by get_trace_1d to estimate the pixel wavelength in 1D instead of using the 2d map. Add a threshold to WebbKernel, so it is easier to make sure that the whole kernel is used when building the convolution matrix.

About irregular grid: New way to define the grid use to model and extract the detector. Use an irregular grid based on the estimate of the spectrum. The grid will have a finer sampling on the parts of the spectrum where it's necessary.