Refactor data simulation API
Opened this issue · 0 comments
wcxve commented
A general simulation API should be provided, and used in CompiledModel.simulate
and FitHelper
's simulation functions.
Negative background data can be produced from normal distribution, which should be set to zeros when the total spectrum data follows Poisson distribution.