Comments (6)
Here's one idea-- I think we could make the following two functions "swappable", so to speak.
add_trace_labels()
add_station_labels()
Then users could customize annotations however they like by passing these functions as arguments to the higher level waveform plotting functions. Perhaps this could be a workable solution?
from mtuq.
That flexibility would be nice, too. Does it address the overall header line -- the one in the figure with "Pwin 1 Swin 500 N 34 Np 0 Ns 102"? The one item that should not be optional is the length of the time windows, since (without a scale bar) the viewer cannot tell how much time is displayed in the waveforms. (They can guess from the bandpass listed.) On a related note, given the recent tests with source duration, it might be good to list some text related to what kind of stf (or hdur) is used. And: One cannot tell the difference between a constrained inversion (e.g., deviatoric or double couple) and an unconstrained one. (One could use gamma delta 7 0* for a deviatoric inversion, to distinguish it from gamma delta = 7 0, which would indicate a FMT run that happens to be deviatoric.) Sorry, lots of different thoughts here. The overarching item is that by looking at the waveform fits plot, we should be able to tell most of the key choices for the inversion run.
from mtuq.
-
I believe the length of the time windows is now included in the third line of the MTUQ header. Implementing scale bars is also welcome, if anyone wants to.
-
Perhaps the STF information could be added to the second line of the MTUQ header? A challenge is that sometimes the line gets cut off (e.g. if the Earth model has a long name)
-
Agreed, an asterisk to denote a fixed parameter is a great idea. We would just have to think about how to implement this, since the current plotting function arguments may not provide the necessary information.
-
For me, certain closely spaced text can be difficult to read (an issue since childhood), so I like the idea of allowing customization-- allowing both easy-to-read headers and more detailed headers, depending on preference.
from mtuq.
Ah, you're right about the window lengths! I see them here.
These are "when time permits" items, but good to have the bullets. Thanks.
from mtuq.
Taking a stab at customizable annotations here:
7aa099a
from mtuq.
Customizable trace and station annotations added in #224
from mtuq.
Related Issues (20)
- 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
- incorporate static time shifts into the values displayed in the waveform fits plots HOT 3
- 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
- MTUQ plot figures problems HOT 2
- Syngine tags consistency
- Finer dicretization of depth search using SPECFEM generated GFs HOT 1
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.