Skip to main content

Continuum Normalization of M Dwarfs

tests DOI Paper

Code to continuum normalize M dwarfs using alpha hulls and local polynomial regression. This package is based on the methods outlined in Medan & Way et al. (2025).

Installation

Use the following commands to install the code locally.

git clone https://github.com/imedan/mdwarf_contin
cd mdwarf_contin
conda create -n "mdwarf_contin_code" python=3.10 ipython
conda activate mdwarf_contin_code
pip install poetry
poetry install --without extras

If you want to install the extra dependencies needed to use features that manipulate model spectra into SDSS-like spectra, then the extra dependencies must also be installed. This can be done by running:

poetry install

Usage

The notebook in tests/example_usage.ipynb provides an overview on how to use the code for doing normalization.

Metadata

Release files for mdwarf-contin 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mdwarf-contin 1.0.1
File Size Uploaded
mdwarf_contin-1.0.1.tar.gz 2.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for mdwarf-contin 1.0.1
File Interpreter ABI Platform
mdwarf_contin-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 4.0 MB

Release files / mdwarf_contin-1.0.1.tar.gz

Download URL mdwarf_contin-1.0.1.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
c7fc5efdb5be04c98c97b8d22e3ee9972e641a80cc398c18ea8df7598aa7be1f
BLAKE2b-256 checksum
How to use checksums
131ab124603379754aedc0219f0a1ba274b2abd630dbffab929ea0c44af9d445
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.10.13 Darwin/23.6.0

Release files / mdwarf_contin-1.0.1-py3-none-any.whl

Download URL mdwarf_contin-1.0.1-py3-none-any.whl
Size 2.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
21c3d621a0a7ccf4b1d6c896cb3859266614b82eb25f59cf7946b6cb54a28949
BLAKE2b-256 checksum
How to use checksums
d8ecd347b36af4b7a55c2051c760f05092c5733d0b11e9d88561d627b177dd84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.10.13 Darwin/23.6.0

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page