Package PyDSTool :: Module Points :: Class PointInfo
[hide private]
[frames] | no frames]

Class PointInfo

source code

object --+
         |
        PointInfo

Structure for storing individual point labels and information dictionaries within a Pointset object.

This class will not know the size of the Pointset it is associated with, so index upper limits will not be checked in advance.

Do not use a PointInfo object as an iterator, as it is 'infinite' in size! (It uses DefaultDicts as its internal storage, which return {} for undefined labels.)

Instance Methods [hide private]
 
__init__(self, ptlabels=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
mapIndices(self, ixMapDict) source code
 
mapNames(self, themap)
Map labels, using a symbol map of class symbolMapClass.
source code
 
sortByIndex(self) source code
 
sortByLabel(self) source code
 
getIndices(self) source code
 
getLabels(self) source code
 
__contains__(self, key) source code
 
__getitem__(self, key) source code
 
__setitem__(self, key1, the_rest) source code
 
__len__(self) source code
 
remove(self, key1, *key2)
remove one or more items, keyed either by index or label.
source code
 
update(self, key1, key2=None, info=None) source code
 
__delitem__(self, key) source code
 
__eq__(self, other) source code
 
__ne__(self, other) source code
 
_infostr(self, tab=0) source code
 
__repr__(self)
str(x)
source code
 
__str__(self)
str(x)
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, ptlabels=None)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

str(x)

Overrides: object.__repr__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)