pyhande.utils

Utility procedures for manipulating HANDE data.

pyhande.utils.groupby_beta_loops(data, name='iterations')

Group a HANDE DMQMC data table by beta loop.

Parameters:

data (pandas.DataFrame) – DMQMC data table (e.g. obtained by pyhande.extract.extract_data().

Returns:

grouped – GroupBy object with data table grouped by beta loop.

Return type:

pandas.DataFrameGroupBy

pyhande.utils.groupby_iterations(data)

Group a HANDE QMC data table by blocks of iterations.

Parameters:

data (pandas.DataFrame) – QMC data table (e.g. obtained by pyhande.extract.extract_data().

Returns:

grouped – GroupBy object with data table grouped into blocks within which the iteration count increases monotonically.

Return type:

pandas.DataFrameGroupBy