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.1.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.1-py3-none-any.whl (39.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: taitale-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 6591cb7a24321ca4fa3206f4977bf8911072cc81056eb3c1dc3a00951d6ca06c
MD5 3c47e1e42f2d4b419adfba99fe54993d
BLAKE2b-256 1fbbb3f0ff179ccf246d65589b44bb53f40a1659c8d4de5da860cdfbb66eeb31

See more details on using hashes here.

File details

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

File metadata

  • Download URL: taitale-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 39.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 07e10855d75b555b3a500e4fc89a335bc84a67ffca399dbeb53956cb9db4df0d
MD5 1e5aa104feb54945147a399ce4d8edf1
BLAKE2b-256 075f8ac21d34bb48a0a234758dba3f4c37ffc77e1b30d6946f918a5911550c37

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