예제 #1
0
 def __repr__(self):
   return(
     "HMap("+(
       "ga="+repr(serialiseArray(self.ga))+
       ",gb="+repr(serialiseArray(self.gb))+
       ",f="+repr(self.f)
     )+
     ")"
   )
예제 #2
0
 def __repr__(self):
   '''
   Produce a string representation of the fourier form. This is a 
   serialisation which produces an expression which can be used to 
   instantiate the object.
   @return: string serialisation of theta form
   @rtype: str
   '''
   return("TangentVectors("+
     "x="+repr(serialiseArray(self._x))+
     ",dx="+repr(serialiseArray(self._dx))+
   ")")
예제 #3
0
 def __repr__(self):
   return("Trials("+
     "x="+repr(serialiseArray(self.x))+
     ",y="+repr(serialiseArray(self.y))+
     ",Ntrain="+repr(self.Ntrain)+
     ",maxN="+repr(self.maxN)+
     ",ytf="+repr(self.ytf)+
     ",ydf="+repr(self.ydf)+
     ",ytp="+repr(self.ytp)+
     ",ydp="+repr(self.ydp)+
     ",yt="+repr(self.yt)+
     ",yd="+repr(self.yd)+
     ",dtran="+repr(self.dtran)+
   ")")
예제 #4
0
 def __repr__(self):
   '''
   Produces a string representation of the floquet co-ordinate oscillator. 
   This is a serialisation as it is just the expression needed to 
   instantiate the represented oscillator.
   @returns: expression which instantiates this hmap chain
   @rtype: string
   '''
   return(
     "FloquetCoordinateOsc("+(
       "T="+repr(serialiseArray(self.T))+
       ",S="+repr(serialiseArray(self.S))
     )+
     ")"
   )
예제 #5
0
 def __repr__(self):
   '''
   Produces a string representation of the filter, can be serialised as 
   this is just the commands one types into the terminal to instantiate 
   the filter.
   @returns: expression which instantiates the kalman filter.
   @rtype: str
   '''
   return(
     "Kalman("+(
       "A="+repr(serialiseArray(self.A))+
       ",C="+repr(serialiseArray(self.C))+
       ",Q="+repr(serialiseArray(self.Q))+
       ",R="+repr(serialiseArray(self.R))
     )+
     ")"
   )
예제 #6
0
 def __repr__(self):
   '''
   Produces a string representation of the hmap chain. This is a 
   serialisation as it is just the expression needed to instantiate 
   the represented hmap chain.
   @returns: expression which instantiates this hmap chain
   @rtype: str
   '''
   return(
     "HMapChain("+(
       "H="+repr(self.H)+
       ",A=["+",".join([repr(serialiseArray(a)) for a in self.A])+"]"
     )+
     ")"
   )
예제 #7
0
 def __repr__(self):
     """
 Produce a string representation of the radial basis form. This is a 
 serialisation which produces an expression which can be used to 
 instantiate the object.
 @return: string serialisation of composite radial form
 @rtype: str
 """
     return (
         "CompositeRBForm("
         + "p="
         + repr(serialiseArray(self.p))
         + ",c="
         + repr(serialiseArray(self.c))
         + ",dc="
         + repr(serialiseArray(self.dc))
         + ",s="
         + repr(serialiseArray(self.s))
         + ",par="
         + repr(self.par)
         + ",fixedPar="
         + repr(self.fixedPar)
         + ")"
     )