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

Implement lstchains image cleaning #2541

Merged
merged 21 commits into from
Jul 10, 2024
Merged

Implement lstchains image cleaning #2541

merged 21 commits into from
Jul 10, 2024

Conversation

Hckjs
Copy link
Contributor

@Hckjs Hckjs commented Apr 23, 2024

Changing the ImageCleaners API in #2511 now allows to make use of monitoring information in the cleaning process.

This enables implementing lstchains image cleaning procedure from its r0_to_dl1 script and dl1ab script including the 'pedestal cleaning' method.

This comment has been minimized.

1 similar comment

This comment has been minimized.

This comment has been minimized.

1 similar comment

This comment has been minimized.

@Hckjs Hckjs force-pushed the lstchain_cleaning branch 2 times, most recently from 4e7e24a to 4aafbab Compare April 25, 2024 08:46

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

src/ctapipe/image/cleaning.py Outdated Show resolved Hide resolved
src/ctapipe/image/cleaning.py Outdated Show resolved Hide resolved
src/ctapipe/image/cleaning.py Outdated Show resolved Hide resolved
Hckjs added 7 commits June 3, 2024 13:35
 - instead allow time_limit and bright_cleaning_threshold to be None
 - substitute it with the argsort term in the GlobalPeakWindowSum

 Co-authored-by: Maximilian Linhoff <[email protected]>
 - Adding a wrapper

This comment has been minimized.

This comment has been minimized.

1 similar comment

This comment has been minimized.

@Hckjs Hckjs requested review from maxnoe and kosack June 5, 2024 10:17
Copy link

Passed

Analysis Details

1 Issue

  • Bug 0 Bugs
  • Vulnerability 0 Vulnerabilities
  • Code Smell 1 Code Smell

Coverage and Duplications

  • Coverage 92.80% Coverage (94.10% Estimated after merge)
  • Duplications 0.00% Duplicated Code (0.60% Estimated after merge)

Project ID: cta-observatory_ctapipe_AY52EYhuvuGcMFidNyUs

View in SonarQube

@maxnoe maxnoe merged commit 970300e into main Jul 10, 2024
12 checks passed
@maxnoe maxnoe deleted the lstchain_cleaning branch July 10, 2024 13:31
@TjarkMiener
Copy link
Member

Would there be the possibility of patching this lstchain cleaning algo to ctapipe v.19.x in order to already use it on LST-1 data with ctapipe_io_lst v0.23.2?

@maxnoe
Copy link
Member

maxnoe commented Jul 19, 2024

We don't maintain patch releases at the moment, and starting to do one for new features instead of for security fixes or critical bugs is not something I intend to do.

We should update ctapipe_io_lst instead to be compatible with the latest ctapipe.

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.

4 participants