@classmethod
def get_extension_for_format(cls, file_format):
    """Returns the output file extension for this file format"""
    file_format = cls.simplify_format(file_format)
    if file_format == 'mhd':
        return '.mhd'
    elif file_format == 'tiff':
        return '.tiff'
    else:
        raise ValueError('Format ' + file_format + ' not supported')
