parameters: (workspaces)
return_statement: return globalMin, globalMax
docstring: Return global minimum and maximum of the given workspaces.
docstring_summary: Return global minimum and maximum of the given workspaces.
docstring_tokens: Return global minimum and maximum of the given workspaces .
function: def _globalnanminmax(workspaces):
      """Return global minimum and maximum of the given workspaces."""
      workspaces = _normwslist(workspaces)
      globalMin = numpy.inf
      globalMax = -numpy.inf
      for ws in workspaces:
          cMin, cMax = nanminmax(ws)
          globalMin = min(globalMin, cMin)
          globalMax = max(globalMax, cMax)
      return globalMin, globalMax
function_tokens: def _globalnanminmax ( workspaces ) : workspaces = _normwslist ( workspaces ) globalMin = numpy . inf globalMax = - numpy . inf for ws in workspaces : cMin , cMax = nanminmax ( ws ) globalMin = min ( globalMin , cMin ) globalMax = max ( globalMax , cMax ) return globalMin , globalMax