Skip to content

Commit

Permalink
Merge pull request #158 from santisoler/pad
Browse files Browse the repository at this point in the history
Add pad and unpad functions
  • Loading branch information
Takaya Uchida committed Nov 6, 2021
2 parents 491cc24 + 526255f commit 5b18b88
Show file tree
Hide file tree
Showing 6 changed files with 720 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,13 @@ You also may wish to use xrft's detrend function on its own.

.. automodule:: xrft.detrend
:members:

padding
=======

Pad and unpad arrays and its coordinates so they can be used for computing
FFTs.

.. automodule:: xrft.padding
:members:

1 change: 1 addition & 0 deletions xrft/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@

from .xrft import * # noqa
from .detrend import detrend
from .padding import pad, unpad
Loading

0 comments on commit 5b18b88

Please sign in to comment.