Continuum Normalization of M Dwarfs
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mdwarf_contin-1.0.1.tar.gz | 2.0 MB | Without provenance | Details for mdwarf_contin-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mdwarf_contin-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for mdwarf_contin-1.0.1-py3-none-any.whl |
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
|
Security for mdwarf-contin 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.