rexfw.statistics.logged_quantities module¶
Logable (?) quantities
-
class
rexfw.statistics.logged_quantities.LoggedQuantity(origins, stats_fields, name, variable_name=None)[source]¶ Bases:
object-
_get_value(stats)[source]¶ Retrieves a value for the logged quantity from a small sampling statistics object
Parameters: stats (dict) – dict of the form {variable_name: SamplingStats}
-
current_value¶ Returns the current (last) value of the logged quantity
-
values¶ Returns all stored values of the logged quantity
-
-
class
rexfw.statistics.logged_quantities.REHeats(replica1, replica2)[source]¶ Bases:
rexfw.statistics.logged_quantities.LoggedQuantity-
_get_value(stats)[source]¶ Retrieves a value for the logged quantity from a small sampling statistics object
Parameters: stats (dict) – dict of the form {variable_name: SamplingStats}
-
current_value¶ Returns the current (last) value of the logged quantity
-
update(step, stats)¶ Stores sampling statistics for a given step
Parameters:
-
values¶ Returns all stored values of the logged quantity
-
-
class
rexfw.statistics.logged_quantities.REWorks(replica1, replica2)[source]¶ Bases:
rexfw.statistics.logged_quantities.LoggedQuantity-
_get_value(stats)[source]¶ Retrieves a value for the logged quantity from a small sampling statistics object
Parameters: stats (dict) – dict of the form {variable_name: SamplingStats}
-
current_value¶ Returns the current (last) value of the logged quantity
-
update(step, stats)¶ Stores sampling statistics for a given step
Parameters:
-
values¶ Returns all stored values of the logged quantity
-
-
class
rexfw.statistics.logged_quantities.SamplerStepsize(replica, variable_name)[source]¶ Bases:
rexfw.statistics.logged_quantities.LoggedQuantity-
_get_value(stats)[source]¶ Retrieves a value for the logged quantity from a small sampling statistics object
Parameters: stats (dict) – dict of the form {variable_name: SamplingStats}
-
current_value¶ Returns the current (last) value of the logged quantity
-
update(step, stats)¶ Stores sampling statistics for a given step
Parameters:
-
values¶ Returns all stored values of the logged quantity
-