Fitsio

Latest version: v1.2.4

Safety actively analyzes 682487 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 6

1.1.3

---------------------------------

This release moves to cfitsio 3.49, which has bug fixes and now properly
supports reading certain classes of lossless compressed files

New Features

- Added keywords to control compression
- qlevel control the quantization level
- qmethod set the quantization method
- hcomp_scale, hcomp_smooth HCOMPRESS specific settings

A nice result of this is that one can do lossless gzip compression
(setting qlevel=0) and
- Work around some types of garbage characters that might appear
in headers

BACKWARDS INCOMPATIBLE CHANGES

- non-ascii junk in headers is replaced by ascii characters to
avoid segmentation faults in the python standard library
when non-unicode characters are detected. This will cause
codes that check for consistency between copied headers
to fail, since the header data is modified.

Bug Fixes

- Write integer keywords using the long long support rather than long
- Fix bug where a new file is started and the user can access a
fictional HDU, causing book keeping problems
- Return zero length result when requested rows have
zero length (rainwoodman)

1.1.2

---------------------------------

Bug Fixes

- Fixed deprecation warnings for extra keyword arguments.
- Fixed SyntaxWarning: "is" with a literal (Michka Popoff)

1.1.1

---------------------------------

Bug Fixes

- Fix bug in drvrnet.c in printf statement, causing compile
issues on some systems.

1.1.0

---------------------------------

Bumping the minor version due to the update of the cfitsio version

This reverts to the behavior that compression settings are set as a toggle,
which is the cfitsio convention. The user needs to turn compression on and off
selectively. The alternative behavior, introduced in 1.0.1, broke the mode
where compression is set in the filename, as well as breaking with convention.

New Features

- Updated to cfitsio version 3.470 (261)
- Add ability to stride (step value) when slicing (Dustin Jenkins)
- Add feature to flip along axis when slicing (Dustin Jenkins)
- Feature to ignore image scaling (Dustin Jenkins)

Bug Fixes

- Fix error reading with an empty rows argument (rainwoodman)
- Fix bug when reading slice with step, but no start/stop (Mike Jarvis)
- Fix bug with clobber when compression is sent in filename


Deprecations

- Removed the use of `**kwargs` in various read/write routines. This
pattern was causing silent bugs. All functions now use explicit
keyword arguments. A warning will be raised in any keyword arguments
are passed. In version `1.2`, this warning will become an error.

1.0.5

---------------------------------

Bug Fixes

- fixed bug getting `None` keywords
- fixed bug writing 64 bit images (256, 257)
- fixed HISTORY card value not being read

1.0.4

---------------------------------

New Features

- support for empty keywords in header, which are supported
by the standard and are used for cosmetic comments

Bug Fixes

- Fix for inserting bit columns and appending data with bitcols
- deal with non-standard header values such as NAN
[by returning as strings
- fixed many bugs reading headers; these were a casualty of
the header reading optimizations put in for 1.0.1

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.