tardis.transport.montecarlo.estimators.estimators_bulk module¶
Bulk radiation field estimators for Monte Carlo simulations.
This module contains estimators for cell-level bulk radiation field properties.
- class tardis.transport.montecarlo.estimators.estimators_bulk.EstimatorsBulk(*args, **kwargs)[source]¶
Bases:
EstimatorsBulkEstimators for bulk radiation field properties at the cell level.
- Attributes:
- mean_intensity_totalnumpy.ndarray
Mean intensity estimator per cell.
- mean_frequencynumpy.ndarray
Mean frequency estimator per cell.
Initialize EstimatorsBulk with pre-allocated arrays.
- Parameters:
- mean_intensity_total
Array for mean intensity per cell.
- mean_frequency
Array for mean frequency per cell.
- class_type = jitclass.EstimatorsBulk#7fdbe026c180<mean_intensity_total:array(float64, 1d, A),mean_frequency:array(float64, 1d, A)>¶
- mean_frequency: Array(float64, 1, 'A', False, aligned=True)¶
- mean_intensity_total: Array(float64, 1, 'A', False, aligned=True)¶
- tardis.transport.montecarlo.estimators.estimators_bulk.create_estimators_bulk_list(n_cells: int, number: int) List[EstimatorsBulk][source]¶
Factory function to create a list of EstimatorsBulk instances.
- Parameters:
- n_cells
Number of cells in the simulation.
- number
Number of estimator instances to create.
- Returns:
- numba.typed.List[EstimatorsBulk]
Typed list of EstimatorsBulk instances.
- tardis.transport.montecarlo.estimators.estimators_bulk.init_estimators_bulk(n_cells: int) EstimatorsBulk[source]¶
Factory function to create and initialize EstimatorsBulk.
- Parameters:
- n_cells
Number of cells in the simulation.
- Returns:
- EstimatorsBulk
Initialized estimators with zero-filled arrays.