xpipeline.utils.utils.choose_background_injection_training(f, injection_type='onsource_injection', randomseed=1986)[source]ΒΆ

We need to select half of background and half of injection events for training