Git Product home page Git Product logo

fits2image's Introduction

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

fits2image's People

Contributors

fingel avatar jnation3406 avatar markbowman avatar zemogle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

fits2image's Issues

How to use it

Hi, Can you please tell how to call this library? thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.