Commit f5cb4ec3 authored by Adam Paquette's avatar Adam Paquette
Browse files

Transformation directory pep8 complient ignoring line length and imports not at top of file

parent ce75f936
Loading
Loading
Loading
Loading
+13 −14
Original line number Diff line number Diff line
import os
import sys
import unittest
import warnings

sys.path.insert(0, os.path.abspath('..'))

+25 −23
Original line number Diff line number Diff line
@@ -179,6 +179,7 @@ class FundamentalMatrix(TransformationMatrix):
            describing the error of the points used to
            compute this homography
    """

    def refine(self, method=ps.esda.mapclassify.Fisher_Jenks, bin_id=0, **kwargs):
        """
        Refine the fundamental matrix by accepting some data classification
@@ -240,7 +241,8 @@ class FundamentalMatrix(TransformationMatrix):
        for a in ['_error', '_determinant', '_condition']:
            try:
                delattr(self, a)
            except: pass
            except:
                pass

    def compute_error(self, x1, x2, mask=None):
        """