{"id":49510609,"url":"https://github.com/avikhagol/avica","last_synced_at":"2026-05-01T19:01:20.425Z","repository":{"id":348020336,"uuid":"1179784863","full_name":"avikhagol/avica","owner":"avikhagol","description":"AVICA (Automated VLBI pipeline in CASA) is a batch processing pipeline designed for the blind calibration of multi-frequency VLBI data using rPICARD.","archived":false,"fork":false,"pushed_at":"2026-05-01T17:28:51.000Z","size":15667,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-01T18:05:54.600Z","etag":null,"topics":["astronomy","automation","avica","big-data","calibration","casa","interferometry","radio-astronomy","vlbi","vlbi-analysis"],"latest_commit_sha":null,"homepage":"https://avica.readthedocs.io/en/latest/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/avikhagol.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":"CONTRIBUTING","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-12T11:30:12.000Z","updated_at":"2026-05-01T17:25:24.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/avikhagol/avica","commit_stats":null,"previous_names":["avikhagol/vasco","avikhagol/avica"],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/avikhagol/avica","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avikhagol%2Favica","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avikhagol%2Favica/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avikhagol%2Favica/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avikhagol%2Favica/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avikhagol","download_url":"https://codeload.github.com/avikhagol/avica/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avikhagol%2Favica/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32508912,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["astronomy","automation","avica","big-data","calibration","casa","interferometry","radio-astronomy","vlbi","vlbi-analysis"],"created_at":"2026-05-01T19:01:19.070Z","updated_at":"2026-05-01T19:01:20.411Z","avatar_url":"https://github.com/avikhagol.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"VLBI and SMILE-based CASA Optimization (VASCO) pipeline has been renamed to AVICA.\n\n# avica\nAVICA: Automated VLBI pipeline in CASA\n\n\nDocumentation : https://avica.readthedocs.io/en/latest/\n\n\u003e submitted to A\u0026A\n\n[![asciicast](https://asciinema.org/a/945113.svg)](https://asciinema.org/a/945113)\n\u003e Demo of the AVICA pipeline running end-to-end.\n\n\n# Installation\n\n\u003e Needs Ubuntu 18.04+, Debian 10+, RHEL/CentOS 8+ \\\n\u003e Python \u003e=3.9\n \nSince the monolithic version of casa includes its own internal Python 3 installation, \nit is best to install `avica` within a Python environment that matches the casa version.\n\n\u003c!--Since the monolithic version of casa includes its own internal Python 3 installation, \nit is best to install avica within a Python environment that matches the casa version.\n\nSpecifically, if you are not using the \"all\" installation option, \nyou should use the casa Python executable itself to create a virtual environment first. For example, for `casa-6.7.0-31-py3.10.el8/` use a virtual environment created using `Python 3.10`. Conda can be used for creating the environment:\n--\u003e\n\n```bash\n   \n   $ path/to/python3 -m venv MY_ENV_DIR\n   $ source MY_ENV_DIR/bin/activate\n\n```\n\n```bash\n\n   $ pip install avica\n\n```\n\nAlternatively, you can use the following installation method, \nwhich automatically includes the necessary casa dependency for avica's internal operations.\n\n```bash\n\n   $ pip install avica[all]\n\n```\n\nNote that you must still provide the path to your casadir. \nThis ensures that the pipeline uses the same monolithic casa version, ideally the one downloaded for \nrPicard to execute specific tasks like mstransform and importfitsidi within an isolated environment.\n\n## Manual\n\n1. Clone the repository to the desired destination.\n\n```\ngit clone https://github.com/avikhagol/avica.git\n```\n\n2. Install using `pip`\n\n```bash\ncd avica/\n\npip install .\n\n```\n\n\n# Usage\n\n\n## Pipeline\n\n```\nUsage: avica pipe run [OPTIONS] [STPS]...                                                                                                                                                                                                                                                                                    \n                                                                                                                                                                                                                                                                                                                              \n _______________________                                                                                                                                                                                                                                                                                                      \n                                                                                                                                                                                                                                                                                                                              \n pipeline steps:\n \n -  preprocess_fitsidi\n -  fits_to_ms\n -  phaseshift\n -  avica_avg\n -  avicameta_ms\n -  avica_snr\n -  avica_fill_input\n -  avica_split_ms\n -  rpicard\n \n ________________________                                                     \n \n      \n╭─ Arguments ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮\n│   stps      [STPS]...  steps for execution [default: preprocess_fitsidi, fits_to_ms, avica_avg, avicameta_ms, avica_snr, avica_fill_input, avica_split_ms, rpicard]                                                                                                                                                        │\n╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n╭─ Options ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮\n│ --f,--fitsfilenames        TEXT  fitsfile names comma separated                                                                                                                                                                                                                                                            │\n│ --t,--target               TEXT  Selected field / sourc name                                                                                                                                                                                                                                                               │\n│ --configfile               TEXT  config file containing key=value [default: avica.inp]                                                                                                                                                                                                                                     │\n│ --help                           Show this message and exit.                                                                                                                                                                                                                                                               │\n╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n\n\n```\n\n## Manipulating FITS-IDI\n\nTo check known FITS-IDI issues run the following:\n\n```\n Usage: avica fitsidi_check [OPTIONS] [FITSFILENAMES]... COMMAND [ARGS]...                                                                                                                                                                                                                                                         \n                                                                                                                                                                                                                                                                                                                              \n validate and fix, known FITS-IDI problems                                                                                                                                                                                                                                                                                    \n                                                                                                                                                                                                                                                                                                                              \n╭─ Arguments ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮\n│   fitsfilenames      [FITSFILENAMES]...                                                                                                                                                                                                                                                                                    │\n╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n╭─ Options ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮\n│ --fix     --no-fix       [default: no-fix]                                                                                                                                                                                                                                                                                 │\n│ --desc    --no-desc      [default: no-desc]                                                                                                                                                                                                                                                                                │\n│ --help                   Show this message and exit.                                                                                                                                                                                                                                                                       │\n╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n\n\n```\n\n\n#### Example\n\n```\navica fitsidi_check VLBA_VSN005412_file3.uvfits\n+--------------------+---------+-------+-------+----------------+----------+\n| hdu                | fixable | total | fixed | problem_code   | affected |\n+==========================================================================+\n| ARRAY_GEOMETRY     | 0       | 8     | 0     | []             | []       |\n| ANTENNA            | 0       | 16    | 0     | []             | []       |\n| FREQUENCY          | 0       | 8     | 0     | []             | []       |\n| PHASE-CAL          | 0       | 12    | 0     | []             | []       |\n| PRIMARY            | 1       | 10    | 0     | [\"extra_byte\"] | [\"\"]     |\n| SOURCE             | 0       | 8     | 0     | []             | []       |\n| FLAG               | 0       | 12    | 0     | []             | []       |\n| UV_DATA            | 0       | 8     | 0     | []             | []       |\n| GAIN_CURVE         | 0       | 8     | 0     | []             | []       |\n| SYSTEM_TEMPERATURE | 0       | 8     | 0     | []             | []       |\n+--------------------+---------+-------+-------+----------------+----------+\n\n```\n\n\nTo get the information on the observation run the following:\n\n```\navica listobs [FITSFILENAMES]... \n```\n\n\n# Development\nAfter you clone the repo\n```bash\n\n$ cd avica\n$ pip install -e .[dev]\n```\n\n# Attribution\n\nWhen using AVICA, please add a link to this repository in a footnote.\n\n# Acknowledgement\n\n\"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).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favikhagol%2Favica","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favikhagol%2Favica","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favikhagol%2Favica/lists"}