code: def weights(self):
          'weights in the input basis (encapsulated in an object)'
          self._check_estimated()
          u_input = self.u
          return _KoopmanWeights(u_input[0:-1], u_input[-1]f weights(self):
          'weights in the input basis (encapsulated in an object)'
          self._check_estimated()
          u_input = self.u
          return _KoopmanWeights(u_input[0:-1], u_input[-1])
docs: weights in the input basis (encapsulated in an object)