Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Feature update livetime correction add pileup parameter calculation.#100

Merged
samaloney merged 2 commits into
TCDSolar:mainfrom
samaloney:feat-update-livetime-correction
Apr 30, 2024
Merged

Feature update livetime correction add pileup parameter calculation.#100
samaloney merged 2 commits into
TCDSolar:mainfrom
samaloney:feat-update-livetime-correction

Conversation

@samaloney

Copy link
Copy Markdown
Member

No description provided.

@codecov

codecov Bot commented Apr 30, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.50%. Comparing base (d72c4c1) to head (0fde7ea).
Report is 18 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #100      +/-   ##
==========================================
+ Coverage   62.12%   62.50%   +0.38%     
==========================================
  Files          29       29              
  Lines        1769     1779      +10     
==========================================
+ Hits         1099     1112      +13     
+ Misses        670      667       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@samaloney samaloney force-pushed the feat-update-livetime-correction branch from 133751e to 0fde7ea Compare April 30, 2024 08:54
@samaloney samaloney merged commit 73f8d02 into TCDSolar:main Apr 30, 2024
@samaloney samaloney deleted the feat-update-livetime-correction branch May 15, 2024 14:34
@hannahc243

Copy link
Copy Markdown
Contributor

It would be really great to have the livetime and pileup corrections applied directly to the data when creating a product with product factory, like for cpd and spectrogram products. In a similar way as is done for quicklook data:

live_frac, *_ = get_livetime_fraction(data["triggers"].reshape(-1) / (16 * data["timedel"]))

and also in the imaging pipeline

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.

3 participants