Skip to main content

taitale a tool to utilize and craft pipelines with ASKAPsoft and other radio astronomy tools

Project description

taitale

taitale a tool to utilize and craft pipelines with ASKAPsoft and other radio astronomy tools

taitale can work with either containers or native executables.

The goal is to provide an interface for radio astronomy tools in Python that would allow for easy interpolation with existing astronomy tools and packages like CASA and astropy.

Installing

Installing from PyPI

pip install taitale

Example

Run mslist on a test MS file

from taitale import taitale_env
from taitale.askap import mslist
mslist(env=test_taitale_env, args="--brief test.MS", logfile="mslist.txt")

Running an application that consumes a parset. Given an existing parset, we are overriding a few parameters

# ccalapply.in
Ccalapply.calibaccess               = table
Ccalapply.distribute                = false
Ccalapply.Tiles                     = auto
from taitale import taitale_env
from taitale.askap import ccalapply

env = taitale_env(runtime="container", image="csirocass/askapsoft", tag="1.17.6-openmpi4")
ccalapply(
    env=env,
    parset="ccalapply.in",
    args={
        "dataset": "1934-638.ms",
        "calibaccess.table": "1934-638.calib.tab",
    },
)

Building from source for development

# Install Poetry if you haven't already
curl -sSL https://install.python-poetry.org | python3 -

# Install dependencies and the package in development mode
poetry install --with test,dev

# Running tests
poetry run pytest

# Running style checks
poetry run ruff check .  # for linting
poetry run black .      # for formatting

Building documentation

poetry install --with docs
poetry run sphinx-build -b html docs/source docs/build/html

Documentation

The documentation along with example workflows can be found here

Why the name?

Taitale is the Etruscan name of Daedalus. This tools strives to excel in crafting pipelines

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

taitale-1.0.2.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

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

taitale-1.0.2-py3-none-any.whl (39.6 kB view details)

Uploaded Python 3

File details

Details for the file taitale-1.0.2.tar.gz.

File metadata

  • Download URL: taitale-1.0.2.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.6 Darwin/23.6.0

File hashes

Hashes for taitale-1.0.2.tar.gz
Algorithm Hash digest
SHA256 a3a078613d7318550a12122153a00aa205155562a1fbc41b2494bffe8dbd3bbc
MD5 0386226cf1974549008b369a86b072d8
BLAKE2b-256 6960d7b479df791e2775690f654081c724c756b39ae421e2c1ed6041cfd0d92c

See more details on using hashes here.

File details

Details for the file taitale-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: taitale-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 39.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.6 Darwin/23.6.0

File hashes

Hashes for taitale-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0ac79c81e9ff1f0499961196655e8f6970eded8b25f94e080452708afd8e9d01
MD5 aa6023205b3c40081d479a9fbe25534c
BLAKE2b-256 d7d87d202b2439945d42649d18767a94d7fc29aed0262441da14bbccf621b9c6

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