Ejemplo n.º 1
0
 def to_active(self, x):
     from interpolation import full_to_active
     if self.active_dofs is not None:
         return full_to_active(x, self.active_dofs)
     raise TrajectoryError("Active DOFs undefined")
Ejemplo n.º 2
0
 def to_active(self, x):
     from interpolation import full_to_active
     return full_to_active(x, self.active_dofs)