def getData(self): """Get data from input expression, caching result.""" if self.document.changeset != self.changeset: self._cacheddata = simpleEvalExpression(self.document, self.inexpr) self.changeset = self.document.changeset return self._cacheddata
def evalDatasetExpression(self, expr, part='data'): """Return results of evaluating a 1D dataset expression. part is 'data', 'serr', 'perr' or 'nerr' - these are the dataset parts which are evaluated by the expression """ return datasets.simpleEvalExpression(self, expr, part=part)
def evalDatasetExpression(self, expr, part='data'): """Return results of evaluating a 1D dataset expression. part is 'data', 'serr', 'perr' or 'nerr' - these are the dataset parts which are evaluated by the expression """ return datasets.simpleEvalExpression(self, expr, part=part)
def getData(self): """Get data from input expression, caching result.""" if self.document.changeset != self.changeset: self._cacheddata = simpleEvalExpression(self.document, self.inexpr) self.changeset = self.document.changeset return self._cacheddata