-
Notifications
You must be signed in to change notification settings - Fork 15
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
make TOAST interface work with components different from obs.tod #242
Conversation
I just added the |
Thanks for the PR. I believe we should ask the TOAST map-maker to take as many However, this will require the wrapper to allocate a new TOD to keep the sum of all the components. Is this something we want, or should we just require to pass one component to the map-maker? (For Madam there was no problem, as |
I would go with 2 or 3. |
Thanks for the comment, @marcobortolami . My preference is for option 2. Apart from pointings, TODs are the largest objects the framework keeps in memory, so asking the user to explicitly allocate a variable for the sum of the TODs might help in tracking down unexpected memory requirements or to quickly find the culprit of job failures. @paganol , what do you think? |
I there, I agree with @ziotom78. I would go for the option 2 |
Perfect, I implemented option #2 and updated the tests and the docstrings. |
This PR has been opened to solve #241.