pystella/fourier/rayleigh.py
def init_field(self, fx, queue=None, **kwargs):
        """
        A wrapper which calls :meth:`generate` to initialize a field
        in Fourier space and returns its inverse Fourier transform.

        :arg fx: The array in which the field will be stored.

        The following keyword arguments are recognized:

        :arg queue: A :class:`pyopencl.CommandQueue`.
            Defaults to ``fx.queue``.

        Any additional keyword arguments are passed to :meth:`generate`.
        """

        queue = queue or fx.queue
        fk = self.generate(queue, **kwargs)
        self.fft.idft(fk, fx)

        A wrapper which calls :meth:`generate` to initialize a field
        in Fourier space and returns its inverse Fourier transform.

        :arg fx: The array in which the field will be stored.

        The following keyword arguments are recognized:

        :arg queue: A :class:`pyopencl.CommandQueue`.
            Defaults to ``fx.queue``.

        Any additional keyword arguments are passed to :meth:`generate`.
        
A wrapper which calls :meth:`generate` to initialize a field
in Fourier space and returns its inverse Fourier transform.
A wrapper which calls : meth : ` generate ` to initialize a field in Fourier space and returns its inverse Fourier transform .
def init_field(self, fx, queue=None, **kwargs):
        queue = queue or fx.queue
        fk = self.generate(queue, **kwargs)
        self.fft.idft(fk, fx)
def init_field ( self , fx , queue = None , ** kwargs ) : queue = queue or fx . queue fk = self . generate ( queue , ** kwargs ) self . fft . idft ( fk , fx )
A wrapper which calls :meth:`generate` to initialize a field
in Fourier space and returns its inverse Fourier transform.
A wrapper which calls : meth : ` generate ` to initialize a field in Fourier space and returns its inverse Fourier transform .
"""
        A wrapper which calls :meth:`generate` to initialize a field
        in Fourier space and returns its inverse Fourier transform.

        :arg fx: The array in which the field will be stored.

        The following keyword arguments are recognized:

        :arg queue: A :class:`pyopencl.CommandQueue`.
            Defaults to ``fx.queue``.

        Any additional keyword arguments are passed to :meth:`generate`.
        """
self
fx
The array in which the field will be stored.
The following keyword arguments are recognized.
The array in which the field will be stored . The following keyword arguments are recognized .
queue
A :class:`pyopencl.CommandQueue`.
Defaults to ``fx.queue``.

Any additional keyword arguments are passed to :meth:`generate`.
A : class : ` pyopencl . CommandQueue ` . Defaults to ` ` fx . queue ` ` . Any additional keyword arguments are passed to : meth : ` generate ` .