Package Bio :: Package Phylo :: Module PhyloXML :: Class Distribution
[hide private]
[frames] | no frames]

Class Distribution

source code

          object --+        
                   |        
BaseTree.TreeElement --+    
                       |    
            PhyloElement --+
                           |
                          Distribution

Geographic distribution of the items of a clade (species, sequences).

Intended for phylogeographic applications.

Instance Methods [hide private]
 
__init__(self, desc=None, points=None, polygons=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from BaseTree.TreeElement: __repr__, __str__

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, desc=None, points=None, polygons=None)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  • desc (string) - free-text description of the location
  • points (list of Point objects) - coordinates (similar to the 'Point' element in Google's KML format)
  • polygons (list of Polygon objects) - coordinate sets defining geographic regions
Overrides: object.__init__
(inherited documentation)