Giter Club home page Giter Club logo

Comments (6)

rmodrak avatar rmodrak commented on June 15, 2024

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.

carltape avatar carltape commented on June 15, 2024

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.

rmodrak avatar rmodrak commented on June 15, 2024
  • 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.

carltape avatar carltape commented on June 15, 2024

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.

rmodrak avatar rmodrak commented on June 15, 2024

Taking a stab at customizable annotations here:
7aa099a

from mtuq.

rmodrak avatar rmodrak commented on June 15, 2024

Customizable trace and station annotations added in #224

from mtuq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.