generate_tiles

toasty.toast.generate_tiles(depth, bottom_only=True)[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.

Yields
tileTile

An individual tile to process. Tiles are yield deepest-first.

The n = 0 depth is not included.