Skip to main content

TART: Radio-telescope command line tools

This module provides command line tools for operating Transient Array Radio Telescope (TART). These tools are

  • tart_calibrate
  • tart_calibration_data
  • tart_download_antenna_positions
  • tart_upload_antenna_positions
  • tart_get_archive_data
  • tart_download_data
  • tart_download_gains
  • tart_image
  • tart_upload_gains
  • tart_set_mode
  • tart_vis2json

To generate an image from a telescope, try the following command which should display the current view from a telescope on top of Signal-Hill near Dunedin New Zealand.

tart_image --api https://tart.elec.ac.nz/signal --display

For more information see the TART website

Install Instructions

tart_tools is available from standard python package repositories. Try:

pip3 install tart_tools

Authors

Development work

If you are developing this package, this should be installed using

	make develop

in which case changes to the source-code will be immediately available to projects using it.

NEWS

  • 1.4.7 Fix tart_vis2json failing on HDF5 input with AttributeError: 'str' object has no attribute 'baselines' (visibility.list_load() returns the from_hdf5() dictionary for HDF5 files, not a list of Visibility objects). The script now loads HDF5 and deprecated pickle inputs by extension, accepts in-memory inputs, and writes filesystem-safe output names, with regression tests. tart_download_data: honour the --file option as the output file name, and document the poller behaviour (after N downloads vs keeping the feed open).

  • 1.4.6 Bug fixes - tart_download_data: default --n -1 no longer skips the newest entry. Negative n now means "download everything" (previously [0:-1] slicing dropped the most recent file on each pass). - tart_get_archive_data: --name is now honoured as the output file name prefix (it was previously parsed but ignored). The default prefix remains 'obs_', producing files like 'obs_00000.hdf'. - Replace 'from tart_tools.common_api import *' with an explicit import of api_parameter in all command line tools to remove undefined-name warnings.

  • 1.4.5 Use common command line parameter functions for api to allow better documentation.

  • 1.4.4 Use explicit parameter names for all minio calls.

  • 1.4.3 Use the new TART s3 public bucket for archive access

  • 1.4.2 Make download_file download to a temporary file before copying to actual file.

  • 1.4.0 Add an archive_handler

  • 1.3.0 Huge refactor to get tests going again.

  • 1.2.2 Add a backoff factor. So that failed requests are delayed

  • 1.2.1 Add retry logic to the requests.get methods.

  • 1.2.0b3 Update links to the github repository.

  • 1.2.0b2 tart_get_archive_data: Use a five digit leading-zeros number for multiple downloads, default to all data if --n is not specified

  • 1.2.0b1 new tool: tart_get_archive_data super convenient to query the AWS cloud archive of TART data.

  • 1.1.2b8 Add an argument --rotate to tart_upload_antenna_positions (for first stage of calibration)

  • 1.1.2b7 Handle expiration of JWT tokens better (in tart_tools)

  • 1.1.2b7 TART tools update. Add a command line switch to specify output file for tart_download_data'

  • 1.1.2b6 Pass the lat and lon to catalog_url

  • 1.1.2b5 Require the python-dateutil library

  • 1.1.2b4 Require the requests library

  • 1.1.2b3 Change API of catalog_url to use lon and lat explicitly

  • 1.1.2b1 Fix a missing checksum call if a local file was partially downloaded (tart_download_data).

  • 1.1.2b0 Make h5 to json compatible with tart2ms json import.

  • 1.1b.8 New versioning to match tart. Move to new repository

  • 0.2.0b14. Improve API handler code.

  • 0.2.0b13. Clean up code to use other API endpoints. Add CLI to --ignore some antennas Add --n option to tart_download_data to stop after n downloads (used to grab the latest raw file) Add CLI to use the influxdb

  • 0.2.0b12. Fix bug in get-gains option.

  • 0.2.0b11. Add a tart_set_mode binary.

  • 0.2.0b9. Add a timeout to all HTTP requests.

  • 0.2.0b8. Add a put method to the authorized api handler.

  • 0.2.0b7. Fix typo in tart_calibrate that stopped calibration working.

  • 0.2.0. New tart_download_data function.

  • 0.1.5. Python3 compatability changes

Metadata

Release files for tart-tools 1.4.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tart-tools 1.4.7
File Size Uploaded Provenance Actions
tart_tools-1.4.7.tar.gz 42.0 kB With provenance Details for tart_tools-1.4.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tart-tools 1.4.7
File Interpreter ABI Platform Actions
tart_tools-1.4.7-py3-none-any.whl Python 3 none any Details for tart_tools-1.4.7-py3-none-any.whl

Total release size: 96.0 kB

Release files / tart_tools-1.4.7.tar.gz

Download URL tart_tools-1.4.7.tar.gz
Size 42.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fb51490c9c83d2319a974c72e9abbe666cf425e157c036eadec742c595ca5823
BLAKE2b-256 checksum
How to use checksums
e2b374bfc5982c5af71476bfc8fc85f3caa5074a1415448cb54c574e5ece4c5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / tart_tools-1.4.7-py3-none-any.whl

Download URL tart_tools-1.4.7-py3-none-any.whl
Size 53.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
224ba886ceb3a8e040e637d66797fc62214050380134477ed68420d8494eae1d
BLAKE2b-256 checksum
How to use checksums
2b0ebb17ae63fda23eb25a18a65499e4e0d5d07c58a242dc022f266860f7574e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Security for tart-tools 1.4.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for tart_tools-1.4.7.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.4.7 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page