OOF2: The Manual
Name
OOF.OrientationMap.Load — Load an orientation map into a Microstructure
Synopsis
OOF.OrientationMap.Load(filename,format,microstructure)
Details
- Parent Menu: OOF.OrientationMap
-
Callback: function
_loadOrientationMapin moduleoof2.orientationmap.orientmapmenu -
Threadability:
Threadable -
Parameters:
filename- Name of the file containing the orientation map data. Type: A character string.
format- Type of orientation map file. Type: An object from the
OrientMapTypeenumerated class. microstructure- Add the orientation map to this Microstructure. Type: The path to an existing
Microstructureobject.
Description
This command loads an Orientation
Map into the given pre-existing Microstructure. The
Microstructure must have the same physical and pixel dimensions
as the Orientation Map, and must not
contain another Orientation Map.
(To create a new Microstructure directly from an
orientation map file, see OOF.Microstructure.Create_From_OrientationMap_File.
This obviates the need to ensure that the map and Microstructure have the
same dimensions.)
The format argument indicates which type of
orientation map data file is being loaded. The available formats
are listed at OrientMapType. New formats
can be added by writing a small amount of python code, as
described in Section 8.5.3.
This command is only available if OOF2 was built with the
--enable-orientationmap option.
/* OOF home */ /* OOF2 home */ /* Send mail to the OOF Team */




