is_ngff#

is_ngff(path, min_version=(0, 4))[source]#

Check if the input is a NGFF file.

Parameters:
  • path (pathlib.Path) – Path to the file to check.

  • min_version (Tuple[int, ...]) – Minimum version of the NGFF file to be considered valid.

Returns:

True if the file is a NGFF file.

Return type:

bool