spateo.segmentation.simulation_evaluation.allocate_cell

Classes

Functions

get_cell_pos(area_df, ltos[, cell_num, height, width, ...])

shift_cells(cells, labels, max_iter, seed[, shift_length])

get_center(height, width, cell_num, seed)

select_area(area_df, cell_num, seed)

select_ctoa(c_to_a_ratios, cell_num, seed)

get_axes_from_area_and_ctoa(areas, ctoas, seed)

get_axes_from_area_and_ltos(areas, ltos, seed)

add_sig_to_cell(labels, cell_mean_df, bg_mean_df, seed)

simulate_cell_and_sig(area_df, ltos, cell_sig_df, ...)

Module Contents

class spateo.segmentation.simulation_evaluation.allocate_cell.Cell(center, axes, color, angle)[source]
center[source]
axes[source]
color[source]
angle[source]
set_center(center)[source]
spateo.segmentation.simulation_evaluation.allocate_cell.get_cell_pos(area_df, ltos, cell_num=100, height=500, width=500, seed=1, max_iter=20000, shift_length=100)[source]
spateo.segmentation.simulation_evaluation.allocate_cell.shift_cells(cells, labels, max_iter, seed, shift_length=10)[source]
spateo.segmentation.simulation_evaluation.allocate_cell.get_center(height, width, cell_num, seed)[source]
spateo.segmentation.simulation_evaluation.allocate_cell.select_area(area_df, cell_num, seed)[source]
spateo.segmentation.simulation_evaluation.allocate_cell.select_ctoa(c_to_a_ratios, cell_num, seed)[source]
spateo.segmentation.simulation_evaluation.allocate_cell.get_axes_from_area_and_ctoa(areas, ctoas, seed)[source]
spateo.segmentation.simulation_evaluation.allocate_cell.get_axes_from_area_and_ltos(areas, ltos, seed)[source]
spateo.segmentation.simulation_evaluation.allocate_cell.add_sig_to_cell(labels, cell_mean_df, bg_mean_df, seed)[source]
spateo.segmentation.simulation_evaluation.allocate_cell.simulate_cell_and_sig(area_df, ltos, cell_sig_df, bg_sig_df, prefix, cell_num=100, height=500, width=500, seed=1, max_iter=20000, shift_length=100)[source]