Skip to content

Commit

Permalink
Merge pull request #619 from SasView/617-documentation-error-for-lame…
Browse files Browse the repository at this point in the history
…llar_stack_paracrystal-model

Fixed typos, S(Q) calc verified with Bergström 1999

As the review says, this fixes the error and should be put into the imminent bug fix point release. The suggestion in the review will likely take longer to get sorted/agreed than time permits and is not so much an error fix as an enhancement. Thus I am merging this pull request.
  • Loading branch information
butlerpd authored Jan 17, 2025
2 parents 736e214 + fa4f2bc commit 654f629
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sasmodels/models/lamellar_stack_paracrystal.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
.. math::
S_N(q) = \frac{a_N}{N}[1 + w^2 - 2 w \cos(q \langle D \rangle)]^2
S_N(q) = \frac{a_N}{N[1 + w^2 - 2 w \cos(q \langle D \rangle)]^2}
and
Expand Down Expand Up @@ -95,7 +95,7 @@
* **Author:**
* **Last Modified by:**
* **Last Reviewed by:**
* **Last Reviewed by:** Oliver Hammond, **Date:** January 9, 2025
"""
import numpy as np
from numpy import inf
Expand All @@ -105,7 +105,7 @@
description = """\
[Random lamellar phase with paracrystal structure factor]
randomly oriented stacks of infinite sheets
with paracrytal S(Q), having polydisperse spacing.
with paracrystal S(Q), having polydisperse spacing.
sld = sheet scattering length density
sld_solvent = solvent scattering length density
background = incoherent background
Expand Down

0 comments on commit 654f629

Please sign in to comment.