Is your feature request related to a problem? Please describe.
Sometimes we may be interested in only a specific part of a long recording. Currently there is no way to plot just a portion of a recording.
Describe the solution you'd like
I'd like a new command for the Python script that accompanies that analyze option (--analyze). Let us call this new command plot_slice. plot_slice will take two arguments, a start time and an end time (--plot_slice=t_start,t_end). It will result in a plot being generated that only contains the data between t_start and t_end.
Start and end times need to be bounds-checked!
Example usage: python lamp.py --analyze=lamp_data_0.dat --plot_slice=10,20 (plots the data in lamp_data_0.dat between 10 and 20 seconds).
The naming of the plot should follow some consistent convention that shows it's only for a specific time range. For example, it could be old_file_name + "_from" + t_start + "to" + t_end, in which case we'd have something like "raw_base_lamp_data_0_from10to20.dat" for the example above (based on the default settings in the current version of the software).
Timeline
Needed to properly assess quality of recordings. Should be completed soon.
Is your feature request related to a problem? Please describe. Sometimes we may be interested in only a specific part of a long recording. Currently there is no way to plot just a portion of a recording.
Describe the solution you'd like I'd like a new command for the Python script that accompanies that
analyze
option (--analyze
). Let us call this new commandplot_slice
.plot_slice
will take two arguments, a start time and an end time (--plot_slice=t_start,t_end
). It will result in a plot being generated that only contains the data betweent_start
andt_end
.Start and end times need to be bounds-checked!
Example usage:
python lamp.py --analyze=lamp_data_0.dat --plot_slice=10,20
(plots the data in lamp_data_0.dat between 10 and 20 seconds).The naming of the plot should follow some consistent convention that shows it's only for a specific time range. For example, it could be
old_file_name + "_from" + t_start + "to" + t_end
, in which case we'd have something like "raw_base_lamp_data_0_from10to20.dat" for the example above (based on the default settings in the current version of the software).Timeline Needed to properly assess quality of recordings. Should be completed soon.