coordinate_conversion_factors#

property EBSDDetector.coordinate_conversion_factors: dict#

Return factors for converting coordinates on the detector from pixel units to gnomonic units or vice versa.

The dict returned contains the keys “pix_to_gn”, containing factors for converting pixel to gnomonic coordinates, and “gn_to_pix”, containing factors for converting gnomonic to pixel coordinates. Under each of these keys is a further dict with the keys: “m_x”, “c_x”, “m_y” and “c_y”. These are the slope (m) and y-intercept (c) corresponding to y = mx + c, which describes the linear conversion of the coordinates. A (different) linear relationship is required for x (column) and y(row) coordinates, hence the two sets of m and c parameters. The shape of each array of conversion factors typically corresponds to the navigation shape of an EBSDDetector.