#include <FSPSSED.hpp>
Public Types | |
enum class | IMF : int { Chabrier , Kroupa , Salpeter } |
Public Member Functions | |
double | age () const |
IMF | imf () const |
double | metallicity () const |
![]() | |
double | generateWavelength () const override |
double | integratedLuminosity (const Range &wavelengthRange) const override |
Range | intrinsicWavelengthRange () const override |
double | specificLuminosity (double wavelength) const override |
void | specificLuminosityArray (Array &lambdav, Array &pv, const Range &wavelengthRange) const override |
virtual double | specificLuminosity (double wavelength) const =0 |
virtual void | specificLuminosityArray (Array &lambdav, Array &pv, const Range &wavelengthRange) const =0 |
![]() | |
virtual double | generateWavelength () const =0 |
virtual double | integratedLuminosity (const Range &wavelengthRange) const =0 |
virtual Range | intrinsicWavelengthRange () const =0 |
Range | normalizationWavelengthRange () const |
![]() | |
template<class T > | |
T * | find (bool setup=true) const |
template<class T > | |
T * | interface (int levels=-999999, bool setup=true) const |
virtual string | itemName () const |
void | setup () |
string | typeAndName () const |
![]() | |
Item (const Item &)=delete | |
virtual | ~Item () |
void | addChild (Item *child) |
const vector< Item * > & | children () const |
virtual void | clearItemListProperty (const PropertyDef *property) |
void | destroyChild (Item *child) |
virtual bool | getBoolProperty (const PropertyDef *property) const |
virtual vector< double > | getDoubleListProperty (const PropertyDef *property) const |
virtual double | getDoubleProperty (const PropertyDef *property) const |
virtual string | getEnumProperty (const PropertyDef *property) const |
virtual int | getIntProperty (const PropertyDef *property) const |
virtual vector< Item * > | getItemListProperty (const PropertyDef *property) const |
virtual Item * | getItemProperty (const PropertyDef *property) const |
virtual string | getStringProperty (const PropertyDef *property) const |
int | getUtilityProperty (string name) const |
virtual void | insertIntoItemListProperty (const PropertyDef *property, int index, Item *item) |
Item & | operator= (const Item &)=delete |
Item * | parent () const |
virtual void | removeFromItemListProperty (const PropertyDef *property, int index) |
virtual void | setBoolProperty (const PropertyDef *property, bool value) |
virtual void | setDoubleListProperty (const PropertyDef *property, vector< double > value) |
virtual void | setDoubleProperty (const PropertyDef *property, double value) |
virtual void | setEnumProperty (const PropertyDef *property, string value) |
virtual void | setIntProperty (const PropertyDef *property, int value) |
virtual void | setItemProperty (const PropertyDef *property, Item *item) |
virtual void | setStringProperty (const PropertyDef *property, string value) |
void | setUtilityProperty (string name, int value) |
virtual string | type () const |
Protected Member Functions | |
FSPSSED () | |
const SEDFamily * | getFamilyAndParameters (Array ¶meters) override |
![]() | |
FamilySED () | |
virtual const SEDFamily * | getFamilyAndParameters (Array ¶meters)=0 |
void | setupSelfBefore () override |
![]() | |
ContSED () | |
![]() | |
SED () | |
Random * | random () const |
void | setupSelfBefore () override |
![]() | |
SimulationItem () | |
virtual bool | offersInterface (const std::type_info &interfaceTypeInfo) const |
virtual void | setupSelfAfter () |
virtual void | setupSelfBefore () |
![]() | |
Item () | |
Private Types | |
using | BaseType = FamilySED |
using | ItemType = FSPSSED |
Private Attributes | |
double | _age |
IMF | _imf |
double | _metallicity |
Friends | |
class | ItemRegistry |
FSPSSED is a class that represents spectral energy distributions of simple stellar populations (SSPs), parameterized on metallicity and age, generated by the FSPS code presented by Conroy, Gunn, & White (2009, ApJ, 699, 486) and Conroy & Gunn (2010, ApJ, 712, 833), and assuming a Chabrier, Kroupa or Salpeter initial mass function. See the FSPSSEDFamily class for more information.
|
strong |
The enumeration type indicating the assumed initial mass function (IMF).
Chabrier : "Chabrier IMF" .
Kroupa : "Kroupa IMF" .
Salpeter : "Salpeter IMF" .
|
inlineprotected |
|
inline |
This function returns the value of the discoverable double property age : "the age of the SSP" .
This property represents a physical quantity of type "time" .
The minimum value for this property is "[0 Gyr" .
The maximum value for this property is "20 Gyr]" .
The default value for this property is given by the conditional value expression "5 Gyr" .
|
inline |
This function returns the value of the discoverable IMF enumeration property imf : "the assumed initial mass function" .
The default value for this property is given by the conditional value expression "Chabrier" .
|
inline |
This function returns the value of the discoverable double property metallicity : "the metallicity of the SSP" .
The minimum value for this property is "[0.0001" .
The maximum value for this property is "0.05]" .
The default value for this property is given by the conditional value expression "0.02" .