class DummySensor(name: Union[str, NoneType] = None)

A dummy sensor returning the number of times it has been read.

Don't use this in a real apparatus! It doesn't return real data.


  • name: The component's name.
  • rate: Data collection rate in Hz as a pint.Quanity. A rate of 0 Hz corresponds to the sensor being off.