Boulder-Cryogenic-Quantum-Testbed / scresonators

Data analysis code for cryogenic resonator measurement
MIT License
30 stars 25 forks source link

Increase the number of significant digits #204

Closed UserBegi closed 10 months ago

UserBegi commented 10 months ago

When the data is a bit scattered, the output Qi can be zero. Is there any line of code that I can change to output max number of significant digits? DCM_scresonators image

pwndr3 commented 10 months ago

Instead of changing the code, I would recommend taking more averages. The uncertainty is much higher than the value itself and having more significant digits won’t fix that.

UserBegi commented 10 months ago

Instead of changing the code, I would recommend taking more averages. The uncertainty is much higher than the value itself and having more significant digits won’t fix that.

Hi, thanks for your recommendation. I agree that it would be a better way, but for the time being, I don't have access to measurements. I think changing the code to at least try would be something I can do for now. More digits would also give me better fitting data for the good data points. Please advise if that makes sense.

pwndr3 commented 10 months ago

Unfortunately, currently there is no simple way to increase the number of digits shown. I still stand by my claim that doing so for your specific example wouldn't do any good as your uncertainty is too high. However, we are currently in the process of doing a major revision and hopefully it'll become smoother then. If you want a simple estimate of your Qi, you can simply use the relation 1/Qi = 1/Q - 1/Qc for which you'd get something like (9 ± 400)e5.