code: def register(self, measurement_class, callback):
          
          self.callbacks[Measurement.name_from_class(measurement_class)
                  ].add(callback)
docs: Call the ``callback`` with any new values of ``measurement_class``
          received.