class_docstr: A Fourier series field defined on a collocation grid.
class_docstr_tok: ["A","Fourier","series","field","defined","on","a","collocation","grid","."]
docstr: Returns the FFT and iFFT functions that are appropriate for the
  field type (real or complex)
docstr_tok: ["Returns","the","FFT","and","iFFT","functions","that","are","appropriate","for","the","field","type","(","real","or","complex",")"]
code: def _ffts(self):
      r"""Returns the FFT and iFFT functions that are appropriate for the
      field type (real or complex)
      """
      if self.is_real:
          return [jnp.fft.rfft, jnp.fft.irfft]
      else:
          return [jnp.fft.fft, jnp.fft.ifft]
  
imports: import warnings
  from typing import Callable, TypeVar
  import equinox
  from equinox import tree_equal
  from jax import eval_shape
  from jax import numpy
  from jax import vmap
  from jaxtyping import PyTree
  from jaxdf.core import Field
  from jaxdf.geometry import Domain
label_desc: Use image node_id 3 for calling the FourierSeries obj's underlying member method code with example usage: obj._ffts() and returns: list, list