stellar_evolution.derived_stellar_quantities module

Class Inheritance Diagram

Inheritance diagram of LogGCGS, RhoCGS, TeffK

Define more quantities directly calculable from POET stellar evolution.

class stellar_evolution.derived_stellar_quantities.LogGCGS(mass, radius, reference_logg=0.0)[source]

Bases: object

Inheritance diagram of stellar_evolution.derived_stellar_quantities.LogGCGS

Log10 of stellar surface gravity it cgs units.

__call__(age)[source]

Return the log10(g) at the given age.

__init__(mass, radius, reference_logg=0.0)[source]

Log10 of the gravitational acceleration from mass and radius.

Parameters:
  • mass – The mass of the star whose gravity we are interpolating.
  • radius – A library_interface Quantity instance, giving the stellar radius as a function of age.
  • reference_logg – The returned value is the deviation from this. Useful when passing to solvers or minimizers.
Returns:

None

class stellar_evolution.derived_stellar_quantities.RhoCGS(mass, radius, reference_rho=0.0)[source]

Bases: object

Inheritance diagram of stellar_evolution.derived_stellar_quantities.RhoCGS

Mean stellar density in cgs units.

__call__(age)[source]

Return the density (g/cm^3) at the given age.

__init__(mass, radius, reference_rho=0.0)[source]

Stellar density (cgs) from mass and radius.

Parameters:
  • mass – The mass of the star whose gravity we are interpolating.
  • radius – A library_interface Quantity instance, giving the stellar radius as a function of age.
  • reference_rho – The returned value is the deviation from this. Useful when passing to solvers or minimizers.
Returns:

None

class stellar_evolution.derived_stellar_quantities.TeffK(radius, luminosity, reference_Teff=0.0)[source]

Bases: object

Inheritance diagram of stellar_evolution.derived_stellar_quantities.TeffK

Stellar effective temperature in Kelvin.

__call__(age)[source]

Return the effective temperature at the given age.

__init__(radius, luminosity, reference_Teff=0.0)[source]

Effective temperature from radius and luminosity.

Parameters:
  • radius – A library_interface Quantity instance, giving the stellar radius as a function of age.
  • luminosity – A library_interface Quantity instance, giving the stellar luminosity as a function of age.
  • reference_Teff – The returned value is the deviation from this. Useful when passing to solvers or minimizers.
Returns:

None