Skip to content

Devel - #45

Merged
JingChen-Thu merged 13 commits into
devel_jcfrom
devel
Aug 3, 2026
Merged

JingChen-Thu merged 13 commits into
devel_jcfrom
devel

Conversation

@JingChen-Thu

Copy link
Copy Markdown
Contributor

No description provided.

xumi1993 and others added 13 commits July 21, 2026 20:54
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
add rotation in crust1.0 model
…hods

- Updated `SrcRec.read` method to handle remote file downloads and improved error handling for missing files.
- Implemented reassignment of source indices to ensure uniqueness when reading source-receiver data.
- Added `select_by_constant_velocity` method to filter arrivals based on a constant-velocity travel-time curve.
- Introduced validation for input parameters in `select_by_constant_velocity`.
- Refactored plotting functions into a new `vis.py` module for better organization and maintainability.
- Added comprehensive unit tests for new functionality, including handling of duplicate source indices and validation of selection methods.
- Created a new test data file to validate behavior with duplicate source indices.
- Updated `plot_src_rec` to support coloring receivers by weight and added a colorbar for receiver weights.
- Introduced shared normalization for scatter plots when using weights.
- Modified `plot_travel_time` to allow selection of distance metrics and updated documentation accordingly.
- Added tests for new features including receiver weighting and distance selection in travel time plotting.
- Improved handling of receiver conflicts and ensured proper logging of warnings.
- Enhanced the `geo_weighting` method to deduplicate receiver names and normalize weights.
@JingChen-Thu
JingChen-Thu merged commit e8f81c3 into devel_jc Aug 3, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants