tardis.plasma.properties.transition_probabilities module¶
- class tardis.plasma.properties.transition_probabilities.MarkovChainIndex(plasma_parent)[source]¶
Bases:
tardis.plasma.properties.base.ProcessingPlasmaProperty
- Attributes
- idx2mkv_idxpandas.Series, dtype int
- outputs = ('idx2mkv_idx',)¶
- class tardis.plasma.properties.transition_probabilities.MarkovChainTransProbs(plasma_parent)[source]¶
Bases:
tardis.plasma.properties.base.ProcessingPlasmaProperty
,tardis.plasma.properties.transition_probabilities.SpMatrixSeriesConverterMixin
- latex_name = ('N', 'R', 'B', 'p_\\textrm{deactivation}')¶
- Attributes
- Npandas.DataFrame, dtype float
Fundamental matrix of the Markov-chain macro atom. Indexed by source_level_idx, destination_level_idx. Expected number of visits to destination_level_idx starting from souce_level_idx (before being absorbed).
- Rpandas.DataFrame, dtype float
Deactivation probabilities of the Markov-chain macro atom. Indexed by source_level_idx. Probability of deactivation/absorption in source_level_idx.
- Bpandas.DataFrame, dtype float
Absorbing probabilities of the Markov-chain macro atom. Indexed by source_level_idx, destination_level_idx. Probability of being absorbed in destination_level_idx when starting from source_level_idx.
- p_deactivationpandas.DataFrame, dtype float
Redistribution probabilities after deactivation of the Markov-chain macro atom. Indexed by source_level_idx, destination_level_idx. Probability of an r-packet being emitted in the transition (source_level_idx –> destination_level_idx) after deactivation in source_level_idx.
- outputs = ('N', 'R', 'B', 'p_deactivation')¶
- class tardis.plasma.properties.transition_probabilities.MarkovChainTransProbsCollector(plasma_parent, inputs)[source]¶
Bases:
tardis.plasma.properties.base.ProcessingPlasmaProperty
- Attributes
- p_combinedpandas.DataFrame, dtype float
Combined and normalized transition probabilities. Indexed by source_level_idx, destination_level_idx.
- outputs = ('p_combined',)¶