Poisson background subtraction
Optimize signal and background counting times for a background-subtracted neutron scattering measurement, assuming independent Poisson uncertainty in both channels.
Disclaimer: These tools are experimental and may still have bugs/errors. If you spot one, please tell me!