qcodes/loops.py
def each(self, *actions):
        """
        Perform a set of actions at each setting of this loop.
        TODO(setting vs setpoints) ? better be verbose.

        Args:
            *actions (Any): actions to perform at each setting of the loop

        Each action can be:

        - a Parameter to measure
        - a Task to execute
        - a Wait
        - another Loop or ActiveLoop

        """
        actions = list(actions)

        self.validate_actions(*actions)

        if self.nested_loop:
            # recurse into the innermost loop and apply these actions there
            actions = [self.nested_loop.each(*actions)]

        return ActiveLoop(self.sweep_values, self.delay, *actions,
                          then_actions=self.then_actions, station=self.station,
                          progress_interval=self.progress_interval,
                          bg_task=self.bg_task, bg_final_task=self.bg_final_task, bg_min_delay=self.bg_min_delay)

        Perform a set of actions at each setting of this loop.
        TODO(setting vs setpoints) ? better be verbose.

        Args:
            *actions (Any): actions to perform at each setting of the loop

        Each action can be:

        - a Parameter to measure
        - a Task to execute
        - a Wait
        - another Loop or ActiveLoop

        
Perform a set of actions at each setting of this loop.
Perform a set of actions at each setting of this loop .
def each(self, *actions):
        actions = list(actions)
        self.validate_actions(*actions)
        if self.nested_loop:
            actions = [self.nested_loop.each(*actions)]
        return ActiveLoop(self.sweep_values, self.delay, *actions,
                          then_actions=self.then_actions, station=self.station,
                          progress_interval=self.progress_interval,
                          bg_task=self.bg_task, bg_final_task=self.bg_final_task, bg_min_delay=self.bg_min_delay)
def each ( self , * actions ) : actions = list ( actions ) self . validate_actions ( * actions ) if self . nested_loop : actions = [ self . nested_loop . each ( * actions ) ] return ActiveLoop ( self . sweep_values , self . delay , * actions , then_actions = self . then_actions , station = self . station , progress_interval = self . progress_interval , bg_task = self . bg_task , bg_final_task = self . bg_final_task , bg_min_delay = self . bg_min_delay )
Perform a set of actions at each setting of this loop.
Perform a set of actions at each setting of this loop .
"""
        Perform a set of actions at each setting of this loop.
        TODO(setting vs setpoints) ? better be verbose.

        Args:
            *actions (Any): actions to perform at each setting of the loop

        Each action can be:

        - a Parameter to measure
        - a Task to execute
        - a Wait
        - another Loop or ActiveLoop

        """ # recurse into the innermost loop and apply these actions there
self
*actions
actions to perform at each setting of the loop
actions to perform at each setting of the loop