Metadata-Version: 2.1
Name: zreion
Version: 0.2.2
Summary: A python-based method for generating cosmological reionization fields
Home-page: https://github.com/plaplant/zreion
Author: Paul La Plante
Author-email: paul.laplante@unlv.edu
License: mit
Project-URL: Documentation, https://github.com/plaplant/zreion
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Requires-Python: >=3.6
Description-Content-Type: text/markdown; charset=UTF-8
License-File: LICENSE.txt
License-File: AUTHORS.rst
Requires-Dist: numpy
Requires-Dist: cython
Requires-Dist: pyfftw
Provides-Extra: test
Requires-Dist: packaging ; extra == 'test'
Requires-Dist: pytest ; extra == 'test'
Requires-Dist: pytest-cov ; extra == 'test'
Requires-Dist: pytest-cases ; extra == 'test'

# zreion

[![build](https://github.com/plaplant/zreion/workflows/Run%20Tests/badge.svg?branch=main)](https://github.com/plaplant/zreion/actions)
[![coverage](https://codecov.io/gh/plaplant/zreion/badge.svg?branch=main)](https://codecov.io/gh/plaplant/zreion)
[![license](https://img.shields.io/github/license/plaplant/zreion)](https://opensource.org/licenses/MIT)

`zreion` is a way of quickly computing a "redshift of reionization" field using
a semi-numeric method developed in [Battaglia et
al. (2013)](https://ui.adsabs.harvard.edu/abs/2013ApJ...776...81B/abstract). The
method assumes the redshift of reionization for a particular point in a
cosmological volume is a biased tracer of the matter field, and can be written
as a parameterized bias function. For a full derivation and comparison with
simulations, see the linked paper.

## Installation

Installing the package can be performed by checking the repo out, and then running:

```
pip install .
```

Dependencies should be handled automatically by `pip` if not already installed.

## Dependencies

* setuptools >= 38.3
* cython
* numpy
* pyfftw

## Tests

The repo includes a test suite, which can be invoked by running `pytest` in the
top-level of the repo. In addition to the package dependencies, it requires
`packaging`, `pytest-cov` and `pytest-cases`. These can be installed using:

```
pip install .[test]
```
