Ignore:
Timestamp:
26/05/06 15:40:27 (14 years ago)
Author:
domlowe
Message:

added getDomain() to API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/parser/API/ops_GridSeriesFeature.py

    r1032 r1040  
    3131    return domaincomp 
    3232 
    33 # #     def getDomain(self): 
    34 # #         #returns both the domain reference axes and domain compliment axes in a single domain dictionary 
    35 # #         #axes are in no particular order 
    36 # #         domain = {} 
    37 # #         dr=self.__getDomainReference() 
    38 # #         dc=self.__getDomainComplement() 
    39 # #         for key in dc.keys(): 
    40 # #             domain[key]=dc[key] 
    41 # #         for key in dr.keys(): 
    42 # #             domain[key]=dr[key] 
    43 # #         return domain 
     33def getDomain(self): 
     34    #returns both the domain reference axes and domain compliment axes in a single domain dictionary 
     35    #axes are in no particular order 
     36    domain = {} 
     37    dr=getDomainReference(self) 
     38    dc=getDomainComplement(self) 
     39    for key in dc.keys(): 
     40        domain[key]=dc[key] 
     41    for key in dr.keys(): 
     42        domain[key]=dr[key] 
     43    return domain 
Note: See TracChangeset for help on using the changeset viewer.