lyse.__main__.RoutineBox

class lyse.__main__.RoutineBox(container, exp_config, filebox, from_filebox, to_filebox, output_box_port, multishot=False)[source]

Bases: object

__init__(container, exp_config, filebox, from_filebox, to_filebox, output_box_port, multishot=False)[source]

Methods

__init__(container, exp_config, filebox, ...)

add_routines(routine_files[, clear_existing])

Add routines to the routine box, where routine_files is a list of tuples containing the filepath and whether the routine is enabled or not when it is added.

analysis_loop()

connect_signals()

do_analysis(filepath)

Run all analysis routines once on the given filepath, which is a shot file if we are a singleshot routine box

on_add_routines_clicked()

on_model_item_changed(item)

on_move_down_clicked()

on_move_to_bottom_clicked()

on_move_to_top_clicked()

on_move_up_clicked()

on_remove_selection()

on_restart_selected_triggered()

on_select_all_state_changed(state)

on_set_selected_triggered(active)

on_treeView_context_menu_requested(point)

on_treeview_double_left_clicked(index)

remove_selection([confirm])

reorder(order)

todo()

How many analysis routines are not done?

update_select_all_checkstate()

Attributes

COL_ACTIVE

COL_NAME

COL_STATUS

ROLE_FULLPATH

ROLE_SORTINDEX

COL_ACTIVE = 0
COL_NAME = 2
COL_STATUS = 1
ROLE_FULLPATH = 257
ROLE_SORTINDEX = 258
add_routines(routine_files, clear_existing=False)[source]

Add routines to the routine box, where routine_files is a list of tuples containing the filepath and whether the routine is enabled or not when it is added. if clear_existing == True, then any existing analysis routines will be cleared before the new ones are added.

analysis_loop()[source]
connect_signals()[source]
do_analysis(filepath)[source]

Run all analysis routines once on the given filepath, which is a shot file if we are a singleshot routine box

on_add_routines_clicked()[source]
on_model_item_changed(item)[source]
on_move_down_clicked()[source]
on_move_to_bottom_clicked()[source]
on_move_to_top_clicked()[source]
on_move_up_clicked()[source]
on_remove_selection()[source]
on_restart_selected_triggered()[source]
on_select_all_state_changed(state)[source]
on_set_selected_triggered(active)[source]
on_treeView_context_menu_requested(point)[source]
on_treeview_double_left_clicked(index)[source]
remove_selection(confirm=True)[source]
reorder(order)[source]
todo()[source]

How many analysis routines are not done?

update_select_all_checkstate()[source]