sequencetools.remove_sequence_elements_at_indices_cyclically

abjad.tools.sequencetools.remove_sequence_elements_at_indices_cyclically.remove_sequence_elements_at_indices_cyclically(sequence, indices, period, offset=0)[source]

New in version 2.0.

Remove sequence elements at indices mod period plus offset:

abjad> from abjad.tools import sequencetools
abjad> sequencetools.remove_sequence_elements_at_indices_cyclically(range(20), [0, 1], 5, 3)
[0, 1, 2, 5, 6, 7, 10, 11, 12, 15, 16, 17]

Ignore negative indices.

Return list.

This Page