Skip to main content

AVICA: Automated VLBI pipeline in CASA

Project description

PyPI - Downloads Read the Docs GitHub commits since latest release (branch) PyPI - Version

AVICA: Automated VLBI pipeline in CASA

asciicast

Demo of the AVICA pipeline running end-to-end. Documentation : https://avica.readthedocs.io/en/latest/

Installation

Requires Ubuntu 18.04+, Debian 10+, RHEL/CentOS 8+
Python >=3.9

The avica package is publicly available on PyPI. Installation is recommended using uv or pipx within a isolated environment:

using uv

uv tool install avica --python 3.11

or using pipx

pipx install avica

or using pip

pip install avica

Note: it is recommended to use venv for installation, if you are not using pipx or uv.

Manual

  1. Clone the repository to the desired destination.
git clone https://github.com/avikhagol/avica.git
  1. Install using pip
cd avica/

pip install .

Usage

Pipeline

Usage: avica pipe run [OPTIONS] [STPS]...                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                              
 _______________________                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                              
 pipeline steps:
 
 -  preprocess_fitsidi
 -  fits_to_ms
 -  phaseshift
 -  avica_avg
 -  avicameta_ms
 -  avica_snr
 -  avica_fill_input
 -  avica_split_ms
 -  rpicard
 
 ________________________                                                     
 
      
╭─ Arguments ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│   stps      [STPS]...  steps for execution [default: preprocess_fitsidi, fits_to_ms, avica_avg, avicameta_ms, avica_snr, avica_fill_input, avica_split_ms, rpicard]                                                                                                                                                        │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --f,--fitsfilenames        TEXT  fitsfile names comma separated                                                                                                                                                                                                                                                            │
│ --t,--target               TEXT  Selected field / sourc name                                                                                                                                                                                                                                                               │
│ --configfile               TEXT  config file containing key=value [default: avica.inp]                                                                                                                                                                                                                                     │
│ --help                           Show this message and exit.                                                                                                                                                                                                                                                               │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯


Manipulating FITS-IDI

To check known FITS-IDI issues run the following:

 Usage: avica fitsidi_check [OPTIONS] [FITSFILENAMES]... COMMAND [ARGS]...                                                                                                                                                                                                                                                         
                                                                                                                                                                                                                                                                                                                              
 validate and fix, known FITS-IDI problems                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                              
╭─ Arguments ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│   fitsfilenames      [FITSFILENAMES]...                                                                                                                                                                                                                                                                                    │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --fix     --no-fix       [default: no-fix]                                                                                                                                                                                                                                                                                 │
│ --desc    --no-desc      [default: no-desc]                                                                                                                                                                                                                                                                                │
│ --help                   Show this message and exit.                                                                                                                                                                                                                                                                       │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯


Example

avica fitsidi_check VLBA_VSN005412_file3.uvfits
+--------------------+---------+-------+-------+----------------+----------+
| hdu                | fixable | total | fixed | problem_code   | affected |
+==========================================================================+
| ARRAY_GEOMETRY     | 0       | 8     | 0     | []             | []       |
| ANTENNA            | 0       | 16    | 0     | []             | []       |
| FREQUENCY          | 0       | 8     | 0     | []             | []       |
| PHASE-CAL          | 0       | 12    | 0     | []             | []       |
| PRIMARY            | 1       | 10    | 0     | ["extra_byte"] | [""]     |
| SOURCE             | 0       | 8     | 0     | []             | []       |
| FLAG               | 0       | 12    | 0     | []             | []       |
| UV_DATA            | 0       | 8     | 0     | []             | []       |
| GAIN_CURVE         | 0       | 8     | 0     | []             | []       |
| SYSTEM_TEMPERATURE | 0       | 8     | 0     | []             | []       |
+--------------------+---------+-------+-------+----------------+----------+

To get the information on the observation run the following:

avica listobs [FITSFILENAMES]... 

Attribution

When using AVICA, please add a link to this repository in a footnote.

Acknowledgement

"AVICA was developed within the "Search for Milli-Lenses" (SMILE) project. SMILE has received funding from the European Research Council (ERC) under the HORIZON ERC Grants 2021 programme (grant agreement No. 101040021).

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

avica-0.3.1.3.tar.gz (1.9 MB view details)

Uploaded Source

Built Distributions

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

avica-0.3.1.3-cp313-cp313-musllinux_1_2_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

avica-0.3.1.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

avica-0.3.1.3-cp313-cp313-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

avica-0.3.1.3-cp312-cp312-musllinux_1_2_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

avica-0.3.1.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

avica-0.3.1.3-cp312-cp312-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

avica-0.3.1.3-cp311-cp311-musllinux_1_2_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

avica-0.3.1.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

avica-0.3.1.3-cp311-cp311-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

avica-0.3.1.3-cp310-cp310-musllinux_1_2_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

avica-0.3.1.3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

avica-0.3.1.3-cp310-cp310-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

avica-0.3.1.3-cp39-cp39-musllinux_1_2_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ x86-64

avica-0.3.1.3-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

avica-0.3.1.3-cp39-cp39-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

Details for the file avica-0.3.1.3.tar.gz.

File metadata

  • Download URL: avica-0.3.1.3.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for avica-0.3.1.3.tar.gz
Algorithm Hash digest
SHA256 075de15f472d95395797c91333e56eb5a9b6dfbe7ed009607c2568fb51b47fc9
MD5 1f4446601e975b359cec36f8d2dd9533
BLAKE2b-256 04570b3b8e6da2b03a0fa125616011335d8c9170b3e7e94f6ca5f1dcf8b29baa

See more details on using hashes here.

Provenance

The following attestation bundles were made for avica-0.3.1.3.tar.gz:

Publisher: build_wheels.yml on avikhagol/avica

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

File details

Details for the file avica-0.3.1.3-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for avica-0.3.1.3-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 08f816d1330d34d9758c29eb8891d0a982a4b9926c1c559f915cc8876a96a923
MD5 dcdf60ed317b562c5bdb9ed23b4601ed
BLAKE2b-256 991130af1734b84f1dabb1e7bb1afa1e1f47f01984de02126ca8d49f26b9e57d

See more details on using hashes here.

Provenance

The following attestation bundles were made for avica-0.3.1.3-cp313-cp313-musllinux_1_2_x86_64.whl:

Publisher: build_wheels.yml on avikhagol/avica

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

File details

Details for the file avica-0.3.1.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for avica-0.3.1.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9a0e97b82d0cee549fc40571a93d7fb08251d6fea2cf71ae44001b6be08fd3aa
MD5 d4306aa5899d3e9932d3f1a6311aabb0
BLAKE2b-256 dd74a1388f5bcf5a6e2a10d349a73a438c4ffd24131bd6715ff789da357d3c4e

See more details on using hashes here.

Provenance

The following attestation bundles were made for avica-0.3.1.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build_wheels.yml on avikhagol/avica

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

File details

Details for the file avica-0.3.1.3-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for avica-0.3.1.3-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fd5e125ac21a9c678d9868d96c4e31b7f752a033ebd554708c11b88b70b73cab
MD5 9f47b8e96e7a7178fc282591cba435a5
BLAKE2b-256 19fdf8076c8b85f44d77d527c1a066fd0becea747a08fdbf10632de9c0f27326

See more details on using hashes here.

Provenance

The following attestation bundles were made for avica-0.3.1.3-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: build_wheels.yml on avikhagol/avica

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

File details

Details for the file avica-0.3.1.3-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for avica-0.3.1.3-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ee633bd7c5bd5f52bd63a17e1f15e85a3f23acb173742c09e89ab3f33e7ae1f7
MD5 7d37ce7f7223835b1fa52ab7538bf4ac
BLAKE2b-256 303bafcf4be9dd88027807508bad9005710efc21d881980ebe3bb206b171839e

See more details on using hashes here.

Provenance

The following attestation bundles were made for avica-0.3.1.3-cp312-cp312-musllinux_1_2_x86_64.whl:

Publisher: build_wheels.yml on avikhagol/avica

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

File details

Details for the file avica-0.3.1.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for avica-0.3.1.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 94a99983cc3bd84c63ac1111b4d08d9688dce754a6382476c884d3ce6558d5f1
MD5 978ec7dc6b691e90bc65188955cc0863
BLAKE2b-256 c43a241d3707723198cf859e17af082cce1e5ca75dc6693541b6b3d219d603a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for avica-0.3.1.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build_wheels.yml on avikhagol/avica

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

File details

Details for the file avica-0.3.1.3-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for avica-0.3.1.3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 74e755640caa74d32f4a35b4552c4b453f6ee010cf6781d3d2324d64c007cac6
MD5 137edf79d514e580a42431c64f44d85e
BLAKE2b-256 bcd592c14f281494d45590c1a84b2a4df89fc49c39434402c51765055edbe9ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for avica-0.3.1.3-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: build_wheels.yml on avikhagol/avica

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

File details

Details for the file avica-0.3.1.3-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for avica-0.3.1.3-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f84da569d7ef4364794d5ddfce07a909a4a552e3db4d839cb2c64f5f7de8d908
MD5 06c54a2e14fda7d891bd37057ef59370
BLAKE2b-256 048c55adbb32af9fabf8c081436f1b6dd141cbed8bc5082e61818038ea9ba0c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for avica-0.3.1.3-cp311-cp311-musllinux_1_2_x86_64.whl:

Publisher: build_wheels.yml on avikhagol/avica

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

File details

Details for the file avica-0.3.1.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for avica-0.3.1.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 faa7f6e59a8e89a92ea13ce7db55a3132aa171e71f7b0e70ad54c96c72654f25
MD5 716afaee6c821126a2acb59fe9c6b156
BLAKE2b-256 8c46d9165316ef3417c87a28f9c9c7676f9b44ef30462db7168a4d6c7334af9c

See more details on using hashes here.

Provenance

The following attestation bundles were made for avica-0.3.1.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build_wheels.yml on avikhagol/avica

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

File details

Details for the file avica-0.3.1.3-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for avica-0.3.1.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ad0d2b7718e9c2c3ec4771689dc1e2baffd7b52c27ab11524e03f000410fa93c
MD5 1d97f2dbd7cb70f507327929a7a6cbb7
BLAKE2b-256 12270e5bcdc2c5b2c4aa5dbf8a733ba2fef198bb484157728766237ea0176f34

See more details on using hashes here.

Provenance

The following attestation bundles were made for avica-0.3.1.3-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: build_wheels.yml on avikhagol/avica

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

File details

Details for the file avica-0.3.1.3-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for avica-0.3.1.3-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 44f350c65bb5c3365a88bf417e2f921e94443a90a8523742a9ad897b99a217de
MD5 8b8bc298b4687dea44f6861d0cc41156
BLAKE2b-256 b847864f48ae87296bdb409a0b4f10638f63c5773c0b5d43e2ba65f6c5970609

See more details on using hashes here.

Provenance

The following attestation bundles were made for avica-0.3.1.3-cp310-cp310-musllinux_1_2_x86_64.whl:

Publisher: build_wheels.yml on avikhagol/avica

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

File details

Details for the file avica-0.3.1.3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for avica-0.3.1.3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4715a0f4dea42d82da47c2ca4823a7914443d7b6a98ba1307c91573c68ee6af0
MD5 d1839d76c86c20cb56c41b62278ea2d4
BLAKE2b-256 42691843841ddacd6da229a0e620a10bdfbc083da88b2d1fbf43f11cdb356d8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for avica-0.3.1.3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build_wheels.yml on avikhagol/avica

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

File details

Details for the file avica-0.3.1.3-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for avica-0.3.1.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5a1b85e85bfc5b4b12b0039db331657b13cd8d7d070adce77033ba589a220045
MD5 321e637e4cb94e46e1254ffb624435bd
BLAKE2b-256 acfed104a8d597429142caea6058d50cd539c13dffd2421075d2db6dadf9aa8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for avica-0.3.1.3-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: build_wheels.yml on avikhagol/avica

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

File details

Details for the file avica-0.3.1.3-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for avica-0.3.1.3-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b4b39754bd34fc60680dd3109030b3a0ee4115f67d716655feba81046f973049
MD5 4a106f8f0de5d46b9c14eb8a96b537a3
BLAKE2b-256 64875d55950729d8b49d5c27919d96d3ef681116caa44eda8d01d517c113400f

See more details on using hashes here.

Provenance

The following attestation bundles were made for avica-0.3.1.3-cp39-cp39-musllinux_1_2_x86_64.whl:

Publisher: build_wheels.yml on avikhagol/avica

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

File details

Details for the file avica-0.3.1.3-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for avica-0.3.1.3-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1c05814c4b7ce1a83ec5ef8efbadd8aebfdd4e01494634d8be7ea9baaed1c209
MD5 1a7ec66ce6ba67b3d1c39fbb6c4d3190
BLAKE2b-256 4700bb79134dce4629aeb1d389555a7d9d04c5230b53b3c330fd65924efd2d05

See more details on using hashes here.

Provenance

The following attestation bundles were made for avica-0.3.1.3-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build_wheels.yml on avikhagol/avica

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

File details

Details for the file avica-0.3.1.3-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for avica-0.3.1.3-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a014e091619a71fb2eaa0870337ad3a338d42fa6309ab861b2006a4b53f0a54e
MD5 0b5ff4a11c83983780b7763ca9c5c057
BLAKE2b-256 eb965213629fe3eee5fce39a146f74fb0084b5f0b93785eddc8267f3891ad0e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for avica-0.3.1.3-cp39-cp39-macosx_11_0_arm64.whl:

Publisher: build_wheels.yml on avikhagol/avica

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