mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-22 18:04:03 +08:00
Robert Jordens
765001054d
perl -i -pe 's/^from artiq import \*$/from artiq.experiment import */' your_experiments/*.py (assuming you skipped the changes form the previous commit)
29 lines
921 B
ReStructuredText
29 lines
921 B
ReStructuredText
Core language reference
|
|
=======================
|
|
|
|
The most commonly used features from the ARTIQ language modules and from the core device modules are bundled together in ``artiq.experiment`` and can be imported with ``from artiq.experiment import *``.
|
|
|
|
:mod:`artiq.language.core` module
|
|
---------------------------------
|
|
|
|
.. automodule:: artiq.language.core
|
|
:members:
|
|
|
|
:mod:`artiq.language.environment` module
|
|
----------------------------------------
|
|
|
|
.. automodule:: artiq.language.environment
|
|
:members:
|
|
|
|
:mod:`artiq.language.scan` module
|
|
----------------------------------------
|
|
|
|
.. automodule:: artiq.language.scan
|
|
:members:
|
|
|
|
:mod:`artiq.language.units` module
|
|
----------------------------------
|
|
|
|
This module contains floating point constants that correspond to common physical units (ns, MHz, ...).
|
|
They are provided for convenience (e.g write ``MHz`` instead of ``1000000.0``) and code clarity purposes.
|