Skip to main content

A toolbox for processing data from long-slit spectrographs

Project description

Welcome to specsuite!

For help with getting specsuite running on your own data, please check out the documentation page!

Introduction

Although other spectroscopic reduction tools exist, they are often designed for a small subset of instruments, have hard-to-read documentation, or are difficult to debug. specsuite was designed to address all three of these concerns, providing a set of robust, generalized, and user-friendly reduction tools! As of writing, this reduction pipeline has been tested this reduction pipeline against data from...

  • Gemini North (GMOS-N)
  • Apache Point Observatory (KOSMOS)
  • Sommers-Bausch Observatory (SBO)

...but we are constantly testing on data from other telescopes!

Another advantage of specsuite is its modularity. All functions were designed to be easy to slot into an existing reduction pipeline (assuming the data is formatted correctly). If there are features you would like to see added to specsuite, please feel free to add an issue on this repository for our developers to address!

Installation

To install the most recent version of specsuite, run the following command from your terminal...

pip install specsuite

OR if you would like to install a version from this repository, the run...

git clone https://github.com/Autumn10677/specsuite.git
cd specsuite
pip install .

How can I test specsuite runs on my computer?

We have provided a handful of files and scripts that should help you get started on processing your data.

  • specsuite_env.yml ~ A working Conda environment for the current version of the package.
  • workflow.smk ~ This is a "snakemake workflow" set to run on some sample data taken from APO's long-slit spectrograph.

Note that using the 'specsuite_env.yml' requires you to have Conda already installed on your computer. Instructions on installing Conda for Windows, macOS, and Linux can be found here! To run this workflow on your own computer, first clone the repository using...

git clone https://github.com/Autumn10677/specsuite.git
cd specsuite

Then run...

conda env create -f environment.yml
conda activate specsuite_env
snakemake --cores 1

This should deposit a set of files in an 'output/' folder that you can use to check out how the pipeline works at various steps in the analysis. These outputs include both images and '.npy' files used for storing exposure data between steps of the pipeline. If you see...

Finished jobid: 0 (Rule: all)
4 of 4 steps (100%) done

...then the pipeline ran successfully!

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

specsuite-1.1.9.tar.gz (22.5 MB view details)

Uploaded Source

Built Distribution

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

specsuite-1.1.9-py3-none-any.whl (22.5 MB view details)

Uploaded Python 3

File details

Details for the file specsuite-1.1.9.tar.gz.

File metadata

  • Download URL: specsuite-1.1.9.tar.gz
  • Upload date:
  • Size: 22.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for specsuite-1.1.9.tar.gz
Algorithm Hash digest
SHA256 4ccbc51c6d0e157208bb0952d641aff224e669c531f5bb5bf07bdc28121c7f68
MD5 99139bcd12cf1c1ddc990a2e66b2981a
BLAKE2b-256 80f1d1c3626c294b1d0a265921b6e8fe865082e3b041938164755dde6fca1f39

See more details on using hashes here.

Provenance

The following attestation bundles were made for specsuite-1.1.9.tar.gz:

Publisher: publish.yml on Autumn10677/specsuite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file specsuite-1.1.9-py3-none-any.whl.

File metadata

  • Download URL: specsuite-1.1.9-py3-none-any.whl
  • Upload date:
  • Size: 22.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for specsuite-1.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 3a493fee0257e7f7b3be6f9d58f878305908cbcfa29b242c1e2b8ad8d2cd9356
MD5 6b43a19105df9d2e3f35349a96a386af
BLAKE2b-256 6f38185a8206139838d5c635d7c19b2b90e6c367ca547848238ff92a38e6aba7

See more details on using hashes here.

Provenance

The following attestation bundles were made for specsuite-1.1.9-py3-none-any.whl:

Publisher: publish.yml on Autumn10677/specsuite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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