-
Notifications
You must be signed in to change notification settings - Fork 269
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Switching from low-level cleaning method approach to just adding event as keyword argument to the __call__ function - backwards compatible now
- Loading branch information
Showing
5 changed files
with
58 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
Change the ``ImageCleaner`` API from __call__(self, tel_id, image, peak_time) | ||
to __call__(self, tel_id: int, event: ArrayEventContainer) so cleaning | ||
algorithms can now access relevant information for methods | ||
Adding event as keyword argument to the ``ImageCleaner`` API | ||
so cleaning algorithms can now access relevant information for methods | ||
that e.g. require monitoring information. | ||
|
||
The __call__ function now internally uses an abstract | ||
clean_image(self, tel_id, image, peak_time) method | ||
defined by each ImageCleaner subclass. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters