FairShip
Loading...
Searching...
No Matches
getInteractionAndRadiationLength Namespace Reference

Functions

None compute_material_budget (Geniegen)
 

Function Documentation

◆ compute_material_budget()

None getInteractionAndRadiationLength.compute_material_budget (   Geniegen)

Definition at line 12 of file getInteractionAndRadiationLength.py.

12def compute_material_budget(Geniegen) -> None:
13 start = array("d", [0, 0, 3666.5])
14 end = array("d", [0, 0, 3898.700])
15 mparam = array("d", [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
16 Geniegen.MeanMaterialBudget(start, end, mparam)
17
18 print(mparam[8], " equivalent interaction length fraction")
19 print(mparam[1], " equivalent rad length fraction")