ladisk / LDAQ

MIT License
24 stars 5 forks source link

ENH: add delay to generation class #54

Closed TKosir closed 1 year ago

TKosir commented 1 year ago

Sometimes, it would be beneficial to delay the run_generation() method. That way we ensure that generation will happen when all acquisition sources are set up and ready.

This can be done by adding an additional method to the base generation class, for example, named ´add_delay(time_delay)´. When run_generation is called, the generate method would be delayed for time_delay before generating.