| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

GenDecay::decay Namespace Reference


Classes

class  AlphaDecay
class  BetaDecay
class  GammaDecay

Functions

def plot_64Cu

Function Documentation

def GenDecay::decay::plot_64Cu (  ) 

Definition at line 128 of file decay.py.

00128                :
00129     # beta-
00130     bm = BetaDecay(0.5794*units.MeV,+29)
00131     print bm
00132     Tm = map(lambda x: bm.endpoint/100*(x+0.5),range(99))
00133     Sm = map(bm.dnde,Tm)
00134 
00135     # beta+
00136     bp = BetaDecay(1.6751*units.MeV,-29)
00137     print bp
00138     Tp = map(lambda x: bp.endpoint/100*(x+0.5),range(99))
00139     Sp = map(bp.dnde,Tp)
00140 
00141 
00142     import matplotlib.pyplot as plt
00143     plt.figure(1)
00144     plt.subplot(211)
00145     plt.plot(Tp,Sp,'r')
00146     plt.subplot(212)
00147     plt.plot(Tm,Sm,'b')
00148     plt.show()
00149     return (bp,bm)
00150 
00151 
if '__main__' == __name__:

| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 21:01:10 2011 for GenDecay by doxygen 1.4.7