-
Notifications
You must be signed in to change notification settings - Fork 3
/
README
27 lines (25 loc) · 1.7 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
fits2image - Shared library for converting fits files to jpeg, scaling them, etc
The fits2image package provides common libraries for the frame_database and telops
v 0.1.0 - Initial version with conversion code from frame_database
v 0.1.1 - Changed the fits_to_* functions to return False if they fail (and log warnings), otherwise return True
- Added a quality parameter for jpeg conversion quality for fits_to_* functions
v 0.1.2 - Changed behaviour to automatically use the first quadrant of a data cube, instead of crashing
v 0.1.3 - If zmax/zmin calculated to be the same, give them a slit offset to avoid dividing by zero
v 0.1.4 - Check if path exists and create it if not before saving file with pillow.
v 0.1.5 - Fix problem creating paths
v 0.2.0 - Add color image support. fits_2_image now accepts list of images, and if will stack them if the list
is of length 3 and the color=True parameter is set. Expects order to be RVB.
v 0.2.1 - Remove cosmic ray removal which slows down image generation considerably and misrepresents the actual data
- Remove median filter which slows down image generation
v 0.3.0 - Add median filter support
v 0.3.1 - Add support for multi extension fits files
v 0.3.2 - Fix bug in multi extension fits handling
V 0.4.0 - Use astropy instead of cfitsio
V 0.4.2 - Remove dependency on filesystem paths
V 0.4.3 - Fix memory leak
V 0.4.4 - Fix for images where the zeroth HDU has shape (0,0)
V 0.4.5 - Add github actions to push to PyPI
V 0.4.6 - No functional change
V 0.4.7 - No functional change
V 0.4.8 - Add fits_to_tif and fits_to_jpg convenience functions
V 0.4.9 - Allow fits_to_img to take a list of zmin and zmax parameters (one for each color channel) when creating an RGB stack.