Releases: cds-astro/fitsrs
Releases · cds-astro/fitsrs
v0.4.0
What's Changed
- Fix various Clippy warnings + run cargo fmt by @RReverser in #26
- Data offset in hdu by @prutschman-iv in #28
- Fix-select-fields-order by @RReverser in #35
- Create a CLI by @fxpineau in #30
- Simplify num pixels assertions in tests by @RReverser in #32
- Remove separate naxis fields by @RReverser in #33
- Serde integration by @RReverser in #34
- Improve tile compressed pixel access API by @bmatthieu3 in #38
New Contributors
- @prutschman-iv made their first contribution in #28
- @fxpineau made their first contribution in #30
Full Changelog: 0.3.2...0.4.0
0.3.2
- raw_bytes method on ImageData and BinaryTableData to access the raw bytes slice &[u8] (for cursor wrapped readers)
0.3.1
fitsrs v0.3.0
0.3.0
Features:
- Provide an iterator over the HDU list
- #16: Parsing of comments, history, continued, card as enum.
- #20 Basic support of Bintable
- #20 Faster parsing using the benefit of the Seek trait to skip data block not wanted
- Seek to a specific pixel in the ImageData struct
- Possibility to access the raw bytes of a binary table for cursor typed readers
- Fits is cloneable as long as the provided reader is cloneable
- #20 Tiled image convention for storing compressed images in FITS binary tables
- Compression supported, GZIP, GZIP2 and RICE on u8, i16, i32 and f32. H_compress and PLI0 are not supported
- Dithering techniques for floating point texture not well tested (test samples are welcome)
NULL_PIXEL_MASKcolumn andZMASKCMPkeyword is not supported
Breaking changes:
- The iterator over HDUs is more rust idiomatic but introduces a different usage of the API
Header.getmethod now takes a&strinstead of a[u8; 8]slice.
Bugfixes:
- Be more safe about UB [https://github.com//issues/5]. BITPIX > 8 needs to be read from BigEndian scheme. It is thus necessary to create a new owned vector from the reading bytes. For BITPIX = 8, data can be directly read from the memory without allocating anything.
fitsrs v0.2.1
Version 0.2.1 release