#NEWLINE# def extract( self , imin , imax , jmin = None , jmax = None , kmin = None , kmax = None , ghosts = None ) : #NEWLINE# #INDENT# '\n        Construct a new :class:`GridCoordinates` from data extracted from the\n        specified region.\n\n        imin, imax, jmin, jmax, kmin, kmax: int\n            Specifies the region to extract neglecting ghost/rind planes.\n            Negative values are relative to the size in that dimension,\n            so -1 refers to the last element. For 2D zones omit kmin and kmax.\n            Similarly, for 1D zones only specify imin and imax.\n\n        ghosts: int[]\n            Number of ghost/rind planes for the new zone.\n            If ``None``, the existing specification is used.\n        ' #NEWLINE# vec = super ( GridCoordinates , self ) . extract ( imin , imax , jmin , jmax , kmin , kmax , kmin ) #NEWLINE# return GridCoordinates ( vec )