Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 12
Generalize plotting script for sigma tau.#11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
0c032b4cdde0a87340af05a6bd97bb271dd21df94b1937a3dFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| #%% User-defined parameters | ||
| #%% User-defined parameters | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does this break the iPython cell? ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed in update. | ||
| from waveform_collection import gather_waveforms | ||
| from obspy.core import UTCDateTime | ||
| @@ -26,7 +26,7 @@ | ||
| stf = st.copy() | ||
| stf.filter('bandpass', freqmin=FMIN, freqmax=FMAX, corners=2, zerophase=True) | ||
| stf.taper(max_percentage=.01) | ||
| stf.taper(max_percentage=0.01) | ||
| tvec = stf[0].times('matplotlib') | ||
| @@ -42,7 +42,7 @@ | ||
| vel, az, mdccm, t, data = wlsqva_proc(stf, rij, tvec, WINLEN, WINOVER) | ||
| fig1, axs1 = array_plot(tvec, data, t, mdccm, vel, az, .6) | ||
| fig1, axs1 = array_plot(stf, t, mdccm, vel, az, ccmplot=True, sigma_tau=False) | ||
| #%% Array uncertainty | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could also add an option to plot the beam for a specified vel and baz, but perhaps that is best left for a future change