imap_processing.swapi.l1.swapi_l1.get_indices_of_full_sweep#
- imap_processing.swapi.l1.swapi_l1.get_indices_of_full_sweep(packets: Dataset)#
Get indices of full cycles.
Beginning of a sweep is marked by SWP_SCI.SEQ_NUMBER=0 (Sequence number of set of steps in energy sweep); end of a sweep is marked by SWP_SCI.SEQ_NUMBER=11; all packets must be present to process a sweep.
In this function, we get the indices of SEQ_NUMBER 0 and then construct full sweep indices.
- Parameters:
packets (xarray.Dataset) – Dataset that contains SEQ_NUMBER data informations. Eg. sci_dataset[“SEQ_NUMBER”].data
- Returns:
1D array with indices of full cycle data.
- Return type: