Skip to content

Commit

Permalink
switch to eV/atom and eV/angstrom everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
svandenhaute committed Jun 13, 2024
1 parent 4189062 commit 035129f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions psiflow/learning.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ def __init__(
reference: Reference,
path_output: Union[str, Path],
train_valid_split: float = 0.9,
error_thresholds_for_reset: Union[list, tuple] = (20, 200),
error_thresholds_for_discard: Union[list, tuple] = (30, 600),
error_thresholds_for_reset: Union[list, tuple] = (0.02, 0.2),
error_thresholds_for_discard: Union[list, tuple] = (0.03, 0.6),
wandb_project: Optional[str] = None,
wandb_group: Optional[str] = None,
initial_data: Optional[Dataset] = None,
Expand Down
4 changes: 2 additions & 2 deletions psiflow/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ def _parse_walker_log(
data.status[i] = statuses[i]
data.temperature[i] = temperatures[i]
data.time[i] = times[i]
data.e_rmse[i] = errors[i][0] * 1000 # meV / atom
data.f_rmse[i] = errors[i][1] * 1000 # meV / angstrom
data.e_rmse[i] = errors[i][0]
data.f_rmse[i] = errors[i][1]
data.reset[i] = resets[i]
if "identifier" in names:
data.identifier[i] = identifiers[i]
Expand Down

0 comments on commit 035129f

Please sign in to comment.