def calculateParameterUnits(self, sample): yunits = self.experiment.getVarUnits(self.yName) xunits = self.experiment.getVarUnits(self.xName) self.parameterUnits = [ yunits, yunits, PKPDUnit.UNIT_NONE, inverseUnits(xunits), PKPDUnit.UNIT_NONE ] return self.parameterUnits
def calculateParameterUnits(self, sample): yunits = self.experiment.getVarUnits(self.yName) xunits = self.experiment.getVarUnits(self.xName) x1units = inverseUnits(xunits) if self.allowTlag: self.parameterUnits = [xunits, yunits, x1units, PKPDUnit.UNIT_NONE] else: self.parameterUnits = [yunits, x1units, PKPDUnit.UNIT_NONE] return self.parameterUnits