icecube / skyllh

https://icecube.github.io/skyllh/
GNU General Public License v3.0
11 stars 5 forks source link

Add dedicated RSS argument for the minimizer to the do_trial method #191

Closed martwo closed 11 months ago

martwo commented 11 months ago

The do_trial method should provide an argument for a dedicated RandomStateService (RSS) to be used for the minimizer. So that way it is assured that the pseudo data is generated the always the same when doing multiple trials but maybe using different minimizers. This would be useful for minimizer behavior studies.

A possible argument name could be minimizer_rss with default value None. If None, use the same RSS as given by the rss argument.

https://github.com/icecube/skyllh/blob/cfdf9e933f9a8c6e497302d3e92423cec2cac929/skyllh/core/analysis.py#L1071