Commit f5e14f24 authored by Adoram-Kershner, Lauren's avatar Adoram-Kershner, Lauren
Browse files

Merge branch 'docs_update' into 'main'

documentation updates

See merge request astrogeology/autocnet!657
parents 1fb60cf3 d57011e6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ source_db_config = {'username':'jay',

# Subset the data store using a spatial query.
geom = 'LINESTRING(145 10, 145 10.25, 145.25 10.25, 145.25 10, 145 10)'
srid = 949900
srid = 104971
outpath = '/scratch/some/path/for/data'
query = f"SELECT * FROM ctx WHERE ST_INTERSECTS(geom, ST_Polygon(ST_GeomFromText('{geom}'), {srid})) = TRUE"
ncg.add_from_remote_database(source_db_config, outpath, query_string=query)
@@ -136,7 +136,7 @@ the quert string be valid SQL. `geom = 'LINESTRING(145 10, 145 10.25, 145.25

The PostGIS query requires a valid SRID for the input geometry, so we
explicitly define that here. This is the SRID that the footprints are being
stored in inside of the data store. `srid = 949900` The srid here is a custom
stored in inside of the data store. `srid = 104971` The srid here is a custom
srid that has been added to the data store spatial reference table; the id can
be any arbitrary number as long as it exists in the spatial reference table.

+1 −1
Original line number Diff line number Diff line
@@ -115,7 +115,7 @@ def projection_error(p1, p, pt, pt1):
    the gold standard method for fundamental matrix estimation.

    Parameters
    -----------
    ----------
    p1 : ndarray
         (3,4) camera matrix

+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ def normalize(a):
    """
    Normalize a set of coordinates such that the origin is
    translated to the center and then scaled isotropically such
    that the average distance from the origin is $\sqrt{2}$.
    that the average distance from the origin is :math:`\\sqrt{2}`.

    Parameters
    ----------
+1 −2
Original line number Diff line number Diff line
@@ -200,8 +200,7 @@ def okubogar_detector(image1, image2, nbins=50, extractor_method="orb", image_fu

     See Also
     --------

     feature extractor: autocnet.matcher.cpu_extractor.extract_features
     autocnet.matcher.cpu_extractor.extract_features : for description of information associated with the feature extractor

     """
     if isinstance(image1, GeoDataset):
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ def identify_potential_overlaps(cg, cn, overlap=True):
    Parameters
    ----------
    overlap : boolean
              If True, apply aprint(g)n additional point in polygon check, where
              If True, apply an additional point in polygon check, where
              the polygon is the footprint intersection between images and
              the point is a keypoint projected into lat/lon space.  Note
              that the projection can be inaccurate if the method used
Loading