The following major changes were made
Algorithm updates (not-backwards compatible):
- The "input_data" parameter of sprit.input_parameters() was changed from "datapath"
- The "data_export_path parameter of sprit.fetch_data() was changed from "trim_dir"
- The "horizontal_method" parameter of sprit.process_hvsr() was changed from "method"
- A new input_parameters() parameter was added: 'id_prefix'
- Used for the creation of a unique HVSR_ID attribute (usually, id_prefix is county or project)
- HTML and PDF reports now supported (PDF is now default report that is viewed after processing)
- Diffuse Field Assumption method for combining horizontal components is now fully working/supported
- This can be used with horizontal_method=1 or horizontal_method='dfa' as a parameter in sprit.process_hvsr()
- Single azimuth designation supported
- This can be specified using horizontal_method=8 in sprit.process_hvsr()
- Additional dependencies: xhtml2pdf for creating pdf reports
- Optional dependency: kaleido (for creating html/pdf reports with plotly as the plot engine)
- Noise removal updates:
- New parameter (and method) processing_window allows specifying exact windows to remove by time
- Any non-default parameter that is entered triggers the method that parameter is associated with to be used
Other major updates:
- Built-in Tromino instrument response data matches with known response data
- Added legend to component subplot of HV_Plot (sprit.plot_hvsr())
- The sprit.export_report() function has much more functionality
- Specifying specific files/folders for specific reports
- Print_Report can now be exported to a .txt file
- Additional functionality for the new HTML/PDF reports
- Filenames now reflect hvsr_id (which includes start time, date, and station/partition) and site
- Azimuths will automatically be converted to a positive value between 0-180 degrees
- If multiple azimuth is used, the 0-180 is reflected onto 180-360 to save computational time
Minor changes:
- Cleanup of package files
- Various improvements to various plots
- General improvements to plotly functionality (catching up with matplotlib improvements)
- E.g., 'fr' in plot_type now shows which frequencies are being used to limit peak searching
- What is always printed to terminal (and what is printed via verbose=True)
See full changelog below:
**Full Changelog from previous pre-release**: https://github.com/RJbalikian/SPRIT-HVSR/compare/v1.2-dev...v1.3
**Full Changelog from previous full release**: https://github.com/RJbalikian/SPRIT-HVSR/compare/v1.1.1...v1.3