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

update sensitivity loss correction with updated tables #57

Open
falkben opened this issue Jan 3, 2022 · 0 comments
Open

update sensitivity loss correction with updated tables #57

falkben opened this issue Jan 3, 2022 · 0 comments

Comments

@falkben
Copy link
Member

falkben commented Jan 3, 2022

Alice provided updated tables with the correction factors and we should update our correction to use that

The current correction is here in code:

zerocorr = 1 + param1 * years_passed + param2 * years_passed ** 2

We need to replace the polynomial with lookups into the table. Where the days are "since 1st Jan 2005". Second column is the new average count rate; the correction is the inverse of this number and is in the third column.

The lookup tables are somewhere in the caldb files however Alice sent us these extracted:

caldb_values_w1_12_out.txt
caldb_values_m2_12_out.txt
caldb_values_w2_12_out.txt
caldb_values_wh_12_out.txt

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

No branches or pull requests

1 participant