Skip to main content

Process FITS files

Project description

This package provides a Jupyter notebook for reducing CCD data.

Documentation is at: https://reducer.readthedocs.org

http://img.shields.io/badge/powered%20by-AstroPy-orange.svg?style=flat:target:http://astropy.org

Please provide feedback

Comments are very, very much welcome. Please comment by making a new issue on Github (if, by chance, a reasonably senior academic is using this, you can send feedback by email; anyone else should really create a github account so you can make an issue :)).

Installation

Note about IPython/Jupyter version support: Version 0.3 and higher of reducer works with IPython 4/Jupyter. Version 0.1 works with IPython 2, and Version 0.2.x work with IPython 3 or IPython 4/Jupyter. No improvements to reducer will be backported to version 0.1.x/IPython 2 or to 0.2.x/IPYthon 3. Feel free to fork if you need that!

You need python (2.7, or 3.4 or higher) and the SciPy stack. The easiest way to the get the full stack is from a distribution like anaconda.

On Windows it will be easiest to install using the Anaconda Python distribution and conda (because everything has been compiled for you).

To install using conda:

conda install -c conda-forge -c astropy reducer

If you prefer, you can install with pip in any python distribution (but may end up compiling some of the dependencies):

pip install reducer

You can, if you want, grab the source on github (there is a “Download as ZIP” link on the right you can use if you don’t want to mess git), change into the source directory, and run python setup.py install.

Usage

This package doesn’t magically do your reduction for you. Instead, it creates a template jupyter notebook that leads you through data reduction. When you are done you have reduced your data and you have a notebook that allows you or someone else to reproduce your work.

In a terminal, navigate to the directory where you want to keep the notebook for doing your reduction (which does not have to be the same directory where the data is, though it can be), then type:

reducer

This will create a new template notebook. To open the notebook, type in a terminal:

jupyter notebook

A browser window will open; the notebook you want is named “reduction.ipynb”. Click on it, then just do what it says in the notebook and reduced data (and someday photometry!) will be yours.

Under the hood

If you look at the source code you’ll notice pretty quickly that there is no actual science code. Think of this as the glue that brings together a couple related packages:

  • ccdproc for the actual data reduction.

  • astropy for lots of the underlying structure .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reducer-0.8.1.tar.gz (11.7 MB view details)

Uploaded Source

Built Distribution

reducer-0.8.1-py2.py3-none-any.whl (11.7 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file reducer-0.8.1.tar.gz.

File metadata

  • Download URL: reducer-0.8.1.tar.gz
  • Upload date:
  • Size: 11.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for reducer-0.8.1.tar.gz
Algorithm Hash digest
SHA256 957b14ba27f73795960b9be3c94ab93bc1277be487ef969e909fa03893ae13f7
MD5 c967b38ecae21a19d1eeca0bfdfc7c8d
BLAKE2b-256 c68ae438eabe9a06d594bd4defcfab407d2e3b8611ec08578df383008bfeabf4

See more details on using hashes here.

File details

Details for the file reducer-0.8.1-py2.py3-none-any.whl.

File metadata

  • Download URL: reducer-0.8.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 11.7 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for reducer-0.8.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a49c440b54e19f60a25a83349711a0681dd4dfb210babcdcf8c77d71ef665f79
MD5 5f37d50d02c554774b3d7a7a33673049
BLAKE2b-256 da052a8f4a1a96a0883e6fd1550f247e4af97a5029bdffb3fd926450be4cf9f1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page