HERA Power Spectrum Estimator Code
Project description
# hera_pspec: HERA delay spectrum estimation
![Run Tests](https://github.com/HERA-Team/hera_pspec/workflows/Run%20Tests/badge.svg) [![codecov](https://codecov.io/gh/HERA-Team/hera_pspec/branch/master/graph/badge.svg)](https://codecov.io/gh/HERA-Team/hera_pspec) [![Documentation](https://readthedocs.org/projects/hera-pspec/badge/?version=latest)](https://readthedocs.org/projects/hera-pspec/badge/?version=latest)
The hera_pspec library provides all of the tools and data structures needed to perform a delay spectrum analysis on interferometric data. The input data can be in any format supported by pyuvdata, and the output data are stored in HDF5 containers.
For usage examples and documentation, see http://hera-pspec.readthedocs.io/en/latest/.
## Installation Preferred method of installation for users is simply pip install . (or pip install git+https://github.com/HERA-Team/hera_pspec). This will install required dependencies. See below for manual dependency management.
### Dependencies If you are using conda, you may wish to install the following dependencies manually to avoid them being installed automatically by pip:
$ conda install -c conda-forge "numpy>=1.15" "astropy>=2.0" h5py pyuvdata scipy matplotlib pyyaml
### Developing If you are developing hera_pspec, it is preferred that you do so in a fresh conda environment. The following commands will install all relevant development packages:
$ git clone https://github.com/HERA-Team/hera_pspec.git $ cd hera_pspec $ conda create -n hera_pspec python=3 $ conda activate hera_pspec $ conda env update -n hera_pspec -f ci/hera_pspec_tests.yml $ pip install -e .
This will install extra dependencies required for testing/development as well as the standard ones.
### Running Tests Uses the pytest package to execute test suite. From the source hera_pspec directory run: pytest.
## Running hera_pspec
See the documentation for an [overview and examples](http://hera-pspec.readthedocs.io/en/latest/pspec.html) of how to run hera_pspec. There are also some example Jupyter notebooks, including [examples/PS_estimation_examples.ipynb](examples/PS_estimation_example.ipynb) (a brief tutorial on how to create delay spectra), and [examples/PSpecBeam_tutorial.ipynb](examples/PSpecBeam_tutorial.ipynb) (a brief tutorial on handling beam objects).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file hera_pspec-0.4.0.tar.gz
.
File metadata
- Download URL: hera_pspec-0.4.0.tar.gz
- Upload date:
- Size: 229.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a0feaac1b497880391fe3f76212f006da1be174880463550cd35bdeba77b0a0 |
|
MD5 | 45fad8919a2f74d7edd964db2eae203f |
|
BLAKE2b-256 | 53cae758264ac1a9fceaf197372dbd6d82035206206a34c2403d329122cebf29 |
File details
Details for the file hera_pspec-0.4.0-py2.py3-none-any.whl
.
File metadata
- Download URL: hera_pspec-0.4.0-py2.py3-none-any.whl
- Upload date:
- Size: 245.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b79f317ef007e7e2c3076d5223fb52b0ae3276ce595f42cca13ba923c8f0488 |
|
MD5 | f990b72a61f9d06b57462bef511d92f7 |
|
BLAKE2b-256 | 1f9ebee970ec57c36886aeb4b61314da8e9016b3cf16b7d0c21519542905f9c7 |