Exemplo n.º 1
0
    def __call__(self, alpha, delta):
        # create a LabeledObject form the input x and y coordinates
        labeled_input = LabeledInput([alpha, delta], ['x', 'y'])

        # pass the LabeledInput object to the composite transform
        result = SCompositeModel.__call__(self, labeled_input)
        return result.x, result.y
Exemplo n.º 2
0
    def __call__(self, alpha, delta):
        # create a LabeledObject form the input x and y coordinates
        labeled_input = LabeledInput([alpha, delta], ['x', 'y'])

        # pass the LabeledInput object to the composite transform
        result = SCompositeModel.__call__(self, labeled_input)
        return result.x, result.y
Exemplo n.º 3
0
 def __call__(self, x, y):
     # create a LabeledObject from x and y
     labeled_input = LabeledInput([x, y], ['x', 'y'])
     # pass the LabeledObject to the composite model to do the transformation
     result = SCompositeModel.__call__(self, labeled_input)
     return result.x, result.y
Exemplo n.º 4
0
 def __call__(self, x, y):
     # create a LabeledObject from x and y
     labeled_input = LabeledInput([x,y], ['x', 'y'])
     # pass the LabeledObject to the composite model to do the transformation
     result = SCompositeModel.__call__(self, labeled_input)
     return result.x, result.y