Cfitsio Toolkit - matlab.io.fits.getImgType
- :
type
=getImgType(file)
Return datatype of a Image HDU
This is the equivalent of the cfitsio fits_get_img_type function.
Inputs
file - opened fits file.
Outputs
type - datatype as a string for the image type.