• Asking for helpARTIQ
  • Parabola data set example ( Getting started with the management system tutorial)

Hi I am trying to run the parabola data set example through the dashboard, this is the code I am using and the error message follows, any insight would be great.

from artiq.experiment import *
import time
import numpy as np

class MgmtTutorial(EnvExperiment):
"""Parabola"""

def build(self):
    self.setattr_argument("count", NumberValue(ndecimals=0, step=1))


def run(self):
    self.set_dataset("parabola", np.full(self.count, np.nan), broadcast=True)
    for i in range(self.count):
        self.mutate_dataset("parabola", i, i*i)
        time.sleep(0.5)

I fixed what I think was the problem, by finding the 'parabola' data set in the command of the applets and selected it, and still using the xy from the applets template and now i am getting this error instead.

I added the lib and side packages file in the artiq-master folder, I dont get why It still cant find the files.

sb10q
I figured the problem out, in the command I was deleting the whole
'${artiq_applet}plot_xy Y_DATASET --x X_DATASET --error ERROR_DATASET --fit FIT_DATASET' and finding parabola instead of using' ${artiq_applet}plot_xy parabola'(this works). The artiq documentation can be miss leading and unclear in some cases. Thanks anyway.

How would you like to change the documentation?

6 days later

I would add
"The command line should now be ${artiq_applet}plot_xy Parabola" after the edit applet command line so that it retrieves the parabola dataset. Just to clarify. Maybe I read it wrong. But when you say edit the applet command line to retrieve the parabola data set. It seems intuitive to fully delete everything write parabola and it even pops up when you just write the letter p. Just clarifying that applet command line should now be ${artiq_applet}plot_xy Parabola would have saved some time. The error message resulting from just having parabola in the applet command line was also miss leading. Thanks for your help though.