code: def register_bpass(self, telescope, klass):
          
  
          if telescope in self._bpass_classes:
              raise AlreadyDefinedError('bandpass class for %s already '
                                        'defined', telescope)
          self._note(telescope, None)
          self._bpass_classes[telescope] = klass
          return self
docs: Register a Bandpass class.