Skip to main content

The Transients Pipeline (or 'TraP') is a Python based system for detecting and responding to transient and variable sources in a stream of astronomical images.

Project description

Transients Pipeline

Documentation PyPI Downloads PyPI

The Transients Pipeline (or "TraP") is a system for detecting transient and variable sources in a stream or batch of astronomical images. It primarily targets LOFAR data, but is also applicable to a range of other instruments.

Documentation: https://transients-pipeline.readthedocs.io/en/latest/

This is a rework of the original package hosted here: https://github.com/transientskp/tkp An overview of the package and it's initial design can be found in the original TraP paper. If you make use of TraP in work leading to a publication, we ask that you cite this reference.

The rework is focussed on performance, ease of deployment and ease of use and code maintainability. The approach of associating sources between images is still based on the paper linked above, as this approach has shown itself to be suitable to finding a variety of transient and variable sources.

How TraP operates (high level overview)

The way the package is meant to operate is that it will run on astronomical images (.FITS recommended) and will use a source finder (PySE) to find all the sources in a given image. This is done for all images individually. The source finder returns information on each source extracted from the image, such as it's position, the intensity (flux) and their related errors. In order to construct light curves/time series of each source, the sources extracted from the first image are matched to (associated with) the sources extracted from the second image. This creates a table of known source locations. We track the locations of each of these as we go, but we export the information of every source extracted from every image in the export database. For more information on the export database structure, see the Database Reference For every source we export to the database, we also save the index of the source it was associated with in the previous image. This creates a daisy-chain of ids we can use to reconstruct a lightcurve.

Interpreting the results

We want to support a broad range of transients and variability science. During the processing therefore, we make few assumptions about what makes a good source. Any kind of filtering on the data can be done afterwards. The database can be queried to select the sources in a given position or with a certain intensity, error margin, etc.. The user can then decide what qualities make for an interesting source. The most common way to interact with the data is to use a Jupyter Notebook, read some results from the database and plot the results. Some basic examples can be found in the Example Gallery

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

trap-1.4.0.tar.gz (87.7 kB view details)

Uploaded Source

Built Distribution

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

trap-1.4.0-py3-none-any.whl (57.6 kB view details)

Uploaded Python 3

File details

Details for the file trap-1.4.0.tar.gz.

File metadata

  • Download URL: trap-1.4.0.tar.gz
  • Upload date:
  • Size: 87.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for trap-1.4.0.tar.gz
Algorithm Hash digest
SHA256 63764c65bb19618743e33ca6fbda3c47e2f1883839d0a80119b3bb78c46cc28c
MD5 902c5b1841ddf45625d3acf39470990d
BLAKE2b-256 2ac74c638fe65e96c2ce6a61b99062c406fc219a6eef3871ec6cacba1d28b786

See more details on using hashes here.

File details

Details for the file trap-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: trap-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 57.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for trap-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d85ebed56acfe512f543a33ec18d6273f21cc6656290ae4d0c6ece85ef974059
MD5 a1761fbe741a0dc9d788f8999776bbd1
BLAKE2b-256 4e86b0286b0ca58e4830d02f8f37e4b320a8b6a2b3426bbb3b24054e27c3d776

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