Bases: object
Store the coordinate (x, y, z) of a point in space.
Parameters: |
|
---|
Creates a Position from lines of a IN file.
Parameters: | lines – lines |
---|
Creates a Position from a XML element.
Parameters: | element – XML element |
---|
Returns a HTML representation of this option.
Returns the lines of this option to create a IN file.
Returns a XML representation of this option.
x coordinate of the position (cm). The value is stored in a magnitude.Magnitude.
z coordinate of the position (cm). The value is stored in a magnitude.Magnitude.
z coordinate of the position (cm). The value is stored in a magnitude.Magnitude.
Bases: penelopetools.api.input.penelope.option.Option
Option to specify the parameters of the source beam.
Parameters: |
|
---|
Angular aperture of the primary particle beam in degrees (SAPERT). The angle must be between 0 and 180 degrees.
The value is stored in a magnitude.Magnitude.
Azimuthal angle of the primary particle The angle must be between 0 and 360 degrees.
The value is stored in a magnitude.Magnitude.
Initial energy of the primary particle in eV (SENERG). The energy must be between 100 and 1e6 eV.
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 |
---|
Polar angle of the primary particle beam in degrees (STHETA of SDIREC). The angle must be between 0 and 180 degrees.
The value is stored in a magnitude.Magnitude.
Coordinates of the source centre in cm (SPOSIT). The position is a Position.
The value is stored in a magnitude.Magnitude.
Returns a HTML representation of this option.
Returns the lines of this option to create a IN file.
Returns a XML representation of this option.