Occupancies¶
-
t_initvec
occupancies
(MissedEventsG const &_this, bool _initial = true)¶ Solves the equilibrium occupancy equation for initial and final states
The equilibrium equation is \(\phi = \phi M\), \(\sum_i [\phi]_i = 1\), where \(M\) is for initial states \(\mathcal{G}_{AF}(s=0) \mathcal{G}_{FA}(s=0)\). The problem is solved using Eigen’s linear least-square utility, adding an extra row to the matrix to impose the second condition.
Parameters: - _this – An
IdealG
orMissedEventsG
instance. - bool _initial – Indicates whether to return initial (default,
true
) or final occupancies.
- _this – An
-
t_initvec
CHS_occupancies
(MissedEventsG const &_this, bool _initial = true)¶ Solves the CHS occupancy equation for initial and final states
For
_initial=true
this is Eq 5.11 of [CHS96], whereas for_initial=false
, it is Eq 5.8.Note
The initial and final vectors are not quite as satisfyingly symmetric as for other occupancies. However, to simplify the API, this function still deals with both cases.
Parameters: - _this – An
IdealG
orMissedEventsG
instance. - bool _initial – Indicates whether to return initial (default,
true
) or final occupancies.
- _this – An