ewoksxrpd.tasks.sum.iterate_scan_with_skip#
- ewoksxrpd.tasks.sum.iterate_scan_with_skip(scan_iterator, step)[source]#
- Parameters:
scan_iterator (
Iterator
[Any
]) – iterate over all scan pointsstep (
int
) – -1 means no skipping, 0 means skipping the first, N>0 means skipping every N points starting from 0
- Yields:
the non-skipped scan index and corresponding data
- Return type:
Generator
[Tuple
[int
,Any
],None
,None
]