Skip to main content

A collection of simulation routines describing the HERA instrument.

Project description

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

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

If you are creating a new development environment, consider using the included environment file:

$ conda env create -f ci/tests.yaml

This will create a fresh environment with all required dependencies, as well as those required for testing. Then follow the pip-only instructions below to install hera_sim itself.

Pip-only install

Simply use pip install -e . or run pip install git+git://github.com/HERA-Team/hera_sim.

Developer install

For a development install (tests and documentation), run pip install -e .[dev].

Other optional extras can be installed as well. To use baseline-dependent averaging functionality, install the extra [bda]. For the ability to simulate redundant gains, install [cal]. To enable GPU functionality on some of the methods (especially visibility simulators), install [gpu].

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.

git clone -–depth [depth] git@github.com:HERA-Team/hera_sim.git

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.

Project details


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.1.tar.gz (13.2 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.1-py3-none-any.whl (2.6 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hera_sim-4.3.1.tar.gz
  • Upload date:
  • Size: 13.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for hera_sim-4.3.1.tar.gz
Algorithm Hash digest
SHA256 b85de8d58511f7a2df398416efbe7ad9db454d97893350bff88971cc022e99d0
MD5 3623f4650b191fafff2c2392d0fa2845
BLAKE2b-256 3c4d4af29f4089484ffa091d7b909bd56f1d4347863fee14f5101ae63337601d

See more details on using hashes here.

Provenance

The following attestation bundles were made for hera_sim-4.3.1.tar.gz:

Publisher: publish.yaml on HERA-Team/hera_sim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: hera_sim-4.3.1-py3-none-any.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for hera_sim-4.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9dd3d85254319491dde71982d76d838bebebdfd15ea088b16e0ef2267ec9de50
MD5 08cbd56e03805f21b8f92e78c40ec8e8
BLAKE2b-256 c5e257e6aa00e4adba801798a64971c0fcf821b9e1dddfae841210d94ad069f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for hera_sim-4.3.1-py3-none-any.whl:

Publisher: publish.yaml on HERA-Team/hera_sim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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