-
Notifications
You must be signed in to change notification settings - Fork 9
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
Wobble in LST db #254
Wobble in LST db #254
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## auto_MCP_DL2_DL3 #254 +/- ##
=================================================
Coverage 77.23% 77.23%
=================================================
Files 21 21
Lines 2614 2614
=================================================
Hits 2019 2019
Misses 595 595 ☔ View full report in Codecov by Sentry. |
two questions:
|
We need only the offset (due to the IRFS, which are 0.4 point-like) I retrieve the wobble from MAGIC file names (looking for a '-W after the source name), so, hopefully, it should be 0 (or not written in the name of the file with a -W pattern: I found some cases like that, but I have to investigate them) for ON obs. |
ok
better to check that it is actually 0 and not else.
it would be interesting to have cases where the patter for wobble is different from -WY.YY+ZZZ ... if you find some like that, please let me know. |
I found some of them, but I want to check if they are ON or just a 'wrong' name of the file |
if you need to know some observations that are surely in ON, there are the observations of SGR1935+2154 from 2021-2022. E.g. you can try the data from 2022-10-20 (LST convention, 2022-10-21 in MAGIC convention). Anyway, if the |
I was just checking SGR: the output of the script is '[]', so quite easily identifiable. If DAQ SW never uses the pattern '{source}-W' for ON obs. the script never associate a float/list of floats to them |
Of course, in case some wobble obs. miss this pattern, they won't be 'listed' for the wobble evaluation... |
ok, then I agree it is straightforward to get ON observations. Correct, the DAQ SW will use the pattern |
I removed one of the input DBs because they have a slightly different format and 2023 processing failed in case they set weobble=0, the file will have a pattern {source}-W0.00+* and the output will be '[0.00]' (in the hp that the wobble offset did not change during an LST run, which seems fine up to now) |
run 05109639, '--W....' 😕 |
that would be a problem if for some reason the source name ends exactly with |
I search for the -w patetrn after 'removing' the source name (with a split on it), so, I am actually looking for {source}-W |
actually, also if source name ends with '-' I don't consider that '-' while looking for -W |
I checked into the MAGIC database and I do not find sources with such a pattern. I found sources with |
magicctapipe/scripts/lst1_magic/semi_automatic_scripts/database_production/wobble_db.py
Outdated
Show resolved
Hide resolved
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.
just a tiny suggestion to simplify a bit the code, otherwise it is fine with me and we can merge
No description provided.