Example #1
0
    def __init__(self, cv=None):
        """init function

        Parameters:
            cv: dict, optional, default: None
                dict containing circuit parameters
                if None, default dict will be used: CVSTD
                for needed keys, see CVSTD
        """
        self.fig = createfig()
        self.cv = CVSTD.copy() if cv is None else cv
        self.p = None
        self._solve()
        self._set()
        self._eh('start')
Example #2
0
    def __init__(self, cvin=None):
        """init function

        Parameters:
            cvin: dict, optional, default: None
                containing circuit parameters
                if None, CVSTD will be used
                see CVSTD for requested keys
        """
        self.fig = createfig(title='CEAmplifier')
        self.cv = CVSTD.copy() if cvin is None else cvin
        self.p = None
        self._valid = True
        self._solve()
        self._set()
        self._eh('start')