Skip to main content

Create a tracking beam from ARTS tied-array beam data

Project description

ARTS tracking beams

DOI PyPI version CI codecov

The Apertif Radio Transient System (ARTS) archive contains tied-array beam (TAB) data. The TABs have a time-dependent and frequency-dependent pointing. This tool is able to convert the TAB data to a tracking beam (TB), which tracks a fixed point on the sky over the course of an observation. Additionally, it can convert TAB data to Synthesised Beams (SBs), which are suitable for transient searches.

Dependencies

  • python >= 3.6
  • numpy >= 1.17
  • astropy
  • tqdm

Installation

To install the latest release:

pip install arts_tracking_beams

To install the latest master branch:

pip install git+https://github.com/loostrum/arts_tracking_beams

Usage

Basic usage of this package is described below. Tutorials are available at https://loostrum.github.io/arts_tracking_beams.

Input data

First download the data set of interest from the Apertif Long-Term Archive (ALTA). Tools to find which pulsars are in the field-of-view of a given Apertif pointing and to download the data are available as a separate python package.

A data file from the archive is identified by three parameters: the task ID, compound beam (CB) index, and TAB index. The file ARTS200102003_CB00_TAB00.fits would be the observation identified by task ID 200102003 (that is, the third observation on January 2nd, 2020), CB zero, TAB zero. A TB is created from the TABs of a single CB.

Creating a tracking beam

A tracking beam (TB) is created from the TAB data with arts_create_tracking_beam.

The simplest use case is to create a tracking beam from a folder which contains only one data set (i.e. the TABs of one CB of one observation), for a source with known coordinates. For example, to create a tracking beam towards the Crab pulsar:

arts_create_tracking_beam --input_folder /path/to/data/ --source 'PSR B0531+21'

If there are multiple data sets in the input data folder, specify the task ID and/or CB index. Instead of the source name, it is also possible to provide a RA and Dec. The name of the output FITS file is determined automatically from the input source name or RA/Dec, but can also be specified manually. Using all of these options, an example command is:

arts_create_tracking_beam --input_folder /path/to/data/ --taskid 200102003 --cb 0 --ra 05:34:32 --dec 22:00:52 --output tracking_beam.fits

The TB creation consists of two steps:

  1. Calculate the required TABs at each frequency and time
  2. Reorder the data from the input TAB FITS files and create a new FITS file containing the TB.

The results of step 1 can be saved to disk with --save_tab_indices. To only calculate the TAB indices and disable step 2 completely, use --no_fits_output. To generate the FITS output from a TAB indices file on disk, use--load_tab_indices /path/to/tab/index/file.txt. The script then loads the TAB indices and immediately goes to step 2.

There are a few more settings that can be customized. Run arts_create_tracking_beam -h for an overview of all options.

Creating a synthesised beam

A synthesised beam (SB) is a type of beam that reorders the TABs as function of frequency, but not as function of time. A single CB is covered by 71 SBs. Each SB is always made out of the same TABs. The SBs are used in the real-time transient search that ARTS runs. The brightest transients may also be detectable in the archival data, so we here include a tool to create the synthesised beams as well.

The synthesised beam tool, arts_create_synthesised_beam, works in a very similar fashion as the tracking beam tool. An example command:

arts_create_synthesised_beam --input_folder /path/to/data --sb 35

Run arts_create_synthesised_beam -h for more options.

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

arts_tracking_beams-1.3.tar.gz (22.0 kB view details)

Uploaded Source

Built Distribution

arts_tracking_beams-1.3-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

Details for the file arts_tracking_beams-1.3.tar.gz.

File metadata

  • Download URL: arts_tracking_beams-1.3.tar.gz
  • Upload date:
  • Size: 22.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for arts_tracking_beams-1.3.tar.gz
Algorithm Hash digest
SHA256 7fc122a48f157089e321107c820ee9e73c14ccc61a4674491c431e42c057c9b9
MD5 8f3b47cfbd0361b94da1ab1a49ab9fe8
BLAKE2b-256 1884b9f907dc0ec2b51dc12df21fb1dc22d205aada0778d0b2e63d16390bb71b

See more details on using hashes here.

File details

Details for the file arts_tracking_beams-1.3-py3-none-any.whl.

File metadata

  • Download URL: arts_tracking_beams-1.3-py3-none-any.whl
  • Upload date:
  • Size: 30.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for arts_tracking_beams-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 79764f7496dce67c0abe4aa3debc750bcd825dba28a86b51060b2cebb8b9032a
MD5 d95579647415d34d0a16f1768d28e7b2
BLAKE2b-256 75f2c1d6f64eb2e288beb71421d32d34ac1057ed9b37d93d962efb76aed641a9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page