Keck-DataReductionPipelines / KCWI_DRP

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

documentation of explaining the output files from KCWI DRP (python version) #57

Closed geoffcfchen closed 3 years ago

geoffcfchen commented 3 years ago

I use the new KCWI DRP to reduce the data. It outputs not only the xxx_icube.fits data cube but also XX_icubed.fits and XXX_icubew.fits. I am trying to understand what that means but I cannot find the explanation on the website (even in the old version here: https://github.com/Keck-DataReductionPipelines/KcwiDRP/blob/master/DATA_PRODUCTS). Do you know where I can find the documentation that explains all the output files? which one is the final datacube I should use? Thanks.

lucarizzi commented 3 years ago

Geoff,

I will make sure that we have a page describing this soon, but for the time being, here is the answer:

icubed has been corrected for differential atmospheric dispersion icubew has been corrected for helio/barycentric correction and transferred to vacuum wavelengths icubes has been flux calibrated if possible

so the answer to which cube you should use depends on whether or not you are applying the wavelength correction to vacuum and whether or not you are applying flux calibration.

If you are applying both, then the cube to use is icubes

geoffcfchen commented 3 years ago

Hi Luca,

In the output file directory, I only see kb210507_00037_icube.fits, kb210507_00037_icubed.fits kb210507_00037_icubew.fits

I did not see kb210507_00037_icubes.fits file, so when you say icubes.fits, do you mean icube.fits?

lucarizzi commented 3 years ago

No I actually mean icubes. If you don’t see then it means you are not performing flux calibration which is ok. In this case your final output is the cubew

On May 13, 2021, at 7:36 AM, Geoff C.-F. Chen @.***> wrote:

 Hi Luca,

In the output file, I only see kb210507_00037_icube.fits, kb210507_00037_icubed.fits kb210507_00037_icubew.fits

I did not see icubes.fits file, so I am assuming that when you say icubes.fits, it means icube.fits?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or unsubscribe.