An open API service indexing awesome lists of open source software.

https://github.com/simonrw/daskfitsio

Wrapper around `fitsio.ImageHDU` creating a `dask.Array`
https://github.com/simonrw/daskfitsio

Last synced: about 1 year ago
JSON representation

Wrapper around `fitsio.ImageHDU` creating a `dask.Array`

Awesome Lists containing this project

README

          

==========
daskfitsio
==========

.. image:: https://travis-ci.org/mindriot101/daskfitsio.svg?branch=master
:target: https://travis-ci.org/mindriot101/daskfitsio
.. image:: https://landscape.io/github/mindriot101/daskfitsio/master/landscape.svg?style=flat
:target: https://landscape.io/github/mindriot101/daskfitsio/master
:alt: Code Health

Wrapper around ``fitsio.ImageHDU`` creating a ``dask.Array``.

Quickstart
----------

.. code-block:: python

>>> with fitsio.FITS(fname) as infile:
... hdu = infile[0]
... data = df.read_hdu(hdu, chunks=(10, 10))
... print(data.mean(axis=1).compute())
...