visualizecell_morphology_visualizerCMVDataParserscale_diameter

CMVDataParser.scale_diameter

visualize.cell_morphology_visualizer.CMVDataParser.scale_diameter(scale_func)

Scale the diameter of the visualization with a scaling function. scale_func should transform an array to an array of equal length. To set a fixed diameter rather than scaling, pass lambda x: fixed_d

Parameters:

scale_func – method to scale the diameters with. Must accept an array and return an array. This will be passed to pd.DataFrame.apply()

Returns:

Nothing.

Return type:

None