Package ffx.numerics.estimator
Class MultistateBennettAcceptanceRatio.HarmonicOscillatorsTestCase
java.lang.Object
ffx.numerics.estimator.MultistateBennettAcceptanceRatio.HarmonicOscillatorsTestCase
- Enclosing class:
MultistateBennettAcceptanceRatio
Harmonic oscillators test case generates data for testing the MBAR implementation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble[]
analyticalEntropies
(int subtractComponent) double[]
double[]
double[]
analyticalObservable
(String observable) double[]
Object[]
Sample from harmonic oscillator with gaussian and standard deviation.
-
Constructor Details
-
HarmonicOscillatorsTestCase
public HarmonicOscillatorsTestCase(double[] O_k, double[] K_k, double beta)
-
-
Method Details
-
analyticalMeans
public double[] analyticalMeans() -
analyticalStandardDeviations
public double[] analyticalStandardDeviations() -
analyticalObservable
-
analyticalFreeEnergies
public double[] analyticalFreeEnergies() -
analyticalEntropies
public double[] analyticalEntropies(int subtractComponent) -
sample
Sample from harmonic oscillator with gaussian and standard deviation.- Parameters:
N_k
- number of snaps per statemode
- only u_kn -> return K x N_tot matrix where u_kn[k,n] is reduced potential of sample n evaluated at state k- Returns:
- u_kn[k, n] is reduced potential of sample n evaluated at state k
-