class_docstr: Class for generating indices just-in-time
class_docstr_tok: ["Class","for","generating","indices","just-in-time"]
code: def __repr__(self):
      return f"<{self.__class__.__name__}{self.gridshape}>"
  
imports: from __future__ import annotations
  import math
  import typing
  from dataclasses import dataclass, replace
  import numpy
  from nibabel.casting import able_int_type
  from nibabel.fileslice import strided_scalar
  from nibabel.spatialimages import SpatialImage
label_desc: Use image node_id 2 for calling the GridIndices obj's underlying member method code with example usage: obj.__repr__() and returns: str, self, self, str