Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sat sim tweaks2 #725

Merged
merged 16 commits into from
Mar 19, 2024
Merged

Sat sim tweaks2 #725

merged 16 commits into from
Mar 19, 2024

Conversation

keskitalo
Copy link
Member

@keskitalo keskitalo commented Jan 2, 2024

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:

  • Copied sample_rate and thinfp options from toast_sim_ground.py
  • Increased logging

Copy link
Member

@tskisner tskisner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is all great, but before merging I would like to continue the discussion thread about the 2 changes to mapmaking defaults that overwrite the input TOD.

src/toast/ops/mapmaker_solve.py Show resolved Hide resolved
src/toast/ops/mapmaker.py Outdated Show resolved Hide resolved
@keskitalo keskitalo merged commit e6e0c0b into toast3 Mar 19, 2024
6 checks passed
@tskisner tskisner deleted the sat-sim-tweaks2 branch March 19, 2024 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants