Skip to main content

Build Status Coverage Status Documentation Status

Basic simulation package for HERA-like redundant interferometric arrays.

Features

  • Systematic Models: Many models of instrumental systematics in various forms, eg. thermal noise, RFI, bandpass gains, cross-talk, cable reflections and foregrounds.

  • HERA-tuned: All models have defaults tuned to HERA, with various default “sets” available (eg.H1C, H2C)

  • Interoperability: Interoperability with pyuvdata datasets and pyuvsim configurations.

  • Ease-of-use: High-level interface for adding multiple systematics to existing visibilities in a self-consistent way.

  • Visibility Simulation: A high-level interface for visbility simulation that is compatible with the configuration definition from pyuvsim but is able to call multiple simulator implementations.

  • Convenience: Methods for adjusting simulated data to match the times/baselines of a reference dataset.

Documentation

At ReadTheDocs. In particular, for a tutorial and overview of available features, check out the tour.

Installation

The best and easiest way to install hera_sim is with uv:

uv add hera_sim

Or if you are using the pip-style interface:

uv pip install hera_sim

You can install optional extras as well – for exapmle to get all the dependencies required for simulating visibilities:

uv add hera_sim --extra vis

Available extras are vis, bda, and cal (for also installing hera-calibration).

Conda users

If you are using conda, the following command will install all dependencies which it can handle natively:

conda install -c conda-forge numpy scipy pyuvdata attrs h5py healpy pyyaml

Developer install

If you are planning on developing hera_sim, you should use uv:

git clone git@github.com/hera-team/hera_sim.git
cd hera_sim
uv sync --all-extras

As the repository is becoming quite large, you may also wish to perform a shallow clone to retrieve only the recent commits and history. This makes the clone faster and avoid bottleneck in CI pipelines.

Provide an argument --depth 1 to the git clone command to copy only the latest revision of the repository.

Versioning

We use semantic versioning (major.minor.patch) for the hera_sim package (see SemVer documentation). To briefly summarize, new major versions include API-breaking changes, new minor versions add new features in a backwards-compatible way, and new patch versions implement backwards-compatible bug fixes.

Metadata

Release files for hera-sim 4.3.4

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-sim 4.3.4
File Size Uploaded
hera_sim-4.3.4.tar.gz 13.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for hera-sim 4.3.4
File Interpreter ABI Platform
hera_sim-4.3.4-py3-none-any.whl Python 3 none any Details

Total release size: 14.0 MB

Release files / hera_sim-4.3.4.tar.gz

Download URL hera_sim-4.3.4.tar.gz
Size 13.5 MB
Tags Source
SHA-256 checksum
How to use checksums
e48eb0318585960d96763163ced1f41940b96ec409e0f6674ab087fb2df0e07f
BLAKE2b-256 checksum
How to use checksums
92b76e6cda7696b91c023d2107b403e73326b01ff34c60c4cd725d0d48f38645
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / hera_sim-4.3.4-py3-none-any.whl

Download URL hera_sim-4.3.4-py3-none-any.whl
Size 501.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6bbb022bda066ef483a8504c32c9a9ebed93b0e02ba7d1ebc94df5ade7b1f2dd
BLAKE2b-256 checksum
How to use checksums
5d2414bb839dba23b67b49f500017623696421e5a9e1d095a9f00b8ca5f6d4c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release history Release notifications | RSS feed

This release

4.3.4 This release

2 release files

4.3.1

2 release files

4.2.2

2 release files

4.2.1

2 release files

4.2.0

2 release files

4.1.2

2 release files

4.1.1

2 release files

4.1.0

2 release files

4.0.0

2 release files

3.1.1

2 release files

3.0.0

2 release files

2.4.0

2 release files

2.3.4

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