コード例 #1
0
ファイル: spells.py プロジェクト: 410pfeliciano/stimfit
    def get_t50(self):
        """ calculates the half-widht in ms in the current trace"""

        self.update()

        # current t50's difference to calculate half-width (t50)

        return (stf.t50right_index()-stf.t50left_index())*self._dt
コード例 #2
0
ファイル: spells.py プロジェクト: yueqiw/stimfit
    def get_t50(self):
        """ calculates the half-widht in ms in the current trace"""

        self.update()

        # current t50's difference to calculate half-width (t50)

        return (stf.t50right_index() - stf.t50left_index()) * self._dt
コード例 #3
0
ファイル: spells.py プロジェクト: 410pfeliciano/stimfit
    def get_t50left(self):
        """ return the time at the half-width """
        self.update()

        return stf.t50left_index()*self._dt
コード例 #4
0
ファイル: spells.py プロジェクト: yueqiw/stimfit
    def get_t50left(self):
        """ return the time at the half-width """
        self.update()

        return stf.t50left_index() * self._dt