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

Reading "random groups" #192

Open aplavin opened 8 months ago

aplavin commented 8 months ago

FITSIO.jl is missing random group HDU reading, a format widely used in some fields such as radiointerferometry. Until recently, I was using astropy through PyCall for that. A few days ago, I implemented basic groups reading in https://github.com/JuliaAPlavin/VLBIData.jl/blob/master/src/grouphdu.jl. I tested that it gives the exact same results as astropy on thousands of (similar) fits files, so it works. Some cleaning and deciding on the output format would be needed in order to include it into FITSIO.jl itself. If someone gets to this before myself, please do!