qmctorch.utils.plot_data module¶
-
qmctorch.utils.plot_data.
plot_energy
(local_energy, e0=None, show_variance=False)[source]¶ Plot the evolution of the energy
Parameters:
-
qmctorch.utils.plot_data.
plot_data
(observable, obsname)[source]¶ Plot the evolution a given data
Parameters: - obs_dict (SimpleNamespace) – namespace of observable
- obsname (str) – name (key) of the desired observable
-
qmctorch.utils.plot_data.
plot_walkers_traj
(eloc, walkers='mean')[source]¶ Plot the trajectory of all the individual walkers
Parameters:
-
qmctorch.utils.plot_data.
plot_correlation_coefficient
(eloc, size_max=100)[source]¶ - Plot the correlation coefficient of the local energy
- and fit the curve to an exp to extract the correlation time.
Parameters: - eloc (np.ndarray) – values of the local energy (Nstep, Nwalk)
- size_max (int, optional) – maximu number of MC step to consider.Defaults to 100.
Returns: correlation coefficients (size_max, Nwalkers), correlation time
Return type: np.ndarray, float
-
qmctorch.utils.plot_data.
plot_integrated_autocorrelation_time
(eloc, rho=None, size_max=100, C=5)[source]¶ compute/plot the integrated autocorrelation time
Parameters:
-
qmctorch.utils.plot_data.
plot_blocking_energy
(eloc, block_size, walkers='mean')[source]¶ Plot the blocked energy values
Parameters: Raises: ValueError
– [description]