Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/geebeam/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,8 +424,7 @@ def grid_and_run_pipeline(
tile_coverage: Which grid tiles to keep relative to ``sampling_region``.
'clip' (default): keep a tile only if its sampling point (the patch reference
point set by ``position``) falls inside the region.
'center_clip': keep a tile only if its patch center falls inside the region,
regardless of ``position``.
'center_clip': keep a tile only if its patch center falls inside the region.
'intersect': keep any tile whose full ``patch_size`` footprint touches the region,
guaranteeing gap-free coverage at the edges.
**kwargs: Additional keyword arguments are documented in :meth:`pipeline.run_pipeline`.
Expand Down
6 changes: 3 additions & 3 deletions src/geebeam/sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@ def sample_region_grid(
'top-left', 'top-right', 'bottom-left', or 'bottom-right'. Only
matters when ``tile_coverage`` is not 'clip'.
tile_coverage: Which tiles to keep relative to ``roi``. 'clip' (default)
keeps a tile if its sampling point falls inside ``roi``; 'center_clip'
keeps a tile if its patch center falls inside ``roi``, regardless of
``position``; 'intersect' keeps a tile if any part of its patch footprint
keeps a tile if its sampling point falls inside ``roi``;
'center_clip' keeps a tile if its patch center falls inside ``roi``.;
'intersect' keeps a tile if any part of its patch footprint
touches ``roi``. The latter two require ``patch_size``.

Returns:
Expand Down