Star formation history quenching modules#

class pixSED.misc.cigaleModules.SFH_QUENCHING_SMOOTHmodule(quenching_time: List[int] = [0], quenching_factor: List[float] = [0.0], normalise: bool = True)[source]#

Bases: SFHmodule

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

Class implementing a module that linearly quenches any SFH module by a factor 1 - quenching_factor. If the SFH is equal to \({\rm SFH} (t_{\rm before})\) just before the quenching which is happening at the lookback time quenching_time, the SFH becomes after:

\[{\rm SFH} (t) = {\rm SFH} (t_{\rm before}) \times \left ( 1 - f_{\rm q} \times \frac{t - t_{\rm main} + t_{\rm q}}{t_{\rm q}} \right ),\]

where \(f_{\rm q}\) is quenching_factor, \(t_{\rm main}\) is the age of the main SFH, and \(t_{\rm q}\) is quenching_time. Thus,

  • right at the beginning of the quenching phase, \(t = t_{\rm main} - t_{\rm q}\), meaning that \({\rm SFH} (t) = {\rm SFH} (t_{\rm before})\).

  • at the end of the quenching phase, \(t = t_{\rm main}\), meaning that \({\rm SFH} (t) = {\rm SFH} (t_{\rm before}) \times (1 - f_{\rm q})\)

Important

This module does not work in standalone since it only quenches another SFH. Thus, at least one other SFH module must be provided for the main stellar populations in combination with this one.

Keyword arguments

Parameters:
  • quenching_time (list[int]) – look-back time when the quenching starts in \(\rm Myr\). Minimum is \(0\,\rm Myr\).

  • quenching_factor (list[float]) – quenching factor between 0 and 1 applied to the SFH when quenching starts. It must be between 0.0 (no quenching) and 1.0 (SFH equal to \(0\,\rm M_{\odot}\,yr^{-1}\)).

  • normalise (bool) – whether to normalise the SFH to produce one solar mass or not

__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.SFH_QUENCHING_TRUNKmodule(quenching_age: List[int] = [0], quenching_factor: List[float] = [0.0], normalise: bool = True)[source]#

Bases: SFHmodule

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

Class implementing a module that quenches to a constant value any SFH module by multiplying it by a factor 1 - quenching_factor. If the SFH is equal to \({\rm SFH} (t_{\rm before})\) just before the quenching which is happening at the lookback time quenching_time, the SFH becomes after:

\[{\rm SFH} (t) = {\rm SFH} (t_{\rm before}) \times ( 1 - f_{\rm q} ),\]

where \(f_{\rm q}\) is quenching_factor.

Important

This module does not work in standalone since it only quenches another SFH. Thus, at least one other SFH module must be provided for the main stellar populations in combination with this one.

Keyword arguments

Parameters:
  • quenching_age (list[int]) – look-back time when the quenching happens in \(\rm Myr\)

  • quenching_factor (list[float]) – quenching factor applied to the SFH.

  • normalise (bool) – whether to normalise the SFH to produce one solar mass or not

__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.