HowardALandman / QTD

Research project on Quantum Time Dilation, including theory and plans for an experiment to test it.
2 stars 1 forks source link

"Illegal measurement mode 1" for count_pulses() and compute_tofs() #9

Open sebrit opened 3 years ago

sebrit commented 3 years ago

compute_tofs() and count_pulses() fails with "Illegal measurement mode 1" if during configuration meas_mode=1 is set. Both functions compare self.meas_mode (=1) with the register value for the selection of the measurement mode self._CF1_MM1 (=0).

Tested on TDC7200, but that should be irrelevant.

HowardALandman commented 3 years ago

Yeah, measurement mode 1 is not completely/correctly implemented, so I disabled it until I could fix that. Feel free to re-enable it for experimentation, but some aspects may not work or may give incorrect answers. My own research only requires MM2, so it’s gotten more attention.

Unfortunately (?) I am leaving on 8 weeks vacation today, and will not be able to work on this until mid-October. First stop is Iceland, where I hope to see the active volcano in Geldingsdalur tomorrow.

I should be able to clean up quite a few issues by January 10, when I have a major proposal due that uses the code.

Howard A. Landman

On Aug 19, 2021, at 4:07 AM, sebrit @.***> wrote:

compute_tofs() and count_pulses() fails with "Illegal measurement mode 1" if during configuration meas_mode=1 is set. Both functions compare self.meas_mode (=1) with the register value for the selection of the measurement mode self._CF1_MM1 (=0).

Tested on TDC7200, but that should be irrelevant.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/HowardALandman/QTD/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJ7XDRC2HOYPJF2EJSZTJLT5TJXDANCNFSM5CN4FRDQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.

sebrit commented 3 years ago

Alright, I'll mess around with MM1 a bit. This issue is comparatively easy to work around, e.g by modifying the check for the mode, so I have gotten reasonable results for the kind of measurements I want to do (time correlated single photon counting, so the measurement range is <100 ns).

Have a great vacation!

~Seb