Esempio n. 1
0
 def __init__(self, filePath):
     BaseReader.__init__(self, filePath, 'detector')
     self.detectors = {}
     if not self.settings['names']:
         self._loadAll = True
     else:
         self._loadAll = False
     self.__numCols = 13 if rc['serpentVersion'][0] == '1' else 12
Esempio n. 2
0
 def __init__(self, filePath, sparse=None):
     BaseReader.__init__(self, filePath, 'depmtx')
     SparseReaderMixin.__init__(self, sparse)
     self.deltaT = None
     self.n0 = None
     self.n1 = None
     self.zai = None
     self.depmtx = None
Esempio n. 3
0
 def __init__(self, filePath):
     BaseReader.__init__(self, filePath, 'sens')
     self.nMat = None
     self.nZai = None
     self.nPert = None
     self.nEne = None
     self.nMu = None
     self.materials = OrderedDict()
     self.zais = OrderedDict()
     self.perts = OrderedDict()
     self.latGen = None
     self._indxMap = {
         'materials': self.materials, 'nuclides': self.zais,
         'reactions': self.perts}
     self.energies = None
     self.lethargyWidths = None
     self.sensitivities = {}
     self.energyIntegratedSens = {}
Esempio n. 4
0
 def __init__(self, filePath):
     BaseReader.__init__(self, filePath, 'detector')
     self.detectors = {}
Esempio n. 5
0
 def __init__(self, filePath):
     BaseReader.__init__(self, filePath, 'history')
     self.arrays = {}
     self.numInactive = None
Esempio n. 6
0
 def __init__(self, filePath):
     BaseReader.__init__(self, filePath, 'microxs')
     self._energyFY = []
     self.nfy = {}
     self.xsVal, self.xsUnc = {}, {}
     self.fluxRatio, self.fluxUnc = {}, {}
Esempio n. 7
0
 def __init__(self):
     BaseReader.__init__(self, None, '')
Esempio n. 8
0
 def __init__(self, filePath):
     BaseReader.__init__(self, filePath, 'xsplot')
     self.xsections = {}
     self.metadata = {}