Add command-line option to specify sampling frequency
Currently we always assume that the first column of the data files contains timestamps associated with values. In addition we assume that a regular sampling is used. We therefore deduce the sampling frequency from the two first timestamps.
We should allow the data files not to contain the timestamps, and let the user specify the sampling frequency as a command-line option.
The optional command-line option --fs
could be for example used. An option for disabling the assumption that first column contains timestamps should also be provided.