Closed arkottke closed 3 years ago
I think this is a good idea and something that should be fairly straightforward to implement. Thanks for suggesting it!
My thinking on this is to:
cli.py
.cli.py
which perform similar functions to the example notebooks (e.g., simple_hvsrpy_interface.ipynb
).hvsrpy
package.Update: A preliminary implementation of a command line interface has been added to the dev branch with commit 8505ff. My intent is make a release candidate for v1.0.0 which includes the CLI, among other changes, in the next week or two. In the meantime the CLI is functional, although not guaranteed to be 100% debugged. Feedback now (or after the RC comes out) is appreciated.
It would be nice to be able to run the program from the command line for a list of files. This is the way that I have implemented by own HVSR calculation software. The following is an example of my command line interface:
A few things:
I think such an interface would help in bulk processing of recordings. Additionally, interactively selecting frequency ranges could be done using matplotlib GUI support.