Skip to content

Commit f583725

Browse files
committed
Try and fix stupid underscore error
1 parent 986f5fc commit f583725

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

sasdata/model_requirements.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -410,8 +410,8 @@ def slit_resolution(q_calc, q, width, length, n_length=30):
410410
411411
where $I(u_j)$ is the value at the mid-point, and $\Delta u_j$ is the
412412
difference between consecutive edges which have been first converted
413-
to $u$. Only $u_j \in [0, \Delta q_\perp]$ are used, which corresponds
414-
to $q_j \in \left[q, \sqrt{q^2 + \Delta q_\perp}\right]$, so
413+
to $u$. Only $u_j \in [0, \Delta q\_\perp]$ are used, which corresponds
414+
to $q_j \in \left[q, \sqrt{q^2 + \Delta q\_\perp}\right]$, so
415415
416416
.. math::
417417
@@ -447,8 +447,8 @@ def slit_resolution(q_calc, q, width, length, n_length=30):
447447
\left[q-\Delta q_\parallel, q+\Delta q_\parallel\right]
448448
449449
However, we need to support cases were $u_j < 0$, which means using
450-
$2 (q_{j+1} - q_j)$ when $q_j \in \left[0, q_\parallel-q_i\right]$.
451-
This is not an issue for $q_i > q_\parallel$.
450+
$2 (q_{j+1} - q_j)$ when $q_j \in \left[0, q\_\parallel-q\_i\right]$.
451+
This is not an issue for $q_i > q\_\parallel$.
452452
453453
For both $q_\perp > 0$ and $q_\parallel > 0$ we perform a 2 dimensional
454454
integration with

0 commit comments

Comments
 (0)