Bases: penelopetools.api.input.pengeom.usergeometry.util._Layers
Creates a new HorizontalLayers to store the layers definition of a MultiLayers geometry. The class is a list of Layer.
The substrate layer cannot be deleted, and can only be modified by another layer with an infinite thickness. Also, the list can only contain one infinite thickness layer.
Parameters: | substrate (Layer) – layer for the substrate. It must have a infinite thickness. |
---|
Asserts that no new layer should have an infinite thickness.
Asserts that no layer can be added after the substrate.
Asserts that the substrate layer cannot be deleted.
Asserts that the substrate layer can only be updated by a layer with an infinite thickness. Asserts also that no other layer should have an infinite thickness except the substrate layer.
Creates a HorizontalLayers from a XML element.
Parameters: | element – XML element |
---|
Bases: penelopetools.api.input.penelope.hook.Hook
Bases: penelopetools.api.input.pengeom.usergeometry._UserGeometry
Creates a new MultiLayers geometry. A multi-layers is defined by horizontal layers of different thicknesses. The surfaces and modules of the geometry are automatically generated when the build is called. The surfaces and modules arguments are therefore optional.
The value of the diameter is 3.0 cm. The depth of the multi-layers is therefore the sum of the layers’ thickness plus the depth of the substrate. By default, the depth of the substrate is 3.0 cm. By default, no rotation and no shift is imposed on the geometry.
Parameters: |
|
---|
Build the surfaces and modules of the geometry according to the information stored.
Creates a MultiLayers from a XML element.
Parameters: | element – XML element |
---|
Layers of the multi-layers. The layers can be added and removed from this attribute.
Returns a HTML representation of this option.
Returns a XML representation of this geometry.
Bases: penelopetools.api.input.pengeom.usergeometry.substrate.PhotonDetectorsHook
Creates default photon detectors for a MultiLayers geometry. Hemispherical detectors with an opening of 2 to 20 degrees are created from a specified take-off angle.
Parameters: |
|
---|