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.
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.