We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db0d34e commit 0c07249Copy full SHA for 0c07249
stagpy/plates.py
@@ -16,13 +16,13 @@
16
from .stagyydata import StagyyData
17
18
if typing.TYPE_CHECKING:
19
- from typing import Iterable, Tuple, TextIO, Union
+ from typing import Sequence, Tuple, TextIO, Union
20
from matplotlib.axes import Axes
21
from numpy import ndarray
22
from ._step import Step, _Geometry
23
24
25
-def _vzcheck(iphis: Iterable[int], snap: Step, vz_thres: float) -> ndarray:
+def _vzcheck(iphis: Sequence[int], snap: Step, vz_thres: float) -> ndarray:
26
"""Remove positions where vz is below threshold."""
27
# verifying vertical velocity
28
vzabs = np.abs(snap.fields['v3'].values[0, ..., 0])
0 commit comments