Closed jmangum closed 2 years ago
Checked CubeLineMoment
and I think that this warning about ds9 regions to select spatial regions to process not working is out-of-date. The cuberegion
and cutoutcuberegion
ds9 files are used to mask cube
and cutoutcube
. For example:
# cut out a region that only includes the Galaxy (so we don't have to worry
# about masking later)
if cuberegion is not None:
try:
cube = cube.subcube_from_regions(regions.read_ds9(cuberegion))
except AttributeError:
cube = cube.subcube_from_regions(regions.Regions.read(cuberegion))
Will fix this with next README.md
update.
I don't now recall what the first step in the
Readme.md
is referring to:We use
cuberegion
andcutoutcuberegion
, which sounds like this option. I don't think that the warning about it not working is correct any more, though.