atomiq.parameter_space ====================== .. py:module:: atomiq.parameter_space .. autoapi-nested-parse:: Sources of per-point scan values. A parameter space source enumerates the points of a scan. It provides only the values of the active scan axes. The constant and computed parts of a point are added by the experiment. Classes ------- .. autoapisummary:: atomiq.parameter_space.ParameterSpaceSource atomiq.parameter_space.MultiScanSource Module Contents --------------- .. py:class:: ParameterSpaceSource Bases: :py:obj:`Protocol` Interface of a source of scanned point values. The schema is fixed before the source yields its first point. A consumer pairs it with every tuple that ``__iter__`` yields to recover the argument names. The ``schema`` attribute holds the ordered ``(name, type)`` pairs of the scanned arguments. .. py:attribute:: schema :type: list[tuple[str, type]] .. py:method:: __iter__() Yield one tuple of scanned values per point, in schema order. .. py:class:: MultiScanSource(mult_scan, schema) Parameter space source that wraps an ARTIQ ``MultiScanManager``. :param mult_scan: Scan manager that enumerates the scan axes of the run. :param schema: Ordered ``(name, type)`` pairs. The value of each name is read from the points of the scan manager. .. py:attribute:: mult_scan .. py:attribute:: schema .. py:method:: __iter__() Yield one tuple of scanned values per point, in schema order.