Пример #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
Пример #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
Пример #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 = {}
Пример #4
0
 def __init__(self, filePath):
     BaseReader.__init__(self, filePath, 'detector')
     self.detectors = {}
Пример #5
0
 def __init__(self, filePath):
     BaseReader.__init__(self, filePath, 'history')
     self.arrays = {}
     self.numInactive = None
Пример #6
0
 def __init__(self, filePath):
     BaseReader.__init__(self, filePath, 'microxs')
     self._energyFY = []
     self.nfy = {}
     self.xsVal, self.xsUnc = {}, {}
     self.fluxRatio, self.fluxUnc = {}, {}
Пример #7
0
 def __init__(self):
     BaseReader.__init__(self, None, '')
Пример #8
0
 def __init__(self, filePath):
     BaseReader.__init__(self, filePath, 'xsplot')
     self.xsections = {}
     self.metadata = {}