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.3.0.tar.gz (84.4 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.3.0-py3-none-any.whl (55.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for trap-1.3.0.tar.gz
Algorithm Hash digest
SHA256 f0cd7de1ff25250a4ca77308e1bac3f0b3bf1d16cef597734abfd760d3390f4c
MD5 a8ed293bf7d564c2279d2e7dbbc268c2
BLAKE2b-256 197f9018ff4c0142143e42aceb5735adb40dccd2b9152d7344097d21dd5a2183

See more details on using hashes here.

File details

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

File metadata

  • Download URL: trap-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 55.5 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 86414f673decb8f69ef8ada16692f5ab1847409238ed3a26a8c83502e3d0a8ef
MD5 a6743c54f36c44f7225369df3ebcc523
BLAKE2b-256 7c441b148de6f837b6f903d8daca6adb179719d1f3e3400e35536ff5e40fd883

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