Skip to content

Commit

Permalink
update test data
Browse files Browse the repository at this point in the history
  • Loading branch information
dieJaegerIn committed Jul 2, 2024
1 parent a4a2eb8 commit 554febc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/create_testdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
n_resamples = 100
seed = 42
sigma = 0.1
mode = 'nearest'
bootstrapmode = 'std'

pullf_files = 'testdata/pullf_filenames.dat'
Expand All @@ -33,7 +34,7 @@
forceestimator = ForceEstimator(temperature)
forceestimator.fit(forceset)
# smooth friction
forceestimator.smooth_friction(sigma)
forceestimator.smooth_friction(sigma, mode=mode)
save('testdata/forceestimator', forceestimator)

# create ForceSet instance
Expand All @@ -50,7 +51,7 @@
workeestimator = WorkEstimator(temperature)
workeestimator.fit(workset)
# smooth friction
workeestimator.smooth_friction(sigma)
workeestimator.smooth_friction(sigma, mode=mode)
# error estimation vis bootstrapping
workeestimator.estimate_free_energy_errors(n_resamples, bootstrapmode, seed)
save('testdata/workeestimator', workeestimator)
Binary file modified tests/testdata/workeestimator
Binary file not shown.

0 comments on commit 554febc

Please sign in to comment.