Skip to content

Commit

Permalink
change to numpy.ndarray
Browse files Browse the repository at this point in the history
  • Loading branch information
daralynnrhode committed Aug 6, 2024
1 parent 5916aea commit 1ac7682
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions imap_processing/swapi/l1/swapi_l1.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -100,7 +100,7 @@ def decompress_count(
Returns
-------
numpy.typing.ArrayLike
numpy.ndarray
Array with decompressed counts.
"""
# Decompress counts based on compression indicators
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 1ac7682

Please sign in to comment.