getPOTPerYear.py
Go to the documentation of this file.
1 import OptimizationUtils, sys
2 
3 if len(sys.argv) < 2:
4  print "Usage:",sys.argv[0]," <Proton_Energy>"
5  sys.exit()
6 
7 proton_energy = sys.argv[1]
8 
9 print 1e21 * OptimizationUtils.GetPowerPOTScaleFactor(float(proton_energy))
def GetPowerPOTScaleFactor(energy)