I am using the following syntax/ instructions set to evaulate the Photon counts in Artiq. Actually, the following syntax or set of commands I obtained from some friend of mine and I don't know it very well. However, I have the few questions given in the end, please.
for i in range(10000000):
self.core.reset()
gate_end_mu = self.ttl1.gate_rising(200* ms)
Num_get_risings = self.ttl1.count(gate_end_mu)
print(Num_get_risings)
Questions
- Please explain the above in detail
- How to solve the Overflow exceptions i.e while running the above code for some time I get an overflow error.
- I wanna get plot of photon versus time but I am unable to plot
waiting for your kind response