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

Add new helper functions, IrrationalConstants #47

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Add new helper functions, IrrationalConstants #47

merged 1 commit into from
Sep 19, 2024

Conversation

cgarling
Copy link
Owner

IrrationalConstants helps with numerical constants like log(10) = IrrationalConstants.logten which are expressed as irrationals and so will not auto-promote data types like Float32 like log(10) would because it evaluates to a Float64. Added some magnitude, flux error helper functions + SNR.

@codecov-commenter
Copy link

codecov-commenter commented Sep 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.30%. Comparing base (5ca85f7) to head (5674e02).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #47      +/-   ##
==========================================
+ Coverage   88.27%   88.30%   +0.03%     
==========================================
  Files          18       18              
  Lines        1492     1496       +4     
==========================================
+ Hits         1317     1321       +4     
  Misses        175      175              

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

@cgarling cgarling merged commit 28d7c33 into main Sep 19, 2024
8 checks passed
@cgarling cgarling deleted the newutils branch September 19, 2024 17:02
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.

2 participants