"Automated Data Reduction Pipeline for Palomar's Double Spectrograph"
Project description
DBSP_DRP
Description
DBSP_DRP is a Data Reduction Pipeline for Palomar's workhorse spectrograph DBSP. It is built on top of PypeIt. DBSP_DRP automates the reduction, fluxing, telluric correction, and combining of the red and blue sides of one night's data. It adds several GUIs to allow for easier control of your reduction:
- select which data to reduce, and verify the correctness of your FITS headers in an editable table GUI
- manually place traces for a sort of manually "forced" spectroscopy with the
-m
option - after manually placing traces, manually select sky regions and tweak the FWHM of your manual traces
The latest documentation can be found on Read the Docs.
Citation
If you use DBSP_DRP in your research, please cite this repository
DBSP_DRP (2021). https://github.com/finagle29/DBSP_DRP
or use this BibTeX reference
@misc{dbsp_drp2021,
title = "DBSP_DRP",
year = "2021",
publisher = "GitHub",
url = "https://github.com/finagle29/dbsp_drp"}
}
and please also cite PypeIt.
Citation
If you use DBSP_DRP in your research, please also reference PypeIt.
Prerequisites
DBSP_DRP's dependencies are detailed in environment.yml. You can install all prerequisites by downloading the environment.yml file, navigating to the directory containing it in your terminal window and running
$ conda env create -f environment.yml
The telluric correction code provided by PypeIt relies on a large (5 GB) atmospheric model file,
TellFits_Lick_3100_11100_R10000.fits, which can be downloaded
here
and must be installed into the pypeit/data/telluric/
directory of your PypeIt installation.
An easier alternative is to use the download_tellfile script to download and install the atmospheric model file for you.
Installation
You can install using pip
$ pip install git+https://github.com/finagle29/DBSP_DRP.git
Or you can install from source
$ git clone https://github.com/finagle29/DBSP_DRP.git
$ cd DBSP_DRP
$ pip install -e .
Usage
$ dbsp_reduce -r /path/to/data/DBSP_YYYYMMDD -d /path/to/data/DBSP_YYYYMMDD_redux
[-a {red,blue}] [-i] [-m] [--debug] [-j N] [-p PARAMETER_FILE] [-t] [-c]
[--splicing-interpolate-gaps]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file DBSP_DRP-0.9.0.tar.gz
.
File metadata
- Download URL: DBSP_DRP-0.9.0.tar.gz
- Upload date:
- Size: 12.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7308095ae3709445be11b4e488d4c113b02ddd298daa8607be76e1f71e547b6f |
|
MD5 | 497d88fbe6c568004bde25c9aaa74dcd |
|
BLAKE2b-256 | 9078e92585b4430bde36cc019201807f691ece141d66a575bbb700da737a97cc |
File details
Details for the file DBSP_DRP-0.9.0-py3-none-any.whl
.
File metadata
- Download URL: DBSP_DRP-0.9.0-py3-none-any.whl
- Upload date:
- Size: 11.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8582989d90803acb6aa3f08f5de0cb5b52618ff22d1987c581861dce68097938 |
|
MD5 | 5a680419af5f3a5b5715612e335b44d3 |
|
BLAKE2b-256 | 2be56ac071015342e6e4defbb7cf8052bb15d8da4046317440c6fe71b4dd023a |