- Julia v1.0 is required.
- Upgrade CFITSIO library to v3.45.
- Drop support for Julia 0.5.
- Column names in FITS files are now case sensitive by default. Functions
read(hdu, colname)
andLibcfitsio.fits_get_colnum
have a new optional keyword,case_sensitive
, which istrue
by default.
- Drop support for Julia 0.4.
- Methods now accept
String
and, for strings written to the FITS file, an error is raised for non-ASCII strings. - New
write_key()
function for writing to an HDU header. - Homebrew.jl used for libcfitsio dependency on OS X.
- Remove extra newline from
show
output. - Fix some deprecation warnings on Julia 0.7.
- Inline docstrings and HTML documentation generated with Documenter.jl.
- Add
FITS(::Vector{UInt8})
constructor: support for memory-backed files. - Add support for
FITS("file.fits") do f; ...; end
, which automatically closes the file at the end of the block. - Add Libcfitsio functions:
fits_read_key_str
,fits_read_key_lng
,fits_read_keys_lng
,fits_write_date
low-level functions. - Error message from opening a file now includes file name.
- Fix deprecation warnings on Julia 0.6.
- Drop support for Julia 0.3.
- Fix deprecation warnings on v0.5
- Remove BUNIT from reserved header keywords
- enable precompilation
- Fix deprecation warnings on v0.4
- Windows support (32-bit & 64-bit), thanks to help from Tony Kelman (requires master of BinDeps)
- New method
read_header(hdu, ASCIIString)
returns entire header as a single string. - bump cfitsio version from 3.360 to 3.370
- fix
show()
for an empty FITS file. - fix several issues with
Clong
on 64-bit Windows.
- Read and write variable length columns in binary tables.
- Iterate over HDUs in a file with
for hdu in f; ...; end
- Improved
show()
methods give more and better information forFITS
andHDU
types. - Write name and version of HDU when creating a new HDU with
name
andver
keywords. - New function
FITSIO.libcfitsio_version()
(unexported) returns CFITSIO library version.
Libcfitsio.fits_read_num_rowsll
deprecated. UseLibcfitsio.fits_read_num_rows
.
- Read and write table extensions (both ASCII and binary) in high-level API.
The low-level API functions (starting with fits_*
) have been moved to
the Libcfitsio
sumodule. If you are using these functions, simply add
using FITSIO.Libcfitsio
in place of, or in addition to, using FITSIO
.
readkey
renamed toread_key
readheader
renamed toread_header
getcomment
renamed toget_comment
setcomment!
renamed toset_comment!
hdu[i:j, :]
replaced byread(hdu, i:j, :)
for reading subsets of image extensions.
In the low-level interface (now in Libcfitsio
):
-
fits_get_col_repeat
deprecated. Usefits_get_coltype
, which returns the column typecode in addition to width and repeat values. -
Methods of
fits_read_col
andfits_write_col
specifying the type explicitly are deprecated because the type is redundant. Simply remove the explicit type argument.
- Cleanup and correction of type specifications (e.g.,
Cint
in place ofInt32
,ASCIIString
in place ofString
)