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

Adds ability to give a single float input to zero_point #234

Merged
merged 2 commits into from
Sep 15, 2023
Merged

Conversation

dougbrn
Copy link
Collaborator

@dougbrn dougbrn commented Sep 15, 2023

Motivated by Pan-STARRS1 zero_point calculations. Currently, the zero_point needs to be a column of the source table. But it seems clear from some limited examples that users will often want to just provide a float here.

@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.05% 🎉

Comparison is base (897a5cf) 92.57% compared to head (16e509e) 92.63%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #234      +/-   ##
==========================================
+ Coverage   92.57%   92.63%   +0.05%     
==========================================
  Files          22       22              
  Lines        1132     1140       +8     
==========================================
+ Hits         1048     1056       +8     
  Misses         84       84              
Files Changed Coverage Δ
src/tape/ensemble.py 89.64% <100.00%> (+0.17%) ⬆️

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

@dougbrn dougbrn marked this pull request as ready for review September 15, 2023 17:35
@dougbrn dougbrn requested a review from hombit September 15, 2023 17:49
Copy link
Contributor

@hombit hombit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

The name of the ensemble column containing the zero point
information for column transformation.
information for column transformation. Alternatively, a float zero
Copy link
Contributor

@hombit hombit Sep 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It may be my issue, but float zero point sounds a bit weird. Could we say something like
"The name of the ensemble column containing the zero point values. Alternatively, a single float number to apply for all fluxes."

@dougbrn dougbrn merged commit 7561df3 into main Sep 15, 2023
9 checks passed
@dougbrn dougbrn deleted the f2m_from_float branch December 11, 2023 19:27
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