-
Notifications
You must be signed in to change notification settings - Fork 87
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
What fundamental restrictions of templates, detection & lag-calc do we want to solve in the future? #445
Comments
One thing that I would like to be able to do is have a template with all the information in it, but only use certain channels for detection, then all for subsequent lag-calc. I want to do this to be able to reduce computational requirements for long-running detection runs, but then be able to maintain the meta-data for picking at the end. |
That's a good point! I added it in the list above, and I also added a point that it would be nice to later be able to ask |
While this is open - other things that I want to do include:
I think we probably only need a small set of
The |
|
I'm opening this issue with the intent to collect information and discuss a suitable implementation strategy. So this is very much Work in Progress and I would appreciate any input to add to the current restrictions, related features wishes, and proposed implementation strategies.
Current restrictions
The current implementation of templates, detection, cross-correlation, and lag-calc has some restrictions including:
relative_magnitudes
doesn't work right now because templates don't contain enough information to compute pre-event noise (see Party.relative_magnitude or Party.lag_calc(relative_magnitude=True) broken in 0.4.x #385)match_filter
andlag_calc
always use all available channels of a template, without options for discriminationmatch_filter
andlag_calc
use the full length of the traces in the template for correlationIs your feature request related to a problem? Please describe.
It would be nice if we could support the following functionality in the future:
match_filter
andlag_calc
should come with options to let e.g.match_filter
only run on a subset of the channels, while keeping all channels in the template (e.g., to detect with a subset for computational efficiency, but pick with all available channels)match_filter
andlag_calc
should come with an option to use only a fraction of the channels for correlation (e.g., to detect with the full seismogram, but pick with only the phase onset)Describe the solution you'd like
For now, I'm opening this issue to collect a list of challenges, missing features, and requirements that would all be related, and hopefully addressed, in an update to the template class. I suspect that templates will need to contain some more metadata for us to allow the features described above. I think it would be desirable if we can get away with only one major upgrade to the template class so that we break compatibility with old templates only during one version update.
Describe alternatives you've considered
None yet - but this issue will likely evolve and I'm planning to fill these in here!
Updates:
2021-03-15: first version
2021-03-17: added points 6 & 7
Relevant previous issues: #169
The text was updated successfully, but these errors were encountered: