getting an exception or sentinel value (of user's choice) when "some data might have been lost"
repeats of live_wf[:100]give me 0-100, then 100-200, then 200-300...
live_wf[i:j] is such that i and j are in samples since the process started, with customizable behavior when data requested is no longer (past) or not yet (future) in buffer (behaviors such as returning exception, or sentinel, or (in the case of future data), simply block (sleep) until data is available...
Create
LiveWf
(see the very beginning of the read me of https://github.com/otosense/taped), but with different behaviors, such as:live_wf[:100]
give me 0-100, then 100-200, then 200-300...live_wf[i:j]
is such that i and j are in samples since the process started, with customizable behavior when data requested is no longer (past) or not yet (future) in buffer (behaviors such as returning exception, or sentinel, or (in the case of future data), simply block (sleep) until data is available...