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

Allowing external algo to find trigger patch #134

Merged
merged 6 commits into from
Jul 9, 2024
Merged

Conversation

TjarkMiener
Copy link
Member

This PR allows to interface with an external algo (i.e. DBScan) to find the trigger patch. Information must be written into a csv file containing the event_id, obs_id, tel_id, trg_pixel_id (location; where the trigger happen via pixel_id), and trg_waveform_sample_id (time; at which waveform sample the trigger happen). The csv files have to be located at the same directory as the input data with the same naming convention ending with 'npe.csv' instead of the standard r0.dl1.h5. The option to find the trigger patches from the true image or the integrated waveform is still possible.

TjarkMiener and others added 2 commits July 2, 2024 16:29
Fixing Codacy's "undefined loop variable" error.
Copy link
Member

@nietootein nietootein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Go. Thanks again, @TjarkMiener !

@TjarkMiener TjarkMiener merged commit f14d386 into master Jul 9, 2024
3 of 4 checks passed
@TjarkMiener TjarkMiener deleted the dbscan_output branch July 9, 2024 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants