Skip to main content

Simple Transient Detection Pipeline

Project description

STDPipe - Simple Transient Detection Pipeline

AKA: random codes noone else will ever use

STDPipe is a set of Python routines for astrometry, photometry and transient detection related tasks, intended for quick and easy implementation of custom pipelines, as well as for interactive data analysis.

Design principles

  • implemented as a library of routines covering most common tasks
  • operates on standard Python objects: NumPy arrays for images, Astropy Tables for catalogs and object lists, etc
  • does not try to re-implement the things already implemented in other Python packages
  • conveniently wraps external codes that do not have their own Python interfaces (SExtractor, SCAMP, PSFEx, HOTPANTS, Astrometry.Net, ...)
    • wrapping is transparent: all data passed from Python, all options customizable from Python, all (or most of) outputs available back
    • everything operates on temporary files, nothing is kept after the run unless explicitly asked for

Features

  • pre-processing - should be handled before in an instrument-specific way
    • bias/dark subtraction, flatfielding, masking
  • object detection and photometry
    • SExtractor or SEP for detection, photutils for photometry
  • astrometric calibration
    • Astrometry.Net for blind WCS solving
    • SCAMP or Astropy-based code for refinement
  • photometric calibration
    • Vizier catalogues, passband conversion (PS1 to Johnson, Gaia to Johnson, ...)
    • spatial polynomial + color term + intrinsic scatter
  • image subtraction
    • HiPS templates
    • PanSTARRS DR1 or Legacy Survey templates
    • HOTPANTS + custom noise model
    • ZOGY
  • transient detection and photometry
    • noise-weighted detection, cutout adjustment, ...
  • auxiliary functions
    • PSF estimation, simulated stars, FITS header utilities, plotting, ...
  • light curve creation (soon)
    • spatial clustering, color regression, variability analysis, ...

Installation

STDpipe is available at https://github.com/karpov-sv/stdpipe and is mirrored at https://gitlab.in2p3.fr/icare/stdpipe

The package is in constant development, so to keep track of the changes the suggested way of installing it is by cloning the repository

git clone https://github.com/karpov-sv/stdpipe.git

and then installing from it in development (or "editable") mode by running the command

cd stdpipe
python3 -m pip install -e .

This way you may update the repository or apply local patches, and it will immediately be reflected in the installed package.

Apart of Python requirements that will be installed automatically, STDPipe also (optionally) makes use of the following external software:

Most of them may be installed from your package manager. E.g. on Debian or Ubuntu systems it may look like that:

sudo apt install sextractor scamp psfex swarp

or, on Miniconda/Anaconda, like that:

conda install -c conda-forge astromatic-source-extractor astromatic-scamp astromatic-psfex astromatic-swarp

You may also check more detailed installation instructions here.

Usage

Please consult the documentation for STDPipe for the basic usage patterns and description of its API. You may check the examples inside notebooks/ folder, especially the tutorial that demonstrates basic steps of a typical image processing.

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

stdpipe-0.2.5.tar.gz (11.2 MB view details)

Uploaded Source

File details

Details for the file stdpipe-0.2.5.tar.gz.

File metadata

  • Download URL: stdpipe-0.2.5.tar.gz
  • Upload date:
  • Size: 11.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for stdpipe-0.2.5.tar.gz
Algorithm Hash digest
SHA256 6bf7cfce878d452d17066c32bc01ebc767cb7c07b6ebe43f2487a1408a0167dd
MD5 d91fe1dd6d2ac354c1c02af1e37f5194
BLAKE2b-256 0fcd9c371859005ac90c63058af2716c24241ea88220c95324a569a34505122a

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