Bases: penelopetools.api.input.penelope.source.Source
Option to specify the parameters of the source beam. The PENEPMA2010 source options adds to the PENELOPE Source by specifying the diameter of the beam and the take-off angle for the photon detectors.
Parameters: |
|
---|
Diameter of the source (cm). The diameter of the source must be greater than 0. The value is stored in a magnitude.Magnitude.
Creates a Source from lines of a IN file.
Parameters: | lines – lines |
---|
Creates a Source from a XML element.
Parameters: | element – XML element |
---|
Take-off angle of the photon detectors (deg). The value must be between 0 and 90 deg. The value is stored in a magnitude.Magnitude.
Returns the lines of this option to create a IN file.
Returns a XML representation of this option.