Skip to main content

ALMA QSO analysis

Project description

Static Badge

almaqso

This repository is a folk of astroysmr/almaqso, which is no longer maintained. So many bugs are still there, and I am trying to fix them.

PLEASE REFER TO THE ISSUE SECTION SINCE IT CONTAINS THE BUGS AND INFORMATION.

Pre-requisites

CASA

  • Please use CASA with ALMA pipeline. I am using CASA version 6.6.1-17-pipeline-2024.1.0.8.

CASA Modules

  • analysisUtilities

Details (e.g., how to install and modify) are described in Pre-requisites.

Installation

You can install this package by

pip install almaqso

Then you can use the package like this:

import almaqso

Usage

See sample folder and documentation.

Test

CASA to use

First, make sure that you have CASA with ALMA pipeline installed e.g., 6.6.1-17-pipeline-2024.1.0.8.

Prepare the environment

Then please install pipenv.

pip install pipenv

Then, you can reproduce the environment by

pipenv install --dev

You can enter the environment by

pipenv shell

Test run

Edit test/test_download_analysis.py:

# test/test_download_analysis.py
# Edit the following constants.

...

CASA_PATH = 'casa'  # Path to CASA. Please modify this if necessary.

...

DOWNLOAD = False  # True: Download the tar file, False: Use the existing tar file
MODE = 'aftercal'  # 'all': All Steps, 'calonly': Step 1-4, 'aftercal': Step 5-8 of analysis

Then you can run the test by

pytest

Usage

To work with this package, you have to download JSON files from ALMA Calibrator Source Catalogue. Explanation on it is here.

Sample code is at sample/sample.py.

Branches

  • main: The main branch.
  • with-old-codes: The branch with old codes (created by original editor). This is for the reference.

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

almaqso-1.0.3.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

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

almaqso-1.0.3-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file almaqso-1.0.3.tar.gz.

File metadata

  • Download URL: almaqso-1.0.3.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for almaqso-1.0.3.tar.gz
Algorithm Hash digest
SHA256 bb3cc0d781f733797235024b1a3b58c3371680d73803c6602db276e77cafdc55
MD5 a989f292441f82a48672844977e82da5
BLAKE2b-256 5cc1268ce1d015b117082b3d498f12c2cfa57cca8354b7fa681b3e4b373acfaa

See more details on using hashes here.

File details

Details for the file almaqso-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: almaqso-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for almaqso-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ce325096c062f692bc1add040a4da4c0923416097cf7db2dbfd3aa99c53f1995
MD5 a1192be02263033b42a303bbd1a67b61
BLAKE2b-256 5b621e29e6a4de26c31f5adcec00455c11668239c690e4955f12143309849825

See more details on using hashes here.

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