Public Member Functions | |
def | nuclideData |
Static Public Attributes | |
dictionary | states = {} |
Definition at line 6 of file g4data.py.
def GenDecay::g4data::G4RadData::nuclideData | ( | self, | ||
z, | ||||
a | ||||
) |
Definition at line 11 of file g4data.py.
00011 : 00012 '''Return given nuclide data''' 00013 try: 00014 return G4RadData.states[(z,a)] 00015 except KeyError: 00016 pass 00017 try: 00018 nuc = NuclideData(z,a) 00019 except IOError,err: 00020 err = 'Illegal Z=%d, A=%d\n%s'%(z,a,err) 00021 raise ValueError,err 00022 G4RadData.states[(z,a)] = nuc 00023 return nuc 00024 class NuclideDecay:
dictionary GenDecay::g4data::G4RadData::states = {} [static] |