rexfw.test.cases.statistics package¶
Module contents¶
-
class
rexfw.test.cases.statistics.MockREStatistics[source]¶ Bases:
rexfw.statistics.Statistics-
elements¶ Returns all quantities which this object is keeping track of
Returns: this object’s quantities Return type: list of LoggedQuantityobjects
-
update(origins, sampler_stats_list)¶ Updates sampling stats stemming from the replicas in origins with the sampling statistics in sampler_stats_list
Parameters: - origins (list of str) – a list of object (usually, replica) names which gave rise to the sampling stats in sampler_stats_list
- sampler_stats_list (list of sampler statistic objects) – a list of sampler statistics (c.f. the samplers submodule) to update quantities from
-
update_single_step(origins, step, sampling_stats)¶ Updates sampling statistics for a single sampling step
Parameters: - origins (list of str) – a list of object (usually, replica) names which gave rise to the sampling stats in sampler_stats_list
- step (int) – the sampling step during which the statistic objects in sampling_stats have been created
- sampling_stats (list of sampler statistic objects) – a list of sampler statistics (c.f. the samplers submodule) to update quantities from
-
-
class
rexfw.test.cases.statistics.MockStatistics[source]¶ Bases:
rexfw.statistics.Statistics-
elements¶ Returns all quantities which this object is keeping track of
Returns: this object’s quantities Return type: list of LoggedQuantityobjects
-
update(origins, sampler_stats_list)[source]¶ Updates sampling stats stemming from the replicas in origins with the sampling statistics in sampler_stats_list
Parameters: - origins (list of str) – a list of object (usually, replica) names which gave rise to the sampling stats in sampler_stats_list
- sampler_stats_list (list of sampler statistic objects) – a list of sampler statistics (c.f. the samplers submodule) to update quantities from
-
update_single_step(origins, step, sampling_stats)¶ Updates sampling statistics for a single sampling step
Parameters: - origins (list of str) – a list of object (usually, replica) names which gave rise to the sampling stats in sampler_stats_list
- step (int) – the sampling step during which the statistic objects in sampling_stats have been created
- sampling_stats (list of sampler statistic objects) – a list of sampler statistics (c.f. the samplers submodule) to update quantities from
-