Mercator
A Python interface to run Mercator protocol. See Tutorials for details of Mercator protocol.
Only Mercator (class) is exported as
quick.Mercator.
🔵Mercator
Base class:
qick.asm_v2.AveragerProgramV2
The Mercator class to run Mercator protocol.
Parameters:
soccfgQICK board socket config object.cfg(dict) Mercator protocol in a Python dictionary. Mercator will modify this dictionary, including flattening steps and evaluating gains.
🔵Mercator.acquire
Acquire data. Data in each readout acquisition window are averaged into one data point.
Parameters:
socQICK board socket object.progress=Falsewhether to show progress bar.
Return:
I(np.ndarray) I data, at least has 2 dimensions. Axis 0 matches the index (NOT channel number) of defined readout channels. Axis 1 matches the index of triggering. Ifrepis not 0, axis 2 will be the repetition index.Q(np.ndarray) Q data, same shape asI.
🔵Mercator.acquire_decimated
Acquire time-series data. Use m.get_time_axis(ro_index) to get the time data in us.
Parameters:
socQICK board socket object.progress=Falsewhether to show progress bar.
Return:
I(np.ndarray) I data, at least 2 dimensions. Axis 0 matches the index (NOT channel number) of defined readout channels. Ifrepis not 0, the next axis will be the repetition index. If triggering more than once, the next axis matches the index of triggering. The last axis is the time-series dimension.Q(np.ndarray) Q data, same shape asI.
🔵Mercator.light
Plot the pulse sequence. Only idata will be plotted, and frequency and phase information are not shown on the plot. See Mercator Protocol Tutorial for an example.