


__setID__(self,
inputArg)
Should set the ID numeric field 
source code



getID(self)
Fetches the numeric ID assigned to this TGN instance 
source code



__setBirthDate__(self,
bDate=str(""))
Set a text string which is the GPS birthdate, as closely as possible
for this neighborhood. 
source code



__setGPS__(self,
gps=int(0))
Set a text string which is the GPS birthdate, as closely as possible
for this neighborhood. 
source code



getBirthDateText(self)
This retrieves the text string birthdate stored in TGN instance. 
source code



getGPS(self)
This retrieves the integer GPS birthdate stored in TGN instance. 
source code



createFromString(self,
mString,
bString,
delim=" ")
This input method assumes you've opened a text file container and
will input the data from text strings. 
source code



reverseCreateFromString(self)
Returns a tuple of two strings, that can be dumped to disk and read
back into a TGN object with method createFromString() 
source code



__setMemberCount__(self,
mCount=0)
Sets the tally of members in the group. 
source code



getMemberCount(self)
get the registered members listed for this TGN 
source code



__setVolume__(self,
volume=0)
Sets the volume value of this grouping. 
source code



getVolume(self)
Gets the registered volume for a given TGN. 
source code



exportToString(self)
Create a text string that can be directly inserted into the text
field of the sqlite database table TGN. 
source code



getDensity(self)
Returns the value of TGN density set. 
source code



__setDensity__(self,
inputArg)
Sets the input density value to the TGN instance. 
source code



isNULL(self)
Check the defined properties, returns true if they are all zeroed out
which is NULL according the the matlab generator. 
source code



getBoundVector(self)
Gets the variance components of this TGN instance. 
source code



getCenterVector(self)
Gets the center of the neighborhood 
source code





isSame(self,
TGN)
Checks to see if self instance is IDENTICAL to TGN instance given as
argument! 
source code



checkOverlap(self,
TGN,
boundSize=0.5,
mutual=bool(True))
Check to see if SELF neighborhood overlaps with other input TGN
class. 
source code



getSeparation(self,
TGN)
Gets the resultant seperation vectors and normalizes this value by
the boundVector, then use this to compute a normalized magnitude of
the vector. 
source code



spatialAxisMinMax(self,
TGN)
Return the index returned by getCenterVector for self the spatial
axis with the smallest difference between self.getCenterVector and
TGN.getCenterVector returns a tuple of two indices
{minAxisIndex,maxAxisIndex} 
source code



nearestTGNid(self,
TGNList,
boundSize=0.5)
wrapper 
source code



nearestTGN(self,
TGNList,
boundSize=0.5)
Takes a list of TGNs and compares it to self to determine which is
the closest one, this ideally is the same group and we can associate
the group IDs. 
source code

