mirror of https://github.com/m-labs/artiq.git
language: add std module with common user features
This commit is contained in:
parent
6a1cf8749d
commit
f105e5e214
|
@ -0,0 +1,3 @@
|
||||||
|
from artiq.language.core import *
|
||||||
|
from artiq.language.units import microcycle, ps, ns, us, ms, s
|
||||||
|
from artiq.language.units import Hz, kHz, MHz, GHz
|
|
@ -1,5 +1,4 @@
|
||||||
from artiq.language.units import *
|
from artiq.language.std import *
|
||||||
from artiq.language.core import *
|
|
||||||
|
|
||||||
|
|
||||||
class AluminumSpectroscopy(AutoContext):
|
class AluminumSpectroscopy(AutoContext):
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
from artiq.language.units import *
|
from artiq.language.std import *
|
||||||
from artiq.language.core import *
|
|
||||||
|
|
||||||
|
|
||||||
my_range = range
|
my_range = range
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
from artiq.language.units import *
|
from artiq.language.std import *
|
||||||
from artiq.language.core import *
|
|
||||||
from artiq.devices import corecom_serial, core, dds_core, gpio_core
|
from artiq.devices import corecom_serial, core, dds_core, gpio_core
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from artiq.language.core import *
|
from artiq.language.std import *
|
||||||
from artiq.devices import corecom_serial, core
|
from artiq.devices import corecom_serial, core
|
||||||
|
|
||||||
class Mandelbrot(AutoContext):
|
class Mandelbrot(AutoContext):
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
from artiq.language.core import *
|
from artiq.language.std import *
|
||||||
from artiq.language.units import *
|
|
||||||
from artiq.devices import corecom_serial, core, dds_core, rtio_core
|
from artiq.devices import corecom_serial, core, dds_core, rtio_core
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
from artiq.language.units import *
|
from artiq.language.std import *
|
||||||
from artiq.language.core import *
|
|
||||||
|
|
||||||
|
|
||||||
class SimpleSimulation(AutoContext):
|
class SimpleSimulation(AutoContext):
|
||||||
|
|
Loading…
Reference in New Issue