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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hera_sim-4.3.4.tar.gz (13.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hera_sim-4.3.4-py3-none-any.whl (501.1 kB view details)

Uploaded Python 3

File details

Details for the file hera_sim-4.3.4.tar.gz.

File metadata

  • Download URL: hera_sim-4.3.4.tar.gz
  • Upload date:
  • Size: 13.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for hera_sim-4.3.4.tar.gz
Algorithm Hash digest
SHA256 e48eb0318585960d96763163ced1f41940b96ec409e0f6674ab087fb2df0e07f
MD5 529359bde238c2a670f985aee932f227
BLAKE2b-256 92b76e6cda7696b91c023d2107b403e73326b01ff34c60c4cd725d0d48f38645

See more details on using hashes here.

File details

Details for the file hera_sim-4.3.4-py3-none-any.whl.

File metadata

  • Download URL: hera_sim-4.3.4-py3-none-any.whl
  • Upload date:
  • Size: 501.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for hera_sim-4.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6bbb022bda066ef483a8504c32c9a9ebed93b0e02ba7d1ebc94df5ade7b1f2dd
MD5 ed0d28a34f1dc5b20653c4a6c0f6cbe0
BLAKE2b-256 5d2414bb839dba23b67b49f500017623696421e5a9e1d095a9f00b8ca5f6d4c1

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

4.3.4 This release

2 files

4.3.1

2 files

4.2.2

2 files

4.2.1

2 files

4.2.0

2 files

4.1.2

2 files

4.1.1

2 files

4.1.0

2 files

4.0.0

2 files

3.1.1

2 files

3.0.0

2 files

2.4.0

2 files

2.3.4

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page