@@ -266,7 +266,7 @@ def sag_period(sweep: EphysSweep, where_sag: ndarray) -> float:
266266def where_stimulus (data : Union [EphysSweep , EphysSweepSet ]) -> Union [bool , ndarray ]:
267267 """Checks where the stimulus is unequal to current at t=0.
268268
269- Checks where stimulus is unequal to current at t=0 for a single sweep or each
269+ Checks where stimulus is unequal to current at t=0 for a single sweep or each
270270 sweep in a sweepset.
271271
272272 Args:
@@ -326,7 +326,7 @@ def has_stimulus(data: Union[EphysSweep, EphysSweepSet]) -> Union[bool, ndarray]
326326
327327 Returns:
328328 bool: True if sweep has stimulus."""
329- return np .any (data .i .T * where_stimulus (data ) != 0 , axis = 0 )
329+ return np .any (data .i .T * where_stimulus (data ) != 0 , axis = 0 )
330330
331331
332332def is_hyperpol (data : Union [EphysSweep , EphysSweepSet ]) -> Union [bool , ndarray ]:
@@ -338,7 +338,7 @@ def is_hyperpol(data: Union[EphysSweep, EphysSweepSet]) -> Union[bool, ndarray]:
338338
339339 Returns:
340340 bool: True if sweep is hyperpolarizing."""
341- return np .any (data .i .T * where_stimulus (data ) < 0 , axis = 0 )
341+ return np .any (data .i .T * where_stimulus (data ) < 0 , axis = 0 )
342342
343343
344344def is_depol (data : Union [EphysSweep , EphysSweepSet ]) -> Union [bool , ndarray ]:
@@ -350,7 +350,7 @@ def is_depol(data: Union[EphysSweep, EphysSweepSet]) -> Union[bool, ndarray]:
350350
351351 Returns:
352352 bool: True if sweep is depolarizing."""
353- return np .any (data .i .T * where_stimulus (data ) > 0 , axis = 0 )
353+ return np .any (data .i .T * where_stimulus (data ) > 0 , axis = 0 )
354354
355355
356356def has_rebound (feature : Any , T_rebound : float = 0.3 ) -> bool :
0 commit comments