Since images have the element type in the header (and this is something that CFITSIO converts to a Julia type), it should be possible to obtain the element type of an image HDU using something like this :
julia> FITS("V_kw.fits", "r") do f
eltype(f[1])
end
Currently this returns Any, but a suitable method may be added to return the correct element type.
Since images have the element type in the header (and this is something that CFITSIO converts to a Julia type), it should be possible to obtain the element type of an image HDU using something like this :
Currently this returns
Any
, but a suitable method may be added to return the correct element type.