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)

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

hide_function_widgets()

lookup_sc_shape_index(sc)

rtype

Optional[int]

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[, contour_sample_num])

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