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.0b6.tar.gz (125.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.6.0b6-py3-none-any.whl (23.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: almaqso-1.6.0b6.tar.gz
  • Upload date:
  • Size: 125.8 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.0b6.tar.gz
Algorithm Hash digest
SHA256 b8cb4a38b89d7d162823e72d39a22fa4208cfba6e8b0a961102625f00cdab1af
MD5 604c1a1ce0c0a993ba6ee70d23ee89ab
BLAKE2b-256 de920472a20d90e1f01c7e16ddcea1ae67a282dfc87971046dc3ab824e192f77

See more details on using hashes here.

File details

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

File metadata

  • Download URL: almaqso-1.6.0b6-py3-none-any.whl
  • Upload date:
  • Size: 23.8 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.0b6-py3-none-any.whl
Algorithm Hash digest
SHA256 3105fe1c3972bdb889b39711962ac57f204d662e74fe39981253e15ddc84bd64
MD5 f7c9ddee4580654ae1b0ff8a7d251e0f
BLAKE2b-256 3fe7afc661af18ff72d0bbd22d7c2a302004a569e85695fe321b227cfec0fca2

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