Package invocations :: Package cu16 :: Module cu16 :: Class MatchingInterface
[hide private]

Class MatchingInterface

source code


Use this class to call the C++ Matching code.

Instance Methods [hide private]
 
__init__(self)
Just initialises data members.
source code
 
createNeighboursTable(self, mainCatPathName, outputPathName, matchRadius)
Creates a neighbours table for the supplied source table.
source code
 
createCrossNeighboursTable(self, mainCatPathName, extCatPathName, outputPathName, matchRadius)
Creates a cross neighbours table of neighbours in the given external catalogue to the supplied sources.
source code
 
_testArguments(self, argDir1, argDir2)
Make sure user has supplied sensible file path attributes.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Just initialises data members.

Overrides: object.__init__

createNeighboursTable(self, mainCatPathName, outputPathName, matchRadius)

source code 

Creates a neighbours table for the supplied source table.

Parameters:
  • mainCatPathName (str) - Input path of the source table flat-file.
  • outputPathName (str) - Output path for the neighbours table flat-file.
  • matchRadius (float) - Join criterion - search radius in arcseconds.

createCrossNeighboursTable(self, mainCatPathName, extCatPathName, outputPathName, matchRadius)

source code 

Creates a cross neighbours table of neighbours in the given external catalogue to the supplied sources.

Parameters:
  • mainCatPathName (str) - Path to the source table flat-file.
  • extCatPathName (str) - Path to the external source table flat-file.
  • outputPathName (str) - Output path for the neighbours table flat-file.
  • matchRadius (float) - Join criterion - search radius in arcseconds.