def __init__(self,
                 array_a,
                 array_b,
                 translate=False,
                 scale=False,
                 preserve_symmetry=True,
                 hide_padding=True,
                 translate_symmetrically=False):
        self.hide_padding = hide_padding
        self.translate = translate
        self.scale = scale
        self.preserve_symmetry = preserve_symmetry
        self.translate_symmetrically = translate_symmetrically

        Procrustes.__init__(
            self,
            array_a,
            array_b,
            translate=self.translate,
            scale=self.scale,
            preserve_symmetry=self.preserve_symmetry,
            hide_padding=self.hide_padding,
            translate_symmetrically=self.translate_symmetrically)
        if (abs(self.array_a - self.array_a.T) > 1.e-10).all() or (
                abs(self.array_b - self.array_b.T) > 1.e-10).all():
            raise ValueError(
                'Arrays array_a and array_b must both be symmetric for this analysis.'
            )
Beispiel #2
0
 def __init__(self, array_a, array_b, translate=False, scale=False, hide_padding=True):
     self.hide_padding = hide_padding
     self.translate = translate
     self.scale = scale
     Procrustes.__init__(
         self, array_a, array_b, translate=self.translate, scale=self.scale, hide_padding=self.hide_padding
     )
 def __init__(self, array_a, array_b, translate=False, scale=False, preserve_symmetry=False, hide_padding=True,
              translate_symmetrically=False):
     self.hide_padding = hide_padding
     self.translate = translate
     self.scale = scale
     self.preserve_symmetry = preserve_symmetry
     self.translate_symmetrically=translate_symmetrically
     Procrustes.__init__(self, array_a, array_b, translate=self.translate, scale=self.scale,
                         preserve_symmetry=self.preserve_symmetry, hide_padding=self.hide_padding,
                         translate_symmetrically=self.translate_symmetrically)
    def __init__(self, array_a, array_b, translate=False, scale=False, preserve_symmetry=True, hide_padding=True, translate_symmetrically=False):
        self.hide_padding = hide_padding
        self.translate = translate
        self.scale = scale
        self.preserve_symmetry = preserve_symmetry
        self.translate_symmetrically = translate_symmetrically

        Procrustes.__init__(self, array_a, array_b, translate=self.translate, scale=self.scale,
                preserve_symmetry=self.preserve_symmetry, hide_padding=self.hide_padding, translate_symmetrically=self.translate_symmetrically)

        if (abs(self.array_a - self.array_a.T) > 1.e-10).all() or (abs(self.array_b - self.array_b.T) > 1.e-10).all():
            raise ValueError('Arrays array_a and array_b must both be symmetric for this analysis.')
Beispiel #5
0
 def __init__(self,
              array_a,
              array_b,
              translate=False,
              scale=False,
              hide_padding=True):
     self.hide_padding = hide_padding
     self.translate = translate
     self.scale = scale
     Procrustes.__init__(self,
                         array_a,
                         array_b,
                         translate=self.translate,
                         scale=self.scale,
                         hide_padding=self.hide_padding)
Beispiel #6
0
 def __init__(self,
              array_a,
              array_b,
              translate=False,
              scale=False,
              preserve_symmetry=False,
              hide_padding=True,
              translate_symmetrically=False):
     self.hide_padding = hide_padding
     self.translate = translate
     self.scale = scale
     self.preserve_symmetry = preserve_symmetry
     self.translate_symmetrically = translate_symmetrically
     Procrustes.__init__(
         self,
         array_a,
         array_b,
         translate=self.translate,
         scale=self.scale,
         preserve_symmetry=self.preserve_symmetry,
         hide_padding=self.hide_padding,
         translate_symmetrically=self.translate_symmetrically)