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

Feature tracker #37

Open kbarbary opened 9 years ago

kbarbary commented 9 years ago

This is an issue to track some obvious features that should be added. My guess is that they will be added gradually over time as needed, but in a backwards-compatible manner.

General

Headers

Images

Tables

jishnub commented 5 years ago

read! has been implemented now that #122 is merged

mileslucas commented 4 years ago

Possible feature (I'm not sure if functionality exists in cfitsio) write!(hdu, data) write!(fits, i, data) to overwrite the data in a given HDU. Currently the only option is to append a new HDU.

jishnub commented 3 years ago

Currently we check the strides of the array to determine if the memory layout is contiguous. This is too conservative, but I don't know of a workaround right now other than using a Union of compatible types. For example, this means that currently writing out something like a Transpose is not supported even if the memory layout of its parent is contiguous and cfitsio supports this.

Keeping julia#10889 in mind, we may eventually use a trait-based check for contiguity instead of a strides-based approach as in the case now.