Restructured TS map computation

As close to final as it could get today.
Always sort imports like this:
* Python built-in
* Scientific Python
* Astropy
* Gammapy