https://github.com/jewbetcha/openlaunch/blob/be4a36a58096c2dc94ea8f8fa9affe5269eb4e6b/launch_monitor.py#L149
I am dubious of this entire method for triggering detections. The values here (the sleep, the trigger levels, etc) do not seem to be based in theory. The variables in the system config need to be set smartly for the system to function. It is perfectly reasonable to set them heuristically, but experimental data captures are required to do the required analysis. It would be useful to plot the time domain signal here (is that what the variable current is?) as well as the threshold level to observe visually how this detector works.
This all goes back to the fundamental aspect of the design that centers around estimating power levels for the null hypothesis and the target/signal present hypothesis. From there, you can effectively set power level thresholds for your signal detectors.
https://github.com/jewbetcha/openlaunch/blob/be4a36a58096c2dc94ea8f8fa9affe5269eb4e6b/launch_monitor.py#L149
I am dubious of this entire method for triggering detections. The values here (the sleep, the trigger levels, etc) do not seem to be based in theory. The variables in the system config need to be set smartly for the system to function. It is perfectly reasonable to set them heuristically, but experimental data captures are required to do the required analysis. It would be useful to plot the time domain signal here (is that what the variable current is?) as well as the threshold level to observe visually how this detector works.
This all goes back to the fundamental aspect of the design that centers around estimating power levels for the null hypothesis and the target/signal present hypothesis. From there, you can effectively set power level thresholds for your signal detectors.