 direction.
    n_z : integer, optional
        The size of the grid in the z direction, defaults to 1
    Nr