livecellx.core.sct_operator.SctOperator

class livecellx.core.sct_operator.SctOperator(traj_collection, shape_layer, viewer, operator='connect', magicgui_container=None, sc_operators=None, img_dataset=None, time_span=(0, None), meta=None, uns=None)[source]

Methods

add_mother_daughter_relation()

add_new_sc()

Adds a new single cell to a single cell trajectory.

annotate_click(label)

class2samples_to_annotation_data_structure()

clear_sc_opeartors()

clear_selection()

close()

connect_two_scts()

delete_selected_sct()

disconnect_sct()

edit_sc(cur_sc)

edit_selected_sc()

get_all_scs()

Return all single cell objects in the current trajec_collection

get_meta(key)

Returns meta info.

hide_function_widgets()

load_annotations(annotation_dirs[, classes])

lookup_sc_shape_index(sc)

remove_empty_contour_sct()

remove_sc_operator(sc_operator)

remove_scs(scs)

remove_shape_layer()

restore_shapes_data()

save_annotations(sample_out_dir[, ...])

select_shape(event[, shape_layer])

Select a shape in the shape layer, and update the shape color and status.

selected_scs()

setup_by_timespan(span[, ...])

setup_from_sctc(sctc[, contour_sample_num])

setup_shape_layer(shape_layer)

show_selected_mode_widget()

store_shape_layer_info([update_slice])

Stores the original face colors, properties, single cells, and shape data of the shape layer.

toggle_shapes_text()

update_shape_layer(shape_index, track_id, ...)

update_shape_layer_by_sc(sc)

update_shape_layer_by_track_id(track_id, ...)

Attributes

ADD_MOTHER_DAUGHER_MODE

ANNOTATE_CLICK_MODE

CONNECT_MODE

DELETE_TRAJECTORY_MODE

DISCONNECT_MODE