예제 #1
0
    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
    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