netket.stats.StatsBatch#

class netket.stats.StatsBatch[source]#

Bases: object

Statistics for an array-valued estimator (e.g. a susceptibility matrix).

Returned by to_stats() and get_stats() when the combinator returns an array rather than a scalar.

mean and error_of_mean have the same shape as the combinator output. Scalar diagnostics (tau_corr, R_hat, variance) are not available and are not stored; use Stats for scalar quantities.

Inheritance
Inheritance diagram of netket.stats.StatsBatch
Attributes
shape#

Shape of the estimated quantity.

mean: Array#

Estimated mean, shape matches the combinator output.

error_of_mean: Array#

Delta-method standard error, same shape as mean.

Methods
imag()[source]#
real()[source]#
replace(**updates)[source]#

Returns a new object replacing the specified fields with new values.

to_compound()[source]#
to_dict()[source]#