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. Bugs are being removed and some new feature is being implemented.

If you find something or have questions, please refer, report or ask from issue

About

almaqso is an automated tool for downloading and analyzing ALMA calibration sources (quasars). Originally developed for analyzing absorption lines, this package addresses a limitation of the standard calibration scripts attached to ALMA archive data, which often mask absorption lines. By generating calibration scripts that preserve these lines, this package ensures accurate analysis of absorption features.

Pre-requisites

CASA

Please use CASA with ALMA pipeline. Version 6 is only supported. I am using CASA version 6.6.6-17-pipeline-2025.1.0.35.

CASA Modules

Please install analysisUtilites. I strongly recommend you to use the LATEST version of it.

Installation

You can install this package by

pip install almaqso

Then you can use the package like this:

import almaqso

Usage

See sample code in sample folder and documentation.

Citation

Please cite this package (software) if it helps your work!

@software{nishida_2025_18181096,
  author       = {Nishida, Akimasa and
                  Yoshimura, Yuki and
                  Narita, Kanako},
  title        = {almaqso},
  month        = apr,
  year         = 2025,
  publisher    = {Zenodo},
  version      = {1.5.1},
  doi          = {10.5281/zenodo.18181096},
  url          = {https://doi.org/10.5281/zenodo.18181096},
}

Developer Guide

Pre-requisites

You do not have to install all shown below. Please install only what you need.

  • uv: Strongly recommended. uv will manage everything about Python.
  • plantuml & graphviz: Install if you want to build docs or re-render the docs/diagrams.
  • imagemagick: Install if you want to build PDF version documentation.

You can reproduce the environment with uv:

uv sync --dev

Then, you can run main.py or something with

uv run main.py  # or something

Render diagrams

(Re-)Render all PUML files in docs/diagrams with the command below. SVG files will be generated in the same directory.

plantuml --svg docs/diagrams/

This is run by documentation building scripts below.

Build documentation

If you change the files in docs/diagrams, please recreate the SVG files first as written in Render diagrams section.

HTML:

./scripts/sphinx-build-html.sh

If you do not use uv, run with python instead:

python sphinx-build -b html docs docs/_build/html

Then, please open docs/_build/html/index.html in your browser.

PDF: The script file will build PDF file and copy it to docs/almaqso.pdf.

./scripts/sphinx-build-pdf.sh

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.6.0b7.tar.gz (126.1 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.6.0b7-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

Details for the file almaqso-1.6.0b7.tar.gz.

File metadata

  • Download URL: almaqso-1.6.0b7.tar.gz
  • Upload date:
  • Size: 126.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for almaqso-1.6.0b7.tar.gz
Algorithm Hash digest
SHA256 fef37c1f2581060fb20efafdd67f043f495c0e9bf9cc03624621065f777f7dfc
MD5 d6ef3d2b07352f5a804219f3ac12d071
BLAKE2b-256 e0a25d2fe5c30234625002c257281120f4c74cd247ea0413a0caea8221b069e1

See more details on using hashes here.

File details

Details for the file almaqso-1.6.0b7-py3-none-any.whl.

File metadata

  • Download URL: almaqso-1.6.0b7-py3-none-any.whl
  • Upload date:
  • Size: 24.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for almaqso-1.6.0b7-py3-none-any.whl
Algorithm Hash digest
SHA256 1809d4dbe786b74797b27a7052600b3ec2277c054d8e06c23db0d95cc7b667d0
MD5 dd2668a200a5bd08f1ba03d0ebef4248
BLAKE2b-256 ea8f653d699c9dcf8d946e5409cc205385249e840120765b712cf4659fe6b24b

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