Skip to main content

Holography Antenna Commissioning Kit

Project description

sirius

Python 3.8 Code style: black PyPI version tests

SiRIUS is a component list radio interferometry visibilities simulator in development for the VLA, ALMA, and the ngVLA telescopes. It makes use of modular Common Astronomy Software Applications (CASA), the CASA Next Generation Infrastructure framework (CNGI), and dask-ms (dask-ms).

📝 SiRIUS is under active development! Breaking API changes are still happening on a regular basis, so proceed with caution.

Installing

It is recommended to use the conda environment manager to create a clean, self-contained runtime where sirius and all its dependencies can be installed:

conda create --name sirius python=3.8 --no-default-packages
conda activate sirius

📝 On macOS it is required to pre-install python-casacore using conda install -c conda-forge python-casacore. After this is fixed upstream, documentation for installing sirius using virtualenv will be added here.

Making sirius available for download from conda-forge directly is pending, so until then the current recommendation is to sully that pristine environment by calling pip from within conda, like this:

pip install sirius

The basic dependency versions fixed to a given release are frozen using pip list --format=freeze > requirements.txt.

Developer installation

Developers build and install sirius from their local clones of the source code. With their base conda environment active, pip install -e .[complete]. Specifying the [complete] install will download extras, including pre-commit (required for committing code changes that pass the linter) and pytest (which is helpful for running unit tests locally). In addition to development extras, the packages required to build the documentation can be installed locally from source using

pip install -e .[docs]

The complete dependency versions fixed to a given release are frozen using pip list --format=freeze > requirements-dev.txt.

It is also possible to download directly from the requirements files using pip install -r requirements.txt or pip install -r requirements-dev.txt, just be aware that it might not be confirmed to be compatible with bleeding edge development between release tags.

Before committing to a branch pre-commit should be installed:

conda install -c conda-forge pre-commit
cd sirius #source directory
pre-commit install

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

astrohack-0.0.1.tar.gz (86.0 kB view details)

Uploaded Source

Built Distribution

astrohack-0.0.1-py3-none-any.whl (89.5 kB view details)

Uploaded Python 3

File details

Details for the file astrohack-0.0.1.tar.gz.

File metadata

  • Download URL: astrohack-0.0.1.tar.gz
  • Upload date:
  • Size: 86.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for astrohack-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f9ff263ca773be083cfda5e30113706310eb8f0c9b2545687a4291500ab34d65
MD5 5b96748ba7efabebe90feab9f0715293
BLAKE2b-256 42861452dbfd2099abcd480bdb6586b27a93e595c4b6dccd5dcb76b9836d30a5

See more details on using hashes here.

File details

Details for the file astrohack-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: astrohack-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 89.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for astrohack-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8b25832033bdd45a5240395d4461b371bfb3fb3a9cdee7c12476eb2ac181022d
MD5 9ac726c0e39f2f1c07d022e2433fa163
BLAKE2b-256 e755b11777ec4cacfea557cffbbdeba2779ec8660512caf810a4a54e46b9e373

See more details on using hashes here.

Supported by

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