Bases: penelopetools.api.input.penelope.option.Option
Stopping mechanism for a simulation based on the error on a photon line. If the error at a given energy of a photon detector is below the specified error, the simulation is stop. The error can either be the error on the characteristic probability density or the error on the fluorescence contribution to the probability density.
Parameters: |
|
---|
Photon detector for which the error should be below the limit.
- = -1: the simulation stops when x-ray line error is below the limit of one detector
- = 0: the simulation stops when x-ray line error is below the limit for all detectors
- > 0: the simulation stops when x-ray line error is below the limit of detector XLIMPD.
Photon line energy (eV), i.e. energy of interest. The energy must be between 0 and 1e6 eV. The value is stored in a magnitude.Magnitude.
Error limit on the characteristic probability density (%). The limit is given in percent between 0 and 100%. The value is stored in a magnitude.Magnitude.
Creates a ErrorLimit from lines of a IN file.
Parameters: | lines – lines |
---|
Creates a ErrorLimit 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.
Bases: penelopetools.api.input.penelope.jobproperties.Simulation
Parameters of the simulation job.
Parameters: |
|
---|
Parameters of the error limit stopping mechanism. The attribute is a ErrorLimit. If the attribute is deleted, an error limit is returned. The latter has error limits of 0%, i.e. no effect on the simulation.
Creates a Simulation from lines of a IN file.
Parameters: | lines – lines |
---|
Creates a Simulation 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.