rs-station / careless

Merge X-ray diffraction data with Wilson's priors, variational inference, and metadata
MIT License
16 stars 6 forks source link

Inconsistent use of epsilon in models #127

Open kmdalton opened 1 year ago

kmdalton commented 1 year ago

Many objects which extend BaseModel take a keyword eps= to signify the numerical precision of the model. I think this should be codified as a constructor argument for the BaseModel class which sets the self.eps attribute. This would make the concept consistent across the API. Classes should be refactored as needed to support this parameter.