docstr: Standardized ndimage metadata.
  
  Parameters
  ----------
  index : int
      If the index is an integer, select the index-th frame and return
      its properties. If index is an Ellipsis (...), return the
      properties of all frames in the file stacked along a new batch
      dimension.
  
  Returns
  -------
  properties : ImageProperties
      A dataclass filled with standardized image metadata.
docstr_tok: ["Standardized","ndimage","metadata",".","Parameters","--","--","--","--","--","index",":","int","If","the","index","is","an","integer",",","select","the","index-th","frame","and","return","its","properties",".","If","index","is","an","Ellipsis","(","...",")",",","return","the","properties","of","all","frames","in","the","file","stacked","along","a","new","batch","dimension",".","Returns","--","--","--","-","properties",":","ImageProperties","A","dataclass","filled","with","standardized","image","metadata","."]
code: def properties(self, index: int = ...) -> ImageProperties:
      """Standardized ndimage metadata.
  
      Parameters
      ----------
      index : int
          If the index is an integer, select the index-th frame and return
          its properties. If index is an Ellipsis (...), return the
          properties of all frames in the file stacked along a new batch
          dimension.
  
      Returns
      -------
      properties : ImageProperties
          A dataclass filled with standardized image metadata.
      """
  
      if index is Ellipsis:
          return ImageProperties(
              shape=(self._len, *self._shape),
              dtype=self._dtype,
              n_images=self._len,
              is_batch=True,
          )
      return ImageProperties(
          shape=self._shape, dtype=self._dtype, is_batch=False
      )
  
imports: from datetime import datetime
  import logging
  import os
  from typing import Any, Callable, Dict, Iterator, List, Mapping, Optional, Sequence, Tuple, Union
  import warnings
  import numpy
  from ..core.request import Request, IOMode, InitializationError
  from ..core.v3_plugin_api import PluginV3, ImageProperties
label_desc: Use image node_id 7 for calling the SpePlugin obj's underlying member method code with example usage: obj.properties(index) and returns: ImageProperties, ImageProperties