def f_set_single(self, name, item):
if type(item) in [SpikeMonitor, StateMonitor, PopulationRateMonitor]:<EOL><INDENT>if self.v_stored:<EOL><INDENT>self._logger.warning('<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>')<EOL><DEDENT>self._extract_monitor_data(item)<EOL><DEDENT>else:<EOL><INDENT>super(Brian2MonitorResult, self).f_set_single(name, item)<EOL><DEDENT>
To add a monitor use `f_set_single('monitor', brian_monitor)`.

        Otherwise `f_set_single` works similar to :func:`~pypet.parameter.Result.f_set_single`.