WebbKernel
- class jwst.extract_1d.soss_extract.atoca_utils.WebbKernel(wave_kernels, kernels, wave_trace, n_pix)[source]
Bases:
objectThe JWST kernel.
- Parameters:
- wave_kernelsndarray
Wavelength array for the kernel. Must have same shape as kernels.
- kernelsndarray
Kernel for throughput array. Dimensions are (wavelength, oversampled pixels). Center (approx. max throughput) of the kernel is at the center of the 2nd axis.
- wave_tracendarray
1-D trace of the detector central wavelengths for the given order. Since kernels are originally defined in the pixel space, this is used to convert to wavelength space.
- n_pixint
Number of detector pixels spanned by the kernel. Second axis of kernels has shape
(n_os * n_pix) - (n_os - 1), wheren_osis the spectral oversampling factor.
Methods Summary
__call__(wave, wave_c)Return the kernel value, given the wavelength and the kernel central wavelength.
Methods Documentation
- __call__(wave, wave_c)[source]
Return the kernel value, given the wavelength and the kernel central wavelength.
Wavelengths that are out of bounds will be extrapolated.
- Parameters:
- wavendarray
Wavelength where the kernel is projected.
- wave_cndarray
Central wavelength of the kernel.
- Returns:
- outndarray
The kernel value.