Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kliff/dataset/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ def stress(self) -> List[float]:

@stress.setter
def stress(self, stress: Union[List[float], np.ndarray]):
"""
r"""
Set the stress of the configuration. The stress is given in Voigt notation i.e
:math:`\sigma=[\sigma_{xx},\sigma_{yy},\sigma_{zz},\sigma_{yz},\sigma_{xz},
\sigma_{xy}]`.
Expand Down
1 change: 0 additions & 1 deletion kliff/models/kim.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from pathlib import Path
from typing import Any, Callable, Dict, List, Optional, Sequence, Union

import kimpy
import numpy as np
from loguru import logger

Expand Down
2 changes: 1 addition & 1 deletion kliff/uq/mcmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ class EmceeSampler(emcee.EnsembleSampler):

Notes:
As a convention, KLIFF inflates the likelihood by some sampling temperature,
i.e., :math:`L(\\theta) \propto \exp(-C(\\theta) / T)`. As a default, the
i.e., :math:`L(\\theta) \\propto \\exp(-C(\\theta) / T)`. As a default, the
sampling temperature is set to the natural temperature. To use the untempered
likelihood (:math:`T=1`), user should specify the argument ``T=1``.

Expand Down
2 changes: 1 addition & 1 deletion kliff/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def pickle_load(filename: Union[Path, str]):


def stress_to_voigt(input_stress: np.ndarray) -> list:
"""
r"""
Convert stress from 3x3 tensor notation to 6x1 Voigt notation.
:math:`\sigma_{ij} = [\sigma_{11}, \sigma_{22}, \sigma_{33}, \sigma_{23}, \sigma_{13}, \sigma_{12}]`

Expand Down
Loading