MILESpy API reference documentation

The reference documentation for milespy is largely generated automatically from the source code. It is split into the following sections:

Stellar spectra library

milespy.stellar_library.StellarLibrary([...])

Single stars library.

SSP models

milespy.ssp_library.SingleStellarPopulationLibrary([...])

Library of single stellar population (SSP) models.

milespy.ssp_library.SSPLibrary(*args, **kwargs)

Alias for SingleStellarPopulationLibrary.

SFH analysis

milespy.star_formation_history.StarFormationHistory([time])

Star formation history (SFH) container and synthesis of composite spectra from SSPs.

milespy.star_formation_history.SFH(*args, ...)

Alias for StarFormationHistory.

Spectra manipulation

milespy.spectra.Spectra(*args, **kwargs)

Class for storing spectra in milespy.

Other tools

milespy.filter

Filter database access and transmissivity curves for photometric bandpasses.

milespy.line_strength_indices

Line-strength index definitions and computation (Lick/IDS-style indices).

milespy.magnitudes

Magnitude computation from spectra and filter response (AB and Vega zeropoints).