code: def _set_reference_channel_cb(self, w, idx):
          
          chname = self.chnames[idx]
          self._set_reference_channel(chname)
docs: This is the GUI callback for the control that sets the reference
          channel.