astrorama / SourceXtractorPlusPlus

SourceXtractor++, the next generation SExtractor
https://astrorama.github.io/SourceXtractorPlusPlus/
GNU Lesser General Public License v3.0
72 stars 9 forks source link

DataCube support #502

Closed marcschefer closed 1 year ago

marcschefer commented 1 year ago

Example to load a whole data cube (with matching psf files in this case):

g1 = load_fits_data_cube('cube.fits', sorted(glob('sim11_g_??.psf')))

to load individual slices: DataCubeSlice('cube.fits', "nopsf", image_layer=3)

ayllon commented 1 year ago

Do we want to have datacubes on the check images or that is an overkill?

ayllon commented 1 year ago

Do we want to have datacubes on the check images or that is an overkill?

I answer myself. We do not do MEF check-images anyway.