Hi. I'm trying to better understand the EISCube code-base, and was intrigued by the role of "mod_index". Is this simply to enable the WCS to be kept as a FITS-WCS object when sliced, as suggested here?
If so, there is a function in ndcube which might be helpful. It converts a sliced and/or resampled WCS back to a FITS-WCS, so long as the original WCS object was also a FITS-WCS. This could be helpful in simplifying the EISCube code base and making it easier to maintain.
But perhaps there are other uses for "mod_index" too which means it needs to be treated as it currently is?
Hi. I'm trying to better understand the
EISCubecode-base, and was intrigued by the role of"mod_index". Is this simply to enable the WCS to be kept as a FITS-WCS object when sliced, as suggested here?If so, there is a function in
ndcubewhich might be helpful. It converts a sliced and/or resampled WCS back to a FITS-WCS, so long as the original WCS object was also a FITS-WCS. This could be helpful in simplifying theEISCubecode base and making it easier to maintain.But perhaps there are other uses for
"mod_index"too which means it needs to be treated as it currently is?