Sprit

Latest version: v2.0

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 19

1.3

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

1.2dev

- Single azimuth horizontal combination method
- Renaming of method parameter in process_hvsr to horizontal_method
- Tromino response data is more tuned to actual instrument (no longer simply arbitrary response data)
- Updating get_metadata() for reading in metadata from tromino, and change order of inputs
- Metadata only reads after data has been read in/updated
- Add legend to component plot (and other minor updates to default plot)
- Fixes to streamlit ui
- Remove extra resource files
- Update example notebook
- Various minor fixes

**Full Changelog**: https://github.com/RJbalikian/SPRIT-HVSR/compare/v1.1.1...v1.2-dev

1.1.1

A minor mix up was made in the max_deb and min_deb session state variables. This prevented the program from running and has been fixed.

1.1.0

- Added new GUI via Streamlit
- Added/initialized sprit_plots module to separate (some) plotting functions into new module
- Some documentation updates
- Added hvsr.sh script for use on Raspberry Shakes
- Added various cleanups/minor improvements

**Full Changelog**: https://github.com/RJbalikian/SPRIT-HVSR/compare/v1.0.2...v1.1.0

1.0.2

Fix to allow obspy streams to be read into sprit.run() (esp useful for tromino data)

**Full Changelog**: https://github.com/RJbalikian/SPRIT-HVSR/compare/v1.0.1...v1.0.2

1.0.1

- Fixed issues with analysis when data is not resampled
- Much more informative docstring with sprit.run() (can be accessed with help(sprit.run())
- Better functionality with smoothing
- Fixed error with default gui theme
- Cleanup and other minor updates

**Full Changelog**: https://github.com/RJbalikian/SPRIT-HVSR/compare/v1.0.0...v1.0.1

Page 2 of 19

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.