ananke.IntegratedLightDriver module#

Contains the IntegratedLightDriver class definition

Please note that this module is private. The IntegratedLightDriver class is available in the main ananke namespace - use that instead.

ananke.IntegratedLightDriver.make_truncated_kroupa_imf(m_min: float = 0.01, m_max: float = 120) Tuple[Callable[[_SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes]], ndarray[Any, dtype[_ScalarType_co]]], float][source]#
class ananke.IntegratedLightDriver.IntegratedLightDriver(ananke: Ananke, **kwargs: Dict[str, Any])[source]#

Bases: object

TODO

__init__(ananke: Ananke, **kwargs: Dict[str, Any]) None[source]#
Parameters:
  • ananke (Ananke object) – The Ananke object that utilizes this IntegratedLightDriver object

  • **kwargs – Additional parameters

property ananke: Ananke#
property galaxia_output: Output#
property parameters: Dict[str, Any]#
property particle_mass_factors: ndarray[Any, dtype[_ScalarType_co]]#
property particle_total_star_numbers: ndarray[Any, dtype[_ScalarType_co]]#
property particle_nearest_isochrone_tracks: List[List[QTable]]#
property particle_nearest_isochrone_mass_ranges: List[List[Tuple[float, float]]]#
property particle_output_mass_ranges: List[Tuple[float, float]]#
property particle_dimensionless_flux_interpolators_of_nearest_isochrone_tracks: DataFrame#
property particle_residual_distribution_functions: List[Callable[[_SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes]], ndarray[Any, dtype[_ScalarType_co]]]]#
property particle_residual_photometry: QTable#
property particle_integrated_photometry: QTable#
classmethod integrate_qtable(qtable: table.QTable, photo_sys: PhotoSystem, imf: Callable[[ArrayLike], NDArray]) table.QTable[source]#
classmethod make_dimensionless_flux_interpolators_from_qtable(qtable: table.QTable, photo_sys: PhotoSystem) Dict[str, interpolate.interp1d][source]#
static integrate_flux_interpolator(flux_interpolator: interp1d, imf: Callable[[_SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes]], ndarray[Any, dtype[_ScalarType_co]]]) float[source]#
static estimate_number_distribution_function(masses: ndarray[Any, dtype[_ScalarType_co]], mass_range: Tuple[float, float], number_imf: Callable[[_SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes]], ndarray[Any, dtype[_ScalarType_co]]], imf_range: Tuple[float, float], n_windows: int = 20) interp1d[source]#