imap_processing.idex.idex_l2b.round_spin_phases#

imap_processing.idex.idex_l2b.round_spin_phases(spin_phases: DataArray) DataArray#

Round spin phase angles to the nearest quadrant (0, 90, 180, 270).

Parameters:

spin_phases (xarray.DataArray) – Spacecraft spin phase angles. Expected to be integers in the range [0, 360).

Returns:

Spin phases rounded to the nearest quadrant.

Return type:

xarray.DataArray