This MR introduce a
OneDimSimulationCounter in order to easily create simulated device with the right acquisition device.
It's a rework of a part of !3686 (merged) as an independent MR.
SamplingCounterand the refactorization of the
- Add few other options to the signal generator (
This can be used the following way
controller = OneDimSimulationController(name="onedim") c1 = OneDimSimulationCounter("c1", controller=controller, signal="gaussian", coef=10, size=5) c2 = OneDimSimulationCounter("c2", controller=controller, signal="linear_up", coef=10, poissonian=True, size=20)