nenupy.instru.instrument_tools.miniarrays_rotated_like

nenupy.instru.instrument_tools.miniarrays_rotated_like(rotations=[0])[source]

Returns the Mini-Array indices whose rotations match the rotations argument. A \(60^{\circ}\) modulo is automatically applied to all rotation parameters.

Parameters:

rotations (list`[`int]) – Mini-Array rotation(s) to select. A ValueError is raised if the values are not integers and/or if they are not multiples of 10.

Returns:

Mini-Array indices.

Return type:

ndarray

Example:
from nenupy.instru import miniarrays_rotated_like

miniarrays_rotated_like([10])