def __init__(self, id=None, reactions=None, ENDF_MFMT=None): ancestry.__init__(self) self.id = id #: an identifier str self.reactions = reactions or [ ] #: a list of xData.link.link's that point to the reactions that are lumped together self.ENDF_MFMT = ENDF_MFMT #: the ENDF MF & MT values, a tuple of form (MF, MT)
def __init__(self, label=None, components=None): ancestry.__init__(self) self.__label = label self.components = components or [ ] #: a Python list containing instances of ``mixedForm``, ``summedCovariance``, and ``covarianceMatrix`` for c in self.components: c.setAncestor(self)
def __init__(self, label, projectile, target, ENDF_MFMT=None): ancestry.__init__(self) self.label = label #: an identifier str self.projectile = projectile self.target = target self.ENDF_MFMT = ENDF_MFMT #: the ENDF MF & MT values, a tuple of form (MF, MT)
def __init__(self, data, form=None, precision=None): """ @data: list-of-lists containing matrix data @form: diagonal, symmetric, sparse, etc @precision: number of digits when printing. Necessary only if 'pretty' matrix output is desired. """ ancestry.__init__(self) self.form = form self.data = data self.precision = precision
def __init__(self, label=None, lowerBound=None, upperBound=None, coefficients=None, pointerList=None): ancestry.__init__(self) self.__label = label self.lowerBound = lowerBound #: lower bound of row/column direction. (type: PQU) self.upperBound = upperBound #: upper bound of row/column direction. (type: PQU) self.pointerList = pointerList or [ ] #a list of pointers (type: xData.link.link). Each pointer has a dictionary with entry "coefficient" to use to weight the covariance referred to
def __init__(self, label, domainMin, domainMax, domainUnit='eV', pointerList=None, coefficients=None): ancestry.__init__(self) self.label = label self.domainMin = domainMin #: lower bound of row/column direction. self.domainMax = domainMax #: upper bound of row/column direction. self.domainUnit = domainUnit self.pointerList = pointerList or [ ] #a list of pointers (type: xData.link.link). Each pointer has a dictionary with entry "coefficient" to use to weight the covariance referred to
def __init__(self, projectile, target, evaluation, externalReactions=None, sections=None, modelParameterCovariances=None, style=None): ancestry.__init__(self) self.projectile = projectile #: The projectile self.target = target #: The target self.evaluation = evaluation self.externalReactions = externalReactions or [ ] #: List of cross-material covariances self.sections = sections or [] #: List of section instances self.modelParameterCovariances = modelParameterCovariances or [ ] #: List of parameterCovariance instances self.__styles = stylesModule.styles() self.__styles.setAncestor(self) if (style is not None): self.styles.add(style) self.version = GND_VERSION
def __init__(self, id=None, target=None, ENDF_MFMT=None): ancestry.__init__(self) self.id = id #: an identifier str self.target = target #: the name of the target isotope/evaluation self.ENDF_MFMT = ENDF_MFMT #: the ENDF MF & MT values, a tuple of form (MF, MT)
def __init__(self, label=None, lvalues=None): ancestry.__init__(self) self.__label = label self.lvalues = lvalues or [] #: the l values of course self.endfConversionFlag = ''