return the weight values to use for each point in this fit. If a variable exists in the class 'explicit_weightlist ', return this. If it does not exist, return 1.0 as the weight. This method should be overridden if anything fancy is being done with weights (correlated fits, etc.) Reimplemented in my_svd_fit. Definition at line 431 of file fitting_toolkit.py. 00431 : 00432 "default weight is 1 or, if explicit_weightlist exists, that is returned" 00433 if not hasattr(self, "explicit_weightlist") or self.explicit_weightlist is None: 00434 return 1.0 00435 else: 00436 return self.explicit_weightlist 00437 ##
|