API referencesingle_cell_parserio

amira

Read and write data formats for AMIRA.

The primary function of this module is to provide read and write acces to AMIRA ScalarField files. These are represented internally by the ScalarField object.

Classes

ScalarField

3D scalar fields based on numpy arrays

Functions

read_scalar_field(fname, dtype)

Read ASCII AMIRA scalar field mesh files with high speed.

read_landmark_file(landmarkFilename)

Read an AMIRA landmark file

write_landmark_file(fname, landmarkList)

Write an AMIRA landmark file from 3D coordinates

write_landmarks_colorcoded_to_folder(basedir, landmarks, values, vmin, vmax, vbinsize)

Write landmarks to a folder, colorcoded by their values.

value_to_color(v, vmin, vmax)

Map a value to a color.

generate_landmark_template(landmark_name, c, vertexviewid, len)

Generate a template for a landmark file in Amira.

Attributes

template_init

-

template_landmark

-