Conversation
|
Thanks Luca. I think that this feature is of interest. I will hold it back some time because 7.4 is currently in its final phase and won't include that change. But we will check it later. |
|
Sounds good to me, thanks. |
|
I added initial code syntax remarks. There are more places but I think that you got the idea 😉. |
|
Sorry, that was a bit sloppy on my side. I debugged the code quite thoroughly because I was using it extensively during the development of the pickers, but I did not pay as much attention to the coding style since I hadn't initially planned to make a PR out of it. I'll fix that now. As a side note, in some cases I cannot use or Finally, I still have not been completely convinced by C++'s auto feature. 😉 It helps with refactoring, but sometimes it feels like a trade-off: less typing now, more detective work later when reading somebody else's code. 😄 |
|
That |
|
It should be fixed now. |
|
@gempa-jabe anything else to do on my side? |
|
No, your are done for the moment 😉. I forwarded the feature for testing. |
|
Thank you :) As a side note, and there is no need to do anything about it - I am just reporting, I noticed that the uncertainty and polarity potentially returned by the picker are discarded by |
|
I know and we will be looking into it. |
|
OK, got it: the re-picker just sets the cursor and does not create a pick so the attributes are lost of course. We have actually two options: preserve extra attributes and set them once a pick is made or set a pick when re-picking. The former is actually quite nasty to implement as cursor could move by moving the mouse and now it is the question whether the extra attributes are still valid or not. The latter would be the way to go. Without breaking current behaviour, we could also implement shift+r for that mode. |
|
It's definitely tricky. I wouldn't rush into implementing it right away, but wait and see whether users actually push for it. If future pickers become sufficiently reliable not only for phase identification, but also for polarity and uncertainty, I suspect users will prefer applying the picker to all stations at once rather than reviewing them station by station. At that point, the overall design could be reconsidered. Just my two cents. |
This PR extends the Repicking functionality in the Picker GUI, allowing users to run an S-picker relative to an existing P-pick instead of the current cursor position.
I initially developed this feature locally to help test new pickers I am working on, but realized it might be useful in general. Please feel free to close this PR if there is no interest in this functionality.
If there is interest in merging this, I already have the documentation ready to push on the src/base/master.