From 1ac768223a998806c2b511ca55d2df5806a7516f Mon Sep 17 00:00:00 2001 From: Daralynn Rhode Date: Tue, 6 Aug 2024 14:51:13 -0600 Subject: [PATCH] change to numpy.ndarray --- imap_processing/swapi/l1/swapi_l1.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/imap_processing/swapi/l1/swapi_l1.py b/imap_processing/swapi/l1/swapi_l1.py index a4c398763..7ead2a48c 100644 --- a/imap_processing/swapi/l1/swapi_l1.py +++ b/imap_processing/swapi/l1/swapi_l1.py @@ -30,7 +30,7 @@ def filter_good_data(full_sweep_sci: xr.Dataset) -> npt.NDArray: Returns ------- - numpy.typing.ArrayLike + numpy.ndarray Good data sweep indices. """ # PLAN_ID for current sweep should all be one value and @@ -100,7 +100,7 @@ def decompress_count( Returns ------- - numpy.typing.ArrayLike + numpy.ndarray Array with decompressed counts. """ # Decompress counts based on compression indicators @@ -139,7 +139,7 @@ def find_sweep_starts(packets: xr.Dataset) -> npt.NDArray: Returns ------- - numpy.typing.ArrayLike + numpy.ndarray Array of indices of start cycle. """ if packets["epoch"].size < 12: @@ -196,7 +196,7 @@ def get_indices_of_full_sweep(packets: xr.Dataset) -> npt.NDArray: Returns ------- - numpy.typing.ArrayLike + numpy.ndarray 1D array with indices of full cycle data. """ indices_of_start = find_sweep_starts(packets)