agora.utils.kymograph

Functions

add_index_levels(df[, additional_ids])

rtype

DataFrame

bidirectional_retainment_filter(df[, ...])

Retrieve families where mothers are present for more than a fraction of the experiment, and daughters for longer than some number of time-points.

cluster_kymograph(kymograph[, n])

drop_level(df[, name, as_list])

Drop index level.

drop_mother_label(index)

rtype

ndarray

filt_cluster(kymograph[, n])

get_index_as_np(signal)

get_mother_ilocs_from_daughters(df)

Fetch mother locations in the index of df for all daughters in df.

get_mothers_from_another_df(whole_df, da_df)

intersection_matrix(index1, index2)

Use casting to obtain the boolean mask of the intersection of two multi-indices.

melt_reset(df[, additional_ids])

slices_from_spans(spans, df)

rtype

List[slice]

split_df(df, slices)

standard_filtering(raw, lin[, ...])