mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
language: add std module with common user features
This commit is contained in:
parent
6a1cf8749d
commit
f105e5e214
3
artiq/language/std.py
Normal file
3
artiq/language/std.py
Normal file
@ -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.core import *
|
||||
from artiq.language.std import *
|
||||
|
||||
|
||||
class AluminumSpectroscopy(AutoContext):
|
||||
|
@ -1,5 +1,4 @@
|
||||
from artiq.language.units import *
|
||||
from artiq.language.core import *
|
||||
from artiq.language.std import *
|
||||
|
||||
|
||||
my_range = range
|
||||
|
@ -1,5 +1,4 @@
|
||||
from artiq.language.units import *
|
||||
from artiq.language.core import *
|
||||
from artiq.language.std import *
|
||||
from artiq.devices import corecom_serial, core, dds_core, gpio_core
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import sys
|
||||
|
||||
from artiq.language.core import *
|
||||
from artiq.language.std import *
|
||||
from artiq.devices import corecom_serial, core
|
||||
|
||||
class Mandelbrot(AutoContext):
|
||||
|
@ -1,5 +1,4 @@
|
||||
from artiq.language.core import *
|
||||
from artiq.language.units import *
|
||||
from artiq.language.std import *
|
||||
from artiq.devices import corecom_serial, core, dds_core, rtio_core
|
||||
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
from artiq.language.units import *
|
||||
from artiq.language.core import *
|
||||
from artiq.language.std import *
|
||||
|
||||
|
||||
class SimpleSimulation(AutoContext):
|
||||
|
Loading…
Reference in New Issue
Block a user