pyPENELOPE

phirhozs – Phi-rho-z distributions

Inheritance diagram of penelopetools.api.input.penepma2011.phirhozs

class penelopetools.api.input.penepma2011.phirhozs.PhiRhoZ(transition, detector)

Bases: object

Creates a new MaximumStepLength. One instantiated the module id cannot be changed.

Parameters:
  • module_id – id of the module/body. First module as an id of 1.
  • length – maximum step length (in cm)
ATTR_DETECTOR = 'detector'
KEYWORD = <penelopetools.api.input.penelope.util.Keyword object at 0x5b7e510>
TAG_NAME = 'phiRhoZ'
detector

Photon detector for which the phi-rho-z intensities are collected.

classmethod from_inputfile(lines)

Creates a PhiRhoZ from lines of a IN file.

Parameters:lines – lines
classmethod from_xml(element)

Creates a PhiRhoZ from a XML element.

Parameters:element – XML element
to_html(header_level=1)

Returns a HTML representation of this option.

to_inputfile()

Returns the lines of this option to create a IN file.

to_xml()

Returns a XML representation of this option.

transition

Transition of the phi-rho-z.

class penelopetools.api.input.penepma2011.phirhozs.PhiRhoZs(data=[])

Bases: misctools.list.SizedList, penelopetools.api.input.penelope.option.Option

Store the maximum step lengths of each body.

The object MaximumSepLengths is a dictionary where the keys are the body ids and the values, the MaximumStepLength.

TAG_NAME = 'phiRhoZs'
classmethod from_inputfile(lines)

Creates a MaximumStepLengths from lines of a IN file.

Parameters:lines – lines
classmethod from_xml(root)

Creates a MaximumStepLengths from a XML element.

Parameters:element – XML element
to_html(header_level=1)

Returns a HTML representation of this option.

to_inputfile()

Returns the lines of this option to create a IN file.

to_xml()

Returns a XML representation of this option.