We can track the status of those modifications here. The change adds a metropolis-hastings-based sampling method for NuWro. Several configurations added are the following:
use_mh: bool type
0: traditional rejection method
1: metropolis-hastings-based sampling method
mh_sample_interval: int, specify a re-sampling rate
Default to 100, quite big but safe
use_weighted_channel: enable a weighted channel transition or not in metropolis-hastings-based sampling
Let's discuss details like code quality and documents here to polish this feature!
We can track the status of those modifications here. The change adds a metropolis-hastings-based sampling method for NuWro. Several configurations added are the following:
use_mh
: bool typemh_sample_interval
: int, specify a re-sampling rateuse_weighted_channel
: enable a weighted channel transition or not in metropolis-hastings-based samplingLet's discuss details like code quality and documents here to polish this feature!