rexfw.test.cases.statistics.writers package

Module contents

class rexfw.test.cases.statistics.writers.MockStatisticsWriter[source]

Bases: rexfw.statistics.writers.AbstractStatisticsWriter

_write_single_quantity_stats(elements)

Writes a single line to stdout / file, e.g., all sampler step sizes which would be stored in elements

Parameters:elements (list of LoggedQuantity) – quantities to write
write(step, elements)[source]

Writes quantities in elements for a given step

Parameters:
  • step (int) – sampling step
  • elements (list of LoggedQuantity) – list of quantities to write