コード例 #1
0
    def _get_Blow(self):

        # if there is a model for blow, apply it
        if 'blow_model' in self.vals.keys():
            vals, model = change_model(self.Models, self.vals['blow_vals'])

            B = getattr(radmdls, self.vals['blow_model'])(
                vals=vals, temp=self._cal_dts['temp'])

        # else use the constant value
        else:
            B = self.vals['b']

        return B
コード例 #2
0
ファイル: intrinsic.py プロジェクト: MK8J/semiconductor
    def get_B(self, nxc):

        if 'b_model' in self.vals.keys():
            vals, model, author = change_model(
                self.Models, self.vals['blow_vals'])

            doping = abs(self._cal_dts['Na'] - self._cal_dts['Nd'])

            Blow = self._get_Blow()
            B = getattr(radmdls, self.vals['b_model'])(
                self.vals, nxc=nxc, doping=doping,
                temp=self._cal_dts['temp'], Blow=Blow
            )

        else:
            B = self._get_Blow()

        return B
コード例 #3
0
ファイル: intrinsic.py プロジェクト: jpseif/semiconductor
    def get_B(self, nxc, **kwargs):
        self.calculationdetails = kwargs

        if 'b_model' in self.vals.keys():
            vals, model, author = change_model(self.Models,
                                               self.vals['blow_vals'])

            doping = abs(self._cal_dts['Na'] - self._cal_dts['Nd'])

            Blow = self._get_Blow()
            B = getattr(radmdls,
                        self.vals['b_model'])(self.vals,
                                              nxc=nxc,
                                              doping=doping,
                                              temp=self._cal_dts['temp'],
                                              Blow=Blow)

        else:
            B = self._get_Blow()

        return B