hera_sim
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hera_sim-4.3.4.tar.gz | 13.5 MB | Without provenance | Details for hera_sim-4.3.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hera_sim-4.3.4-py3-none-any.whl | Python 3 | none | any | Details for hera_sim-4.3.4-py3-none-any.whl |
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
|
Security for hera-sim 4.3.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.