You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current API allows to build a MOCs from a set of FITS files located in a given folder:
MOC.from_fits_images(path_l, max_norder)
It is however not possible to use the same convenient method when the images are in a FITS extension. This is a case e.g. when we want to build a MOC from exposure maps which are usually not in the primary extension.
In this case we have to build MOCs for each individual file by using MOC.from_fits_image(hdu, max_norder, mask=None) and to merge them. This is a bit boring.
Having a function like this:
MOC.from_fits_dhu(path_l, hdu, max_norder)
Would be very helpful.
The text was updated successfully, but these errors were encountered:
The current API allows to build a MOCs from a set of FITS files located in a given folder:
It is however not possible to use the same convenient method when the images are in a FITS extension. This is a case e.g. when we want to build a MOC from exposure maps which are usually not in the primary extension.
In this case we have to build MOCs for each individual file by using
MOC.from_fits_image(hdu, max_norder, mask=None)
and to merge them. This is a bit boring.Having a function like this:
Would be very helpful.
The text was updated successfully, but these errors were encountered: