Keck-DataReductionPipelines / KCWI_DRP

KCWI python DRP
BSD 3-Clause "New" or "Revised" License
8 stars 12 forks source link

Interpolation problems in making the cubes #117

Open zhuyunz opened 2 years ago

zhuyunz commented 2 years ago

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! icube_2d intk

MNBrod commented 2 years ago

We are taking a look at this, and will respond here once we have something.