StingraySoftware / stingray

Anything can happen in the next half hour (including spectral timing made easy)!
https://stingray.science/stingray
MIT License
166 stars 137 forks source link

Fix deadtime model #800

Closed matteobachetti closed 3 months ago

matteobachetti commented 4 months ago

The dead time model had a few issues:

Also in this PR:

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 98.67550% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 94.52%. Comparing base (de9400a) to head (baa5060).

:exclamation: Current head baa5060 differs from pull request most recent head 370bd9c. Consider uploading reports for the commit 370bd9c to get more accurate results

Files Patch % Lines
stingray/deadtime/model.py 98.40% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #800 +/- ## ========================================== - Coverage 96.43% 94.52% -1.91% ========================================== Files 45 45 Lines 9034 9135 +101 ========================================== - Hits 8712 8635 -77 - Misses 322 500 +178 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

pep8speaks commented 4 months ago

Hello @matteobachetti! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 1680:101: E501 line too long (103 > 100 characters) Line 1681:101: E501 line too long (103 > 100 characters)

Comment last updated at 2024-04-02 13:51:20 UTC