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

Change compute_psats to use last crossing of Rfrac=target_level #435

Merged
merged 1 commit into from
Aug 10, 2024

Conversation

dpdutcher
Copy link
Collaborator

I finally got around to addressing #393 . The plot below illustrates the problem, where the p_sat calculation is thrown-off by an instability in the low-R_tes portion of the IV curve. Note that target bias voltages are not affected by this.

image
Also, the full P_sat distribution looks like the below. Note all the values between 0 pW and 16 pW
image

I then made the committed changes to the code, switching the logic from the first time R is above the target r_frac to the last time R is below the target r_frac. This fixed the psat determination in the selected detector, and it also fixed the total psat histogram to get rid of those spurious low values.

image
image

Tested on a full UHF UFM in a Princeton test cryosat.

@dpdutcher dpdutcher requested review from jlashner and msilvafe August 9, 2024 19:51
Copy link
Contributor

@msilvafe msilvafe left a comment

Choose a reason for hiding this comment

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

Thanks for the update.

@dpdutcher dpdutcher merged commit d58ecd5 into master Aug 10, 2024
1 check passed
@dpdutcher dpdutcher deleted the issue393 branch August 10, 2024 17:05
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