Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
WardBrian committed Oct 17, 2023
1 parent ad33f54 commit f92ca00
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions pytorch_finufft/functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,14 +346,15 @@ def finufft_type1(
Points must lie in the range ``[-3pi, 3pi]``.
values : torch.Tensor
Length N complex-valued tensor of values at the non-uniform points
output_shape : Union[int, Tuple[int, int], Tuple[int, int, int]]
Requested output shape of Fourier modes
**finufftkwargs : Union[int, float]
output_shape : int | tuple(int, ...)
Requested output shape of Fourier modes. Must be a tuple of length D or
an integer (1D only).
**finufftkwargs : int | float
Additional keyword arguments are forwarded to the underlying
FINUFFT functions. A few notable options are
- `eps`: precision requested (default: ``1e-6``)
- `modeord`: 0 for FINUFFT default, 1 for Pytorch default (default: ``1``)
- `isign`: Sign of the exponent in the Fourier transform (default: ``-1``)
- ``eps``: precision requested (default: ``1e-6``)
- ``modeord``: 0 for FINUFFT default, 1 for Pytorch default (default: ``1``)
- ``isign``: Sign of the exponent in the Fourier transform (default: ``-1``)
Returns
-------
Expand Down Expand Up @@ -384,12 +385,12 @@ def finufft_type2(
Points must lie in the range ``[-3pi, 3pi]``.
targets : torch.Tensor
D-dimensional complex-valued tensor of Fourier modes to evaluate at the points
**finufftkwargs : Union[int, float]
**finufftkwargs : int | float
Additional keyword arguments are forwarded to the underlying
FINUFFT functions. A few notable options are
- `eps`: precision requested (default: ``1e-6``)
- `modeord`: 0 for FINUFFT default, 1 for Pytorch default (default: ``1``)
- `isign`: Sign of the exponent in the Fourier transform (default: ``-1``)
- ``eps``: precision requested (default: ``1e-6``)
- ``modeord``: 0 for FINUFFT default, 1 for Pytorch default (default: ``1``)
- ``isign``: Sign of the exponent in the Fourier transform (default: ``-1``)
Returns
-------
Expand Down

0 comments on commit f92ca00

Please sign in to comment.