Skip to content

Commit

Permalink
improve healpix.pad docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nbren12 committed Dec 20, 2024
1 parent c9cb58d commit efb891c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion earth2grid/healpix.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ def pad(x: torch.Tensor, padding: int) -> torch.Tensor:
Pad each face consistently with its according neighbors in the HEALPix
Args:
x: The input tensor of shape [N, F, H, W] or [N, F, C, H, W]
x: The input tensor of shape [N, F, H, W] or [N, F, C, H, W]. Must be
ordered in HEALPIX_PAD_XY pixel ordering.
padding: the amount of padding
Returns:
Expand Down

0 comments on commit efb891c

Please sign in to comment.