Skip to main content

ALMA QSO analysis

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

  • 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.2.0.tar.gz (14.5 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.2.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for almaqso-1.2.0.tar.gz
Algorithm Hash digest
SHA256 4f790ab19b7b122ca9f2fcb796de9d9e2ecc0edead834e682dd5c786587cb035
MD5 5213d7405a76cb44721f6b9d304a36db
BLAKE2b-256 5fa2ecd85e529aa0c7a2137475aebd9d76d8b2e8535cd3508d19858815171031

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for almaqso-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 896efe8b7d786176d8eb7220dd89992b89f4e3b6c1e06b1fb4d1abd5695fd688
MD5 1cdea9fa81455bea721c16863e320ca3
BLAKE2b-256 74f0471a80eecdb6841fc67c901a6b754e599a749d1ad4815cf06a95ba8341c6

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