generate_tiles¶
- toasty.toast.generate_tiles(depth, bottom_only=True, coordsys=ToastCoordinateSystem.ASTRONOMICAL)[source]¶
Generate a pyramid of TOAST tiles in deepest-first order.
- Parameters:
- depthint
The tile depth to recurse to.
- bottom_onlybool
If True, then only the lowest tiles will be yielded.
- coordsysoptional
ToastCoordinateSystem
The TOAST coordinate system to use. Default is
ToastCoordinateSystem.ASTRONOMICAL
.
- Yields:
- tileTile
An individual tile to process. Tiles are yielded deepest-first.
- The
n = 0
depth is not included.