punpy.digital_effects_table.measurement_function.MeasurementFunction.setup

punpy.digital_effects_table.measurement_function.MeasurementFunction.setup#

MeasurementFunction.setup(*args, **kwargs)[source]#

This function is to provide a setup stage that can be run before propagating uncertainties. This allows to set up additional class attributes etc, without needing to edit the initialiser (which is quite specific to this class). This function can optionally be overwritten by the user when creating their MeasurementFunction subclass.