Home | Trees | Indices | Help |
|
---|
|
|
|||
| __init__(self, parentProfiles, map2model) | ||
str
|
version(self) Class version. |
||
int
|
__len__(self) Returns number of profiles in the collection |
||
| keys(self) | ||
| has_key(self, k) | ||
list
|
__iter__(self) Iterate over profile keys: |
||
dict
|
getInfo(self,
name) Use: |
||
| get(self, name, default=None) | ||
|
setInfo(self,
name,
**args) Add/Override infos about a given profile: |
||
|
set(self,
name,
prof,
mask=None,
default=None,
asarray=1,
comment=None,
**moreInfo) Add/override a profile. |
||
ProfileMirror
|
take(self,
indices,
*initArgs,
**initKw) Take from profiles using provided indices: |
||
ProfileCollection / subclass
|
concat(self,
*profiles) Concatenate this with the given ProfileMirror(s).: |
||
|
remove(self,
*key) Profiles can only be removed by the parent ProfileCollection |
||
ProfileCollection
|
clone(self) Clone profile mirror: |
||
|
clear(self) Profiles can only be cleared by the parent ProfileCollection |
||
int
|
profLength(self) Length of profile: |
|
|||
|
map feature -> model map from parent feature |
||
|
default default value to use if profile is removed / changed by set() |
||
|
_viewSignal support CrossView de-activation |
|
|
Class version.
|
|
|
|
Iterate over profile keys: for k in self <==> for k in p.keys()
|
Use: getInfo( name ) -> dict with meta infos about profile::Guaranteed infos: 'version'->str, 'comment'->str, 'changed'->1|0
|
|
Add/Override infos about a given profile: e.g. setInfo('relASA', comment='new', params={'bin':'whatif'})
|
Add/override a profile. The two info records 'version', 'changed' and 'isarray' are always modified but can be overridden by key=value pairs to this function. If the profile does not yet exist in the parent ProfileCollection, a new profile is created for the whole MultiModel and the values not covered by this ProfileMirror are set to <default>.
|
Take from profiles using provided indices: take( indices ) -> FeatureProfiles mapping to subset of parent
|
Concatenate this with the given ProfileMirror(s).: p0.concat( p1 [, p2, ..]) -> single ProfileMirror with the same number of profiles as p0 but with the length of p0+p1+p2..Note: it's not yet clear what meaning this will have for ProfileMirrors
|
Profiles can only be removed by the parent ProfileCollection
|
Clone profile mirror: clone() -> ProfileMirror (or sub-class)
|
Profiles can only be cleared by the parent ProfileCollection |
Length of profile: profLength() -> int; length of first non-None profile or 0
|
|
mapfeature -> model map from parent feature |
defaultdefault value to use if profile is removed / changed by set() |
_viewSignalsupport CrossView de-activation |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Tue May 1 22:34:59 2007 | http://epydoc.sourceforge.net |