hpc4cmb / toast

Time Ordered Astrophysics Scalable Tools
Other
44 stars 39 forks source link

Sat sim tweaks2 #725

Closed keskitalo closed 6 months ago

keskitalo commented 9 months ago

The mapmaker was running out of memory after destriping had already completed. I arranged the code so that map domain data products are written and purged from memory as early as possible. I also purged template amplitude objects that were only used as intermediate containers during destriping.

In the process, it became painfully obvious that the _exec() methods in MapMaker and SolveAmplitudes had grown beyond readable lengths (~300 lines and ~900 lines) so I refactored them.

I also added support for different coordinate systems in satellite simulation and detector pointing operators. The latter is more flexible but adds an extra quaternion multiplication every time detector pointing is expanded. These fixes address #565 and indirectly #80.

Some minor tweaks to the satellite simulation workflow: