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

Compute deconvolution parameters in FlashCamExtractor only as needed #2545

Merged
merged 1 commit into from Apr 25, 2024

Conversation

maxnoe
Copy link
Member

@maxnoe maxnoe commented Apr 24, 2024

No description provided.

kosack
kosack previously approved these changes Apr 25, 2024
@kosack
Copy link
Contributor

kosack commented Apr 25, 2024

Looks like you missed a spot in __call__:

>       pole_zeros, gains, shifts, pz2ds = self.deconvolution_pars[tel_id]
E       AttributeError: 'FlashCamExtractor' object has no attribute 'deconvolution_pars'. Did you mean: '_deconvolution_pars'?

@maxnoe
Copy link
Member Author

maxnoe commented Apr 25, 2024

Thanks, fixed. Also rebased to get the CI fix in.

@maxnoe maxnoe added this to the v0.21.0 milestone Apr 25, 2024
@maxnoe maxnoe force-pushed the better_conv_params branch 2 times, most recently from 65749a3 to 31e8b81 Compare April 25, 2024 10:40
@maxnoe
Copy link
Member Author

maxnoe commented Apr 25, 2024

Merging, only a small fix after the approving reviews of @kosack and @clara-escanuela

Copy link

Passed

Analysis Details

0 Issues

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

Coverage and Duplications

  • Coverage 100.00% 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 aa2890e into main Apr 25, 2024
12 checks passed
@maxnoe maxnoe deleted the better_conv_params branch April 25, 2024 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants