Skip to content

Commit

Permalink
fixes to docs and docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
LemurPwned committed Nov 19, 2023
1 parent 74ffdc1 commit 1dec849
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmtj/models/ensemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def mixed_lorentz(H, dH, Hr, Va, Vas):
:param H: applied field in A/m
:param dH: half width at half maximum in A/m
:param Hr: resonance field in A/m
:param Vs: amplitude of symmetric Lorentzian
:param Va: amplitude of symmetric Lorentzian
:param Vas: amplitude of antisymmetric Lorentzian
"""
return symmetric_lorentz(H, dH, Hr, Va) + antisymmetric_lorentz(
Expand Down
2 changes: 1 addition & 1 deletion cmtj/models/general_sb.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ def solve(self,
:param adam_tol: tolerance for the consecutive Adam minima.
:param first_momentum_decay: constant for the first momentum.
:param second_momentum_decay: constant for the second momentum.
:param pertubarion: the perturbation to use for the numerical gradient computation.
:param perturbation: the perturbation to use for the numerical gradient computation.
:param ftol: tolerance for the frequency search. [numerical only]
:param max_freq: maximum frequency to search for. [numerical only]
:param force_single_layer: whether to force the computation of the frequencies
Expand Down
2 changes: 1 addition & 1 deletion docs/physics/contributions.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,5 +213,5 @@ device.setLayerAnisotropyDriver(
The resulting anisotropy field is computed as:

$$
\mathbf{H}_{\textrm{anis}} = \frac{2K_\textrm{u}}{t_{FM} \mu_0M_s}(\mathbf{m}\cdot\mathbf{a})\mathbf{a}
\mathbf{H}_{\textrm{anis}} = \frac{2K_\textrm{u}}{M_s}(\mathbf{m}\cdot\mathbf{a})\mathbf{a}
$$
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ nav:
- Plotting: api/plotting-reference.md
- Procedures: api/procedures-reference.md
- Parallel: api/parallel-reference.md
- Optimization: api/optmization-reference.md
- Optimization: api/optimization-reference.md
- Ensemble models: api/ensemble-reference.md
- Miscellanous: api/general-reference.md
- Stack: gen-docs/stack.md
Expand Down

0 comments on commit 1dec849

Please sign in to comment.