code: def fftfreq(n, d=1.0, *, dtype=None):
      if not isinstance(
          n,
          (
              int,
              type(ivy.int8),
              type(ivy.int16),
              type(ivy.int32),
              type(ivy.int64),
          ),
      ):
          raise TypeError("n should be an integer")
  
      dtype = ivy.float64 if dtype is None else ivy.as_ivy_dtype(dtype)
  
      N = (n - 1) // 2 + 1
      val = 1.0 / (n * d)
  
      results = ivy.zeros((n,), dtype=dtype)
      results[:N] = ivy.arange(0, N, dtype=dtype)
      results[N:] = ivy.arange(-(n // 2), 0, dtype=dtype)
  
      return results * val
  
file_path: ivy/ivy/functional/frontends/jax/numpy/fft.py
imports: import ivy
  from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
  from ivy.func_wrapper import with_unsupported_dtypes
label_desc: Use image node_id 3 for calling a global function with example usage: fftfreq(n, d) and returns: unknown