mirror of https://github.com/m-labs/artiq.git
artiq.experiment: update examples
This commit is contained in:
parent
765001054d
commit
905063c1b1
|
@ -1,6 +1,6 @@
|
|||
import logging
|
||||
|
||||
from artiq.language import *
|
||||
from artiq.experiment import *
|
||||
|
||||
|
||||
class SubComponent1(HasEnvironment):
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from artiq.language import *
|
||||
from artiq.experiment import *
|
||||
|
||||
|
||||
class PhotonHistogram(EnvExperiment):
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from artiq.language import *
|
||||
from artiq.experiment import *
|
||||
|
||||
|
||||
class BlinkForever(EnvExperiment):
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from artiq.language import *
|
||||
from artiq.experiment import *
|
||||
|
||||
|
||||
class DDSTest(EnvExperiment):
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from artiq.language import *
|
||||
from artiq.experiment import *
|
||||
|
||||
|
||||
class Handover(EnvExperiment):
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import sys
|
||||
|
||||
from artiq.language import *
|
||||
from artiq.experiment import *
|
||||
|
||||
|
||||
class Mandelbrot(EnvExperiment):
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright (C) 2014, 2015 Robert Jordens <jordens@gmail.com>
|
||||
|
||||
from artiq.language import *
|
||||
from artiq.experiment import *
|
||||
|
||||
|
||||
class PulseNotReceivedError(Exception):
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
import numpy as np
|
||||
|
||||
from artiq.language import *
|
||||
from artiq.experiment import *
|
||||
|
||||
from artiq.wavesynth.coefficients import SplineSource
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ import random
|
|||
import numpy as np
|
||||
from scipy.optimize import curve_fit
|
||||
|
||||
from artiq.language import *
|
||||
from artiq.experiment import *
|
||||
|
||||
|
||||
def model(x, F0):
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from itertools import count
|
||||
from time import sleep
|
||||
|
||||
from artiq.language import *
|
||||
from artiq.experiment import *
|
||||
|
||||
|
||||
class RunForever(EnvExperiment):
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import time
|
||||
|
||||
from artiq.language import *
|
||||
from artiq.experiment import *
|
||||
|
||||
|
||||
class _PayloadNOP(EnvExperiment):
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from operator import itemgetter
|
||||
|
||||
from artiq.language import *
|
||||
from artiq.experiment import *
|
||||
|
||||
|
||||
class DDSSetter(EnvExperiment):
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from artiq.language import *
|
||||
from artiq.experiment import *
|
||||
|
||||
|
||||
class TerminateAll(EnvExperiment):
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from artiq.language import *
|
||||
from artiq.experiment import *
|
||||
|
||||
|
||||
class AluminumSpectroscopy(EnvExperiment):
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from artiq.language import *
|
||||
from artiq.experiment import *
|
||||
|
||||
|
||||
class SimpleSimulation(EnvExperiment):
|
||||
|
|
Loading…
Reference in New Issue