write_scalar_field

singlecell_input_mapper.udvary2022.writer.write_scalar_field(fname=None, scalarField=None)

Write a scalar field to an AmiraMesh file.

These can be visualized in AMIRA, or converted to VTK using convert_amira_lattice_to_vtk() for visualization in VTK-compatible renderers.

Parameters:
fname : str

Name of the output file

scalarField : ScalarField

Scalar field to be written to disk

Returns:

None. Writes the results to disk.