DM constants

em_workflows.dm_conversion.constants.LARGE_2D = '1024x1024'

str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.__str__() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to ‘strict’.

em_workflows.dm_conversion.constants.SMALL_2D = '300x300'

str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.__str__() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to ‘strict’.

em_workflows.dm_conversion.constants.TIFS_EXT = ['TIF', 'TIFF', 'tif', 'tiff']

Built-in mutable sequence.

If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.

em_workflows.dm_conversion.constants.DMS_EXT = ['DM4', 'DM3', 'dm4', 'dm3']

Built-in mutable sequence.

If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.

em_workflows.dm_conversion.constants.JPGS_EXT = ['JPEG', 'JPG', 'jpeg', 'jpg']

Built-in mutable sequence.

If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.

em_workflows.dm_conversion.constants.PNGS_EXT = ['PNG', 'png']

Built-in mutable sequence.

If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.

em_workflows.dm_conversion.constants.MRCS_EXT = ['mrc', 'MRC']

Built-in mutable sequence.

If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.

em_workflows.dm_conversion.constants.VALID_2D_INPUT_EXTS = ['TIF', 'TIFF', 'tif', 'tiff', 'DM4', 'DM3', 'dm4', 'dm3', 'JPEG', 'JPG', 'jpeg', 'jpg', 'PNG', 'png', 'mrc', 'MRC']

Built-in mutable sequence.

If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.

em_workflows.dm_conversion.constants.KEYIMG_EXTS = ['TIF', 'TIFF', 'tif', 'tiff', 'JPEG', 'JPG', 'jpeg', 'jpg', 'PNG', 'png']

Built-in mutable sequence.

If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.