write_landmark_file¶
-
single_cell_parser.writer.write_landmark_file(fname=
None, landmarkList=None)¶ Write an AMIRA landmark file from 3D coordinates
- Parameters:¶
- Returns:¶
None. Writes out the landmark file to
fname- Raises:¶
RuntimeError – if no file name is given or if the landmark list is empty
RuntimeError – if the landmarks have the wrong format (not 3 coordinates)
Example
>>> landmarkList = [(0.0, 0.0, 0.0), (1.0, 1.0, 1.0)] >>> write_landmark_file('landmarks.landmarkAscii', landmarkList)
Documentation unclear, incomplete, broken or wrong? Let us know