Hi, I got unexpected results when DRP transformed the 2D sky-subtracted frame into 3D cubes. In some of the pixels, the emission line features are extremely strong (~50K), almost reaching the saturation limit. For whatever reasons, the transformed 3D cubes have much lower flux (nearly zero to negative) than expected in the edge of the emission lines. We suspect it has something to do with the interpolation scheme in making the cubes. Could you please have a look at it?
An example is attached. For an easy comparison, the icube is flattened to 2D frame using the kcwi_flatten_cube.pro in the IDL version. As you can see, the flattened frame has some weird patterns in the edge of the emission lines, while similar features are not found in the original intk frame.
Hi, I got unexpected results when DRP transformed the 2D sky-subtracted frame into 3D cubes. In some of the pixels, the emission line features are extremely strong (~50K), almost reaching the saturation limit. For whatever reasons, the transformed 3D cubes have much lower flux (nearly zero to negative) than expected in the edge of the emission lines. We suspect it has something to do with the interpolation scheme in making the cubes. Could you please have a look at it?
An example is attached. For an easy comparison, the icube is flattened to 2D frame using the kcwi_flatten_cube.pro in the IDL version. As you can see, the flattened frame has some weird patterns in the edge of the emission lines, while similar features are not found in the original intk frame.
Thanks!
![intk](https://user-images.githubusercontent.com/33030986/145897273-00677be5-0a97-4b32-978b-1d9d01185cab.png)