OOF2: The Manual
Name
Generic (GenericReader) — Generic EBSD data reader.
Synopsis
GenericReader
(comment_character
,separator
,angle_column
,angle_type
,angle_units
,angle_offset
,xy_column
,scale_factor
,flip_x
,flip_y
,groups
)
Details
-
Base class:
OrientMapReader
-
Parameters:
comment_character
- Skip input lines beginning with this character. Type: A character string.
separator
- How columns are divided in the input file. Type: An object of the
InputSeparator
class. angle_column
- First column of angle data. Type: Positive integer.
angle_type
- The way in which orientations are specified in the input file. Type: A subclass of the
Orientation
class. angle_units
- The units used for angles in the input file. Type: An object from the
AngleUnits
enumerated class. angle_offset
- An xy-plane rotation to apply to all input orientations, in degrees. In the Abg format, the angle is added to gamma. In Bunge, it's subtracted from phi1. Type: A real number.
xy_column
- First column of position data. Type: Positive integer.
scale_factor
- All x and y values will be multiplied by this factor. Type: A real number.
flip_x
- Flip data in the x direction. Type: Boolean, 0 (false) or 1 (true).
flip_y
- Flip data in the y direction. Type: Boolean, 0 (false) or 1 (true).
groups
- Templates for creating pixel groups from column data. Pixels with different values in the column will be put into different pixel groups. A '%s' in the groupname will be replaced by the contents of the column. Type: A list of tuples, each containing a string and an integer.