Source code for scan_framework.scans.loading_interface

from artiq.experiment import HasEnvironment
from artiq.language import *
from scan_framework.models.model import *


# TODO: needs commenting
[docs]class LoadingInterface(HasEnvironment):
[docs] def build(self): pass
[docs] def can_load(self): return True
[docs] def schedule_load_ion(self, due_date): pass
[docs] def wait(self): pass
[docs] @kernel def measure_dark_rate(self): pass
[docs] @kernel def ion_present(self, repeats, threshold): """Returns true if an ion is present in the trap.""" return True