Skip to content

Commit

Permalink
Merge pull request #2 from git-gleb/patch-1
Browse files Browse the repository at this point in the history
Update beam.rst
  • Loading branch information
davidchall committed Sep 23, 2016
2 parents 511cef1 + 2f1ec93 commit bfa4bab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions parameters/source/beam.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ So when you set out on your own work, define a new source name, such as::

You can provide an energy spectrum instead of a fixed energy by setting the following to ``"Discrete"`` or ``"Continuous"``::

s:So/MySource/BeamSpectrum = "Continuous" # Either "None", "Discrete" or "Continuous"
s:So/MySource/BeamEnergySpectrumType = "Continuous" # Either "None", "Discrete" or "Continuous"

and providing energies and weights as::

dv:So/MySource/BeamSpectrumEnergies = 3 50. 100. 150. MeV
uv:So/MySource/BeamSpectrumWeights = 3 .20 .60 .20
dv:So/MySource/BeamEnergySpectrumValues = 3 50. 100. 150. MeV
uv:So/MySource/BeamEnergySpectrumWeights = 3 .20 .60 .20

An example is in :ref:`example_basic_spectrum`.

Expand Down

0 comments on commit bfa4bab

Please sign in to comment.