Comments (3)
Agreed, the proposed change would be a helpful improvement. Also, the above description matches my understanding of the current mtuq implementation.
The reason for the current implementation I think is that user-supplied static time shifts get applied to the Green's functions during data processing and become less accessible thereafter.
Applying the static time shifts during data processing has an advantage in that the static time shifts get applied once and for all, and the data and synthetic windows are well centered prior to cut-and-paste misfit function evaluation. A side effect, however, is that the user-supplied static time shifts are not immediately accessible to the misfit function, which writes out all the attributes used for plotting.
My first thought is that it should easily doable to include these static time shifts by default in the waveform annotations. Also, we would want them to be written out in some way in the json files used for time shift spider plots. Adding this the high priority list...
from mtuq.
Addressed in new pull request #248
For more information see here
https://github.com/rmodrak/mtuq/blob/master/tests/test_time_shifts.py
In particular
#
# MTUQ distinguishes between the following different types of
# time-shift corrections
#
# - "static_shift" is an initial user-supplied time shift applied during
# data processing
#
# - "time_shift" is a subsequent cross-correlation time shift applied during
# misfit evaluation
#
# - "total_shift" is the total correction, or in other words the sum of
# static and cross-correlation time shifts
#
from mtuq.
Please feel free to reopen if necessary
from mtuq.
Related Issues (20)
- Need for small QOL improvement for mtuq.event.Force HOT 3
- C/C++ Pointer error when running container with apptainer HOT 2
- meca [error] running serialgridsearch.dc.py example HOT 4
- mtuq install fails due to instaseis & gfortran HOT 5
- Plotting error function plot_waveforms1 HOT 2
- Specfem3D-derived Green Functions expected units HOT 2
- Update instructions to use mamba (or libmamba) solver HOT 6
- ImportError on jupyter notebook HOT 3
- polarity text label for waveform fits plot HOT 2
- Error when using download_greens_tensors(stations, origin, model) HOT 3
- Using both HN? and BH? components for a single station HOT 2
- Suggested improvement for cross correlation time shifts
- amplitude scaling for waveform plots HOT 1
- Resample following bandpass filtering?
- ImportError during pip installation of mtuq HOT 1
- Run examples in terminal encountered plot errors HOT 3
- Possible discussion topic: Combined PySEP + MTUQ workflow HOT 2
- Possible discussion topics: Default colorbar limits and misfit normalization HOT 9
- Using custom windows (FLEXWIN/PyFlex) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mtuq.