Skip to content
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

Padding zeros and filtering issues with MTUQ synthetics #294

Open
ammcpherson opened this issue Jan 28, 2025 · 1 comment
Open

Padding zeros and filtering issues with MTUQ synthetics #294

ammcpherson opened this issue Jan 28, 2025 · 1 comment

Comments

@ammcpherson
Copy link
Member

Hello,

I have been making and saving synthetics using MTUQ and SPECFEM3D-generated Green's functions for later use. These GFs are 23 seconds of data and should contain 2 main arrivals, and potentially some very small reflections off my mesh boundaries.

However, I noticed that the MTUQ synthetics end up with about 140 seconds of data, with approximately 60 seconds of zeros added to both the beginning and end of the trace. At the beginning of the trace, this is fine because the GF traces start at 0 amplitude. However, the end of the GFs is not 0 and this introduces an enormous artifact in the records after filtering.

Image

The image above shows an example of a synthetic that I created and saved from MTUQ. The top panel shows the raw synthetic, then the filtered synthetic with an abnormal spike right at 23 seconds after the origin time. The third panel I have trimmed the trace to +/- 10 seconds before and after the start and end times of the SPECFEM GF, and the fourth panel shows the trimmed trace filtered. The final 2 panels show the synthetic trimmed the the same length as the GF, and then filtered.

I believe there needs to be some control when saving the synthetics from MTUQ in how long of a record is produced, and some sort of tapering at the end of a record before adding zeros to avoid these artificial spikes.

Thanks,
Amanda

@rmodrak
Copy link
Member

rmodrak commented Jan 28, 2025 via email

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

No branches or pull requests

2 participants