HAPPY.import_image module

HAPPY.import_image.image(image_path, transpose)[source]

Import and transpose an image.

Parameters
  • image_path (str) – Path to the image, excluding extension, including name

  • transpose (bool) – Whether the image needs to be rotated so that radial hydrides are in the vertical direction. If True, the read array will be transposed before returning.

Returns

The transposed/imported image to be analysed

Return type

original_image