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

[gui] hardcoded 0.5 pick weight threshold for certain operations should be made configurable #127

Open
luca-s opened this issue Apr 19, 2024 · 0 comments

Comments

@luca-s
Copy link
Contributor

luca-s commented Apr 19, 2024

Dear developers,

I was not able to compute magnitude in scolv for certain events and after some investigation I found out that there is a 0.5 pick weight threshold below which the picks are silently ignored. I have now fixed the issue on my side, so I do not need support.

I just wanted to suggest to make the threshold configurable and also to log the discarded picks so that careful users have a chance to find out what the GUIs are doing.

if ( arrival->weight() < 0.5 ) continue;


if ( arrival->weight() <= 0.5 ) {

if ( Util::getShortPhaseName(ar->phase().code()) != 'P' || weight < 0.5 )

if ( Util::getShortPhaseName(ar->phase().code()) != 'P' || weight < 0.5 ) {

thanks
Luca

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

1 participant