PHOENIX model spectrum retriever
Project description
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)
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
expecto-0.1.1.tar.gz
(10.4 kB
view details)
File details
Details for the file expecto-0.1.1.tar.gz
.
File metadata
- Download URL: expecto-0.1.1.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e01bcc66e45d4e30de0691415cd34f2d44f1f5467d4184bcbe3c981303e0b88 |
|
MD5 | 59429b9f15be9ecef9b693515eb73daf |
|
BLAKE2b-256 | 2466dd2d391604c770e6dbfd4321f745d11ed1c922f1ce11df4e9dee151d2fd3 |