示例#1
0
 def to_dict(self):
   obj = Integrater.to_dict(self)
   import inspect
   attributes = inspect.getmembers(self, lambda m:not(inspect.isroutine(m)))
   for a in attributes:
     if a[0].startswith('_xds_'):
       obj[a[0]] = a[1]
   return obj
示例#2
0
    def to_dict(self):
        obj = Integrater.to_dict(self)

        attributes = inspect.getmembers(self,
                                        lambda m: not (inspect.isroutine(m)))
        for a in attributes:
            if a[0].startswith("_xds_"):
                obj[a[0]] = a[1]
        return obj
示例#3
0
 def set_integrater_high_resolution(self, dmin, user = False):
   if user:
     Integrater.set_integrater_high_resolution(self, dmin, user)
示例#4
0
 def set_integrater_resolution(self, dmin, dmax, user = False):
   if user:
     Integrater.set_integrater_resolution(self, dmin, dmax, user)
   return
示例#5
0
 def set_integrater_high_resolution(self, dmin, user=False):
     if user:
         Integrater.set_integrater_high_resolution(self, dmin, user)
示例#6
0
 def set_integrater_resolution(self, dmin, dmax, user=False):
     if user:
         Integrater.set_integrater_resolution(self, dmin, dmax, user)
     return