write_functional_map

single_cell_parser.writer.write_functional_map(fname, functionalMap)

Write a functional map to an AMIRA file.

Deprecated. Consider using visualize.vtk.write_vtk_pointcloud_file() or visualize.vtk.write_vtk_frames() for visualization purposes.

This method may still serve well if you need an AMIRA mesh file.

Parameters:
fname : str

The name of the file to write to.

functionalMap : dict

A dictionary with cell labels as keys and lists of points as values.

Returns:

None. Writes out the functional map file to fname.