Experiment Preparation

The preparation station: staging, editing, ordering and pushing tasks before they are sent to the queue (prepfile persistence).

Overview

quatm/GUI/experiment/prepstation.py provides experiment preparation (PrepStation): the preparation station in the dock at the top of the experiment browser, used for staging and editing tasks before they are sent to the experiment queue. The task list is displayed with a PrepModel table (its order can be changed freely) and persisted to prepfile.json.

Key methods

MethodDescription
push / push_row / push_firstPushes the selected/designated/first task to the experiment queue
push_to_looperPushes the selected task to the looper
move_up / move_downChanges the order of tasks
delete_clicked / set_sleepingDeletes / sleeps a task
open_editor / open_viewer / save_paramsEdits parameters, views parameters, saves them as JSON
update_prep_fileSaves the task list to prepfile.json
load_previousRestores the tasks of the previous session from prepfile.json

Usage

from quatm.GUI.experiment.prepstation import PrepStation

ps = PrepStation(browser=parent)
ps.push_first()   # push the first prepared task into the queue

For a fuller description see Preparation station.