Skip to content

Commit

Permalink
less typos/spaghetti-english
Browse files Browse the repository at this point in the history
  • Loading branch information
bonfus committed Apr 24, 2017
1 parent dd7f283 commit 35c83ab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions docs/MnSi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ This example will guide you through the experimental investigation conducted
by Amato et al. and Dalmas de Réotier et. al reported in the following journal
articles [Amato2014]_, [DalmasdeReotier2016]_.

For the complete code see `run_example.py` in the `MnSi` the examples directory
of the muesr package (or open it `on github <https://github.com/bonfus/muesr/blob/master/examples/MnSi/run_example.py>`_).

.. note:: This is an advanced example. It is assumed that you already
familiarized with Muesr by following one of the other examples
or the tutorial.
Expand Down Expand Up @@ -173,16 +176,17 @@ phase between the helices in the Mn sites belonging to the two crystallographic
orbits (see [DalmasdeReotier2016]_).
This last parameter strongly influence the results.

Here we define a phase shift :math:`\phi=2` degrees as reported in the article
Here we define a phase shift of :math:`\phi=2` degrees as reported in the article
mentioned above.


.. literalinclude:: ../examples/MnSi/run_example.py
:lines: 293-231
:lines: 293-311
:lineno-start: 293
:emphasize-lines: 1,11
:language: python


Repeating the same procedure discussed above leads to the following
comparison between the magnetic structures with :math:`\phi=0` (blue) and
and :math:`\phi=2` deg (orange).
Expand Down
4 changes: 2 additions & 2 deletions examples/MnSi/run_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def uv(vec):
ax1.set_title('right-handed')
ax2.set_title('left-handed')

# replot old results fro perfect field to compare later
# replot previous results for later comparison
ax1.plot(mid_of_bin, RH_Hist, label = 'original')
ax2.plot(mid_of_bin, LH_Hist, label = 'original')

Expand Down Expand Up @@ -328,7 +328,7 @@ def uv(vec):
s.current_mm_idx = 4;
r_LH = locfield(s, 'i',[50,50,50],100,nnn=3,nangles=36000)


# set hyperfine coupling for all 4 muon positions.
for i in range(4):
r_RH[i].ACont = ContatExp
r_LH[i].ACont = ContatExp
Expand Down

0 comments on commit 35c83ab

Please sign in to comment.