Skip to main content
http://img.shields.io/badge/powered%20by-AstroPy-orange.svg?style=flat https://github.com/bmorris3/expecto/workflows/CI%20Tests/badge.svg Documentation Status

Pure Python package for retrieving PHOENIX model stellar spectra via FTP. Spectra are returned as specutils.Spectrum1D objects.

Basic Usage

Let’s get a Sun-like spectrum:

from expecto import get_spectrum

spectrum = get_spectrum(
    T_eff=5800, log_g=4.5, cache=False
)

and let’s plot that spectrum:

import matplotlib.pyplot as plt
from astropy.visualization import quantity_support

with quantity_support():
    plt.plot(spectrum.wavelength, spectrum.flux)

Download files

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

Source Distribution

expecto-0.1.4.tar.gz (25.1 kB view details)

Uploaded Source

Built Distribution

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

expecto-0.1.4-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file expecto-0.1.4.tar.gz.

File metadata

  • Download URL: expecto-0.1.4.tar.gz
  • Upload date:
  • Size: 25.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for expecto-0.1.4.tar.gz
Algorithm Hash digest
SHA256 00ebd89773277b548b464c6a7c806f267ffc4a47b77be7fa7b9c71ba1834ffd5
MD5 3c4ac0e2d04e3be09e624987ed361214
BLAKE2b-256 8a303a7f50af972b732797165ed47c980e698a7513f24163d970746930dccc4f

See more details on using hashes here.

File details

Details for the file expecto-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: expecto-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for expecto-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 39519e22ad2c012dbd5e487e9834ec6261cb8d1d8e5c667e858329c55bd1d586
MD5 82633a8c4009fac4057c4b4926b5a4a6
BLAKE2b-256 0b9e96d760a3e6a3e927e3975673c35ab16af50e68b7f88793dd1b03a952584d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 files

0.1.3

1 file

0.1.2

1 file

0.1.1

1 file

0.1.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page