Skip to main content

Run Tests codecov Documentation

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

For users

The package is installable, along with its dependencies, with PyPi. We recommend using Anaconda and creating a new conda environment before installing the package. You may wish to install some of the dependencies directly with conda instead of pip before installing the package. This is especially important for jax on MacOS:

$ conda create -n hera_pspec python=3
$ conda activate hera_pspec
$ conda install jax
$ python3 -m pip install hera_pspec

New versions are frequently released on PyPi.

For developers

If you are developing and/or want to use the latest working version of hera_pspec, you can directly install from the GitHub repository.

Preferred method of installation for users is simply pip install -e . (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 jax

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 of how to run hera_pspec. There are also some example Jupyter notebooks, including examples/PS_estimation_examples.ipynb (a brief tutorial on how to create delay spectra), and examples/PSpecBeam_tutorial.ipynb (a brief tutorial on handling beam objects).

Metadata

Release files for hera-pspec 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hera-pspec 0.5.0
File Size Uploaded
hera_pspec-0.5.0.tar.gz 89.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for hera-pspec 0.5.0
File Interpreter ABI Platform
hera_pspec-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 173.9 MB

Release files / hera_pspec-0.5.0.tar.gz

Download URL hera_pspec-0.5.0.tar.gz
Size 89.2 MB
Tags Source
SHA-256 checksum
How to use checksums
2b27d51dea55af3804b953eb77d19884c0d199d3d65f4d451b5bac3390d47257
BLAKE2b-256 checksum
How to use checksums
44abd1a8fb2cabcc5ac3522da9ed14e8d6b6bfcb2450786025f344a91f7264fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / hera_pspec-0.5.0-py3-none-any.whl

Download URL hera_pspec-0.5.0-py3-none-any.whl
Size 84.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4565e05a3a7d28a96880d6613f1b300146d3b53a0972df7094f37ec8f55b293a
BLAKE2b-256 checksum
How to use checksums
651c49520f2868f36994ba6ca0980dbfe0eee1b7ecb9a1ee74d27313f77956bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.1

2 release files

0.4.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page