Exemplo n.º 1
0
 def __init__(self, f=None, args=None):
     """Constructor  
     frequencies may be provided at construction time (or not for symbolic solutions).
     @param f (optional) list of frequencies
     @param args (optional) string arguments for the circuit.
     @remark Arguments are provided on a line as pairs of names and values separated by a space.
     """
     SystemDescriptionParser.__init__(self, f, args)
 def __init__(self, f=None, args=None, callback=None, cacheFileName=None):
     """constructor  
     frequencies may be provided at construction time (or not for symbolic solutions).
     @param f (optional) list of frequencies
     @param args (optional) string arguments for the circuit.
     @param callback (optional) function taking one argument as a callback
     @param cacheFileName (optional) string name of file used to cache results  
     @remark Arguments are provided on a line as pairs of names and values separated by a space.  
     The optional callback is used as described in the class CallBacker.
     """
     SystemDescriptionParser.__init__(self, f, args)
     self.sf = None
     # pragma: silent exclude
     CallBacker.__init__(self, callback)
     LinesCache.__init__(self, 'SParameters', cacheFileName)