Restructured TS map computation

As close to final as it could get today.
Mention that this calls `scipy.ndimage.zoom` in the docstring (and add a Sphinx reference).