Skip to main content

Add your description here

Project description

GitHub 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

Almaqso uses analysisUtilites.

Modification of analysisUtilites is necessary. Please read 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 uv.

Then, you can reproduce the environment by

uv sync --dev

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

uv run 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.5.1.post1.tar.gz (47.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.5.1.post1-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file almaqso-1.5.1.post1.tar.gz.

File metadata

  • Download URL: almaqso-1.5.1.post1.tar.gz
  • Upload date:
  • Size: 47.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for almaqso-1.5.1.post1.tar.gz
Algorithm Hash digest
SHA256 676953b833b2522d1015be34b32c90e881abdb34d7e27e871994a8fad56274a8
MD5 fb860d8001be6435365e8435f004e29f
BLAKE2b-256 a196edfdc0f1aa73d9ac463856c8668f2b0c9165efc00a8cd1ab1b54c38f9943

See more details on using hashes here.

File details

Details for the file almaqso-1.5.1.post1-py3-none-any.whl.

File metadata

  • Download URL: almaqso-1.5.1.post1-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for almaqso-1.5.1.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 8bb1d3289b3971b3c09fe24893b926d4d8777672c47c99a6fa7e784fa0aff53d
MD5 93bb8cabc2290eaa6cd65baeb32e9b1c
BLAKE2b-256 e5002bfee31792ba87dc9565a5d4e6229e460e50bb46d5554153d27893eb0fa6

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