code: def getEncoding(self, n):
      
  
      assert (all(field.numEncodings>n for field in self.fields))
      encoding = np.concatenate([field.encodings[n] for field in self.fields])
  
      return encoding
docs: Returns the nth encoding