Single stellar populations#

class pixSED.misc.cigaleModules.SSPmodule(name: Any, imf: IMF = IMF.SALPETER, separation_age: List[int] = [10])[source]#

Bases: ABC

Code author: Wilfried Mercier - IRAP/LAM <wilfried.mercier@lam.fr>

Base class implementing a module to deal with SSP models.

Parameters:

name – identifier for the class

Keyword arguments

Parameters:
  • imf (list[pixSED.misc.enum.IMF]) – initial mass function. Options are given in IMF.

  • separation_age (list[int]) – age in \(\rm Myr\) of the separation between the young and the old star populations. Set to 0 to not differentiate ages (only an old population).

abstract __str__(*args, **kwargs) str[source]#

Code author: Wilfried Mercier - IRAP/LAM <wilfried.mercier@lam.fr>

Implement a string representation of the class used to make Cigale parameter files.

abstract property spec: str#

Code author: Wilfried Mercier - IRAP/LAM <wilfried.mercier@lam.fr>

Implement a string representation for the .spec file of Cigale parameters.

class pixSED.misc.cigaleModules.BC03module(imf: IMF = IMF.SALPETER, separation_age: List[int] = [10], metallicity: List[float] = [0.02])[source]#

Bases: SSPmodule

Code author: Wilfried Mercier - IRAP/LAM <wilfried.mercier@lam.fr>

Class implementing a Bruzual et Charlot (2003) SSP module.

Keyword arguments

Parameters:
  • imf (list[pixSED.misc.enum.IMF]) – initial mass function. Options are CHABRIER or SALPETER.

  • separation_age (list[int]) – age in \(\rm Myr\) of the separation between the young and the old star populations. Set to 0 to not differentiate ages (only an old population).

  • metallicity (list[float]) – possible values are 0.0001, 0.0004, 0.004, 0.008, 0.02, 0.05

__str__(*args, **kwargs) str[source]#

Code author: Wilfried Mercier - IRAP/LAM <wilfried.mercier@lam.fr>

Implement a string representation of the class used to make Cigale parameter files.

property spec: str#

Code author: Wilfried Mercier - IRAP/LAM <wilfried.mercier@lam.fr>

Implement a string representation for the .spec file of Cigale parameters.

class pixSED.misc.cigaleModules.M2005module(imf: IMF = IMF.SALPETER, separation_age: List[int] = [10], metallicity: List[float] = [0.02])[source]#

Bases: SSPmodule

Code author: Wilfried Mercier - IRAP/LAM <wilfried.mercier@lam.fr>

Class implementing a Maraston (2005) SSP module.

Keyword arguments

Parameters:
  • imf (list[pixSED.misc.enum.IMF]) – initial mass function. Options are SALPETER or KROUPA.

  • separation_age (list[int]) – age in in \(\rm Myr\) of the separation between the young and old stellar populations. Set to 0 not to differentiate ages (only an old population).

  • metallicity (list[float]) – possible values are 0.001, 0.01, 0.02, 0.04

__str__(*args, **kwargs) str[source]#

Code author: Wilfried Mercier - IRAP/LAM <wilfried.mercier@lam.fr>

Implement a string representation of the class used to make Cigale parameter files.

property spec: str#

Code author: Wilfried Mercier - IRAP/LAM <wilfried.mercier@lam.fr>

Implement a string representation for the .spec file of Cigale parameters.