ImageIO.fixHeader#

ImageIO.fixHeader(mode=None, microscope=None)#

Fix wrong values in the microscope image header.

Parameters:
modestr, optional

Determines which values are fixed. Possible values include ‘polara_fei-tomo’, ‘krios_fei-tomo’, ‘cm300’, by default None.

microscopestr, optional

Specified when mode is ‘polara_fei-tomo’. Currently accepted values are: ‘polara-1_01-07’, ‘polara-1_01-09’ and ‘polara-2_01-09’, by default None.

Raises:
ValueError

If the given mode is not recognized for the current file format.