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

Uploaded Python 3

File details

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

File metadata

  • Download URL: taitale-1.1.0.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.1.0.tar.gz
Algorithm Hash digest
SHA256 afa56c2571f3f164d935eb64bd0f2290d2c3d4b84715c3f49705927f5ecff700
MD5 3d5b85bdabf0f3e6ebb50af5dadcbbc8
BLAKE2b-256 1df01bff62c71294bff0e419a87d3c5cc0a0761eaf53f82b39f0ab4e51252809

See more details on using hashes here.

File details

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

File metadata

  • Download URL: taitale-1.1.0-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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 397949f2f5a5a45a0ff9bd0351de5cb33c891abfc3fe0d2404b42e5a9a1d2659
MD5 93306d80037e98167e2286f69b81c948
BLAKE2b-256 316efd03c6b74ab1210d292849164dbd1d559e5184bf85e28a14b22d732605f5

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