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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mdwarf_contin-1.0.1.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

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

mdwarf_contin-1.0.1-py3-none-any.whl (2.0 MB view details)

Uploaded Python 3

File details

Details for the file mdwarf_contin-1.0.1.tar.gz.

File metadata

  • Download URL: mdwarf_contin-1.0.1.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.13 Darwin/23.6.0

File hashes

Hashes for mdwarf_contin-1.0.1.tar.gz
Algorithm Hash digest
SHA256 c7fc5efdb5be04c98c97b8d22e3ee9972e641a80cc398c18ea8df7598aa7be1f
MD5 dd9c868f1456e7d327fd757f60c0afbb
BLAKE2b-256 131ab124603379754aedc0219f0a1ba274b2abd630dbffab929ea0c44af9d445

See more details on using hashes here.

File details

Details for the file mdwarf_contin-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: mdwarf_contin-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.13 Darwin/23.6.0

File hashes

Hashes for mdwarf_contin-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 21c3d621a0a7ccf4b1d6c896cb3859266614b82eb25f59cf7946b6cb54a28949
MD5 fb37b8853309b44f37be2c3354f1544e
BLAKE2b-256 d8ecd347b36af4b7a55c2051c760f05092c5733d0b11e9d88561d627b177dd84

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 files

1.0.0

2 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