3.10.1.11.1.1. opengate.geometry.materials¶
3.10.1.11.1.1.1. Classes¶
A description of a G4Element that can be build. |
|
A description of a material, that will can be built on demand. |
|
Manage a unique list of Geant4 materials and elements. |
3.10.1.11.1.1.2. Functions¶
|
|
|
|
|
|
|
|
|
|
|
Same function than in GateHounsfieldToMaterialsBuilder class. |
|
|
|
|
|
3.10.1.11.1.1.3. Module Contents¶
- opengate.geometry.materials.HU_find_max_density_difference(hu_min, hu_max, d_min, d_max, densities)[source]¶
- opengate.geometry.materials.HounsfieldUnit_to_material(simulation, density_tolerance, file_mat, file_density)[source]¶
Same function than in GateHounsfieldToMaterialsBuilder class. Probably far from optimal, put we keep the compatibility
- class opengate.geometry.materials.ElementBuilder(material_database)[source]¶
A description of a G4Element that can be build.
- class opengate.geometry.materials.MaterialBuilder(material_database)[source]¶
A description of a material, that will can be built on demand. A material is described by a list of components that can be elements or sub-materials.
- class opengate.geometry.materials.MaterialDatabase[source]¶
Manage a unique list of Geant4 materials and elements. The materials/elements are read in a DB txt file or in NIST. They are only build on demand, during the geometry Construct
- add_material_nb_atoms(*args)[source]¶
Usage example: “Lead”, [“Pb”], [1], 11.4 * gcm3 “BGO”, [“Bi”, “Ge”, “O”], [4, 3, 12], 7.13 * gcm3)