JuliaAstro / FITSIO.jl

Flexible Image Transport System (FITS) file support for Julia
http://juliaastro.org/FITSIO.jl/
MIT License
55 stars 29 forks source link

Obtain eltype of an ImageHDU #148

Closed jishnub closed 3 years ago

jishnub commented 3 years ago

Fixes #147

Now

julia> FITS("temp.fits", "w") do f
       write(f, zeros(Int32, 2))
       end

julia> FITS("temp.fits", "r") do f
       eltype(f[1])
       end
Int32