pcdsdevices.utils.generate_scan_points
- pcdsdevices.utils.generate_scan_points(start: int | float | Decimal, end: int | float | Decimal, step: int | float | Decimal, prec: int, bidirectional: bool)
Yield Decimal scan positions, always including start and end.
If step does not divide the interval exactly, the final forward interval is shorter than step.
If bidirectional is True, retrace the forward positions without repeating the turning point.
prec specifies the number of significant digits used in arithmetic.