Skip to main content

Tools for the analysis of stellar spectropolarimetric data

Project description

Welcome to SpecpolFlow!

SpecpolFlow is live on PyPI at:

pip install specpolFlow

Installing SpecpolFlow will automatically install LSDpy.

The spectrum normalization tool NormPlot is an optional extra. It can be installed at the same time as SpecpolFlow using:

pip install specpolFlow[norm]

or NormPlot can be installed separately using:

pip install normPlot

Documentation is live on our website at: folsomcp.github.io/specpolFlow/

About SpecpolFlow

SpecpolFlow is a software package that provides a completely pythonic workflow for the analysis of spectropolarimetric observations of stellar sources (for example, data acquired from ESPaDOnS at CFHT, Narval at TBL, etc). It is designed to provide a single, user-friendly pipeline from telescope to science product.

SpecpolFlow incorporates tools for spectra normalization (Github: folsomcp/normPlot) and LSD profile calculation (Github: folsomcp/LSDpy). It also provides several supporting tools, including tools for developing and cleaning line masks, calculating the longitudinal magnetic field, and visualizing LSD profiles. These tools can be used through a fully documented Python API, or through a command line interface.

We also maintain a series of detailed tutorials, with examples of how to construct a flexible workflow from SpecpolFlow's tools for your specific needs (e.g., automation for very large datasets using tools like pandas = Python for Data Analysis). These tutorials are in the form of Jupyter Notebooks, which can also be run using collaborative platforms such as Google Colab.

The full documentation can be found here: folsomcp.github.io/specpolFlow/

Citing

If you use SpecpolFlow in your research, please cite our paper in the Journal of Open Source Software: Folsom, Erba, et al., (2025). SpecpolFlow: a new software package for spectropolarimetry using Python. Journal of Open Source Software, 10(111), 7891

DOI

Contact us!

You can reach the SpF Development Team at: specpolflow@gmail.com

SpF Development Team:

  • Christi Erba (co-PI)
  • Colin Folsom (co-PI)
  • Veronique Petit
  • Shaquann Seadrow
  • Patrick Stanley
  • Tali Natan
  • Bonnie Zaire

Current Contributors:

  • Gregg Wade
  • Mary Oksala

Past Contributors:

  • Federico Villadiego Forero
  • DJ Meleney
  • Robin Moore
  • Dax Moraes
  • Marisol Catalan Olais

Logo:

The SpecpolFlow logo was created by the talented Tali Natan! Please contact the SpF team if you would like to use this graphic in a publication.

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

specpolflow-1.1.0.tar.gz (97.8 kB view details)

Uploaded Source

Built Distribution

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

specpolflow-1.1.0-py3-none-any.whl (106.9 kB view details)

Uploaded Python 3

File details

Details for the file specpolflow-1.1.0.tar.gz.

File metadata

  • Download URL: specpolflow-1.1.0.tar.gz
  • Upload date:
  • Size: 97.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for specpolflow-1.1.0.tar.gz
Algorithm Hash digest
SHA256 c4f0a2c5826205a155ba16b7c472c6f51e3d69c31b278460395f5bd5ca0ed951
MD5 f4467d13c05b5e8b99a1189e155d0dfa
BLAKE2b-256 8a1ba24a5cf64cafe50913b73386fb6e8265cc6875a433e27ff241e11ed92650

See more details on using hashes here.

File details

Details for the file specpolflow-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: specpolflow-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 106.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for specpolflow-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 76ef766e5c6cbe9dc827703cddda8aad8fb09a371659f6636cc7d1f0449f7649
MD5 a842e256994f8237b8c6045dd7fd3b1c
BLAKE2b-256 5335319469ab8a608489f2f97683fbdacbf43c2a1061537543784128ac13e426

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