sandialabs / pyscan

Scientific Measurement Toolbox
https://pyscan.readthedocs.io/en/latest/
MIT License
4 stars 4 forks source link

Implemented Iterators in Experiment and Abstract Scan. #208

Closed rsbrost closed 2 months ago

rsbrost commented 2 months ago

refactor(core): refactoring experiment.py to use iterators rather than ranges in for loops. Added iterator method to abstract scan. Accounted for new iterator type in json encoder.

rsbrost commented 2 months ago

I removed nrange from scans since it could be replaced by iterator in all relevant instances and was largely irrelevant.