-
Notifications
You must be signed in to change notification settings - Fork 0
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
2161 RID LLu Critical Algorithm 10.9 IFU image and cube reconstruction needs more work #273
Comments
Making an issue so we can discuss our answer. Directly addressing the RIX would just be:
Perhaps we can elaborate on the algorithm itself.
Something like that? |
I think the main point is that we need to discuss this with PWb first and see if there is any reason why we should not use the matrix approach. If there are any compelling reasons not to use this or there is some unforeseen problem, we can always fall back to the MUSE approach. I would hate to discard what @oczoske has done and I like matrices somewhat better. As for the algorithm the preparation part is complete. We can create matrix A in a few hundred ms for general rotation and in negligible time if model and data are aligned or rotated by 90°. |
So what do we answer? We can't discuss anything with PWb first, because we need to submit tonight. I can't answer if I don't know what we plan to do, because @sesquideus is probably the person who will actually do it. The actual RIX states that they could not run the Critical Algorithm, so the first thing we need to decide is whether we want to improve the documentation of the algorithm (or the algorithm itself) so Lars can run it. Do we plan to do that? Unless I hear otherwise, I'll assume yes. The subsequent issue is the algorithm itself, do we already want to indicate that we are planning to improve on that too? I'll reply something vaguely. Maybe:
|
Copying in Lars' response to the question during the 2023-10-30 weekly telecon of "how to proceed with this RID so as to be able to move forward during the FDR meeting":
|
We definitely have to provide a working prototype. I have already told Lars that right now it does not "run" -- in the sense that you cannot put in six synthetic "exposures" and obtain a single reconstructed image. I still need some time to get it to that state. I cannot promise that it will be done in a week though. As for the algorithm, I have no reason to think what @oczoske has written would not reconstruct the image, except for the equation at the end it is clear to me now. The problem is that for the real size of the matrix (16800×4624) the inversion took forever to run with both numpy and Eigen (quite literally, it did not finish in eight hours). Maybe I am doing something completely wrong -- I still think it is a problem of the implementation, not the algorithm itself. But if there are going to be any compelling reasons to use pixtables instead, I think much of the codebase will be common anyway. We will still need to determine overlaps and fill factors and determine which exposure contributes where, and this is already working. Only instead of assembling them into a matrix we process the pixels sequentially. But I would like to finish reading the MIRI paper and talk to Peter first. Right now I doubt we can do any better than a vague answer, especially given what Kieran just posted here. |
Indeed given what Lars wrote, I don't think he expects us to show the full working prototype at the meeting. As @sesquideus says, there is not enough time for that. I see the discussion of this RID at the meeting having three parts:
I'm open to any suggestions or change requests regarding this approach. Regardless of the details though, we --will-- need to address these three questions in the slides we present on this RID. |
Here's what I propose as an answer to the RID:
@sesquideus @hugobuddel what say you? Edit: typos |
Something like that is fine. Maybe it is a bit too much. (Disclaimer, take the below with a grain of salt, I'm tired.) E.g. we could perhaps remove the entire 3th bullet, because 3a and 3b are kinda implied, and w.r.t. 3c I don't want to give ESO control over which algorithm we use. As in, it is also implied that they can reject our prototype and escalate [e.g. not pass FDR] if we don't choose the other algorithm, but that is different from giving them the decision power. We could perhaps add a sentence (after the bullets) about that we also investigate the applicability of the MUSE/MIRI code as a backup solution. Also the first sentence of the second paragraph is perhaps not necessary. It's not our job to tell the reviewers what they need to close the RIX. Perhaps just adapt the last sentence to "To close this RID, we propose the following course of action:". And I would perhaps not use "convince" in the first bullet, but just "show". This works both ways:
Explicitly mentioning the dates, even though they are TBD, is great, because this keeps us in the drivers seat. We don't want them to feel forced to impose meetings upon us to supervise us; instead we take the lead by inviting them. Blablabla, I wouldn't be able to implement this algorithm, or make it even more complex, so I'll let you decide how to answer. |
I hope that for the next two or three weeks there will not be too much other stuff on my plate anyway, so I can get to work on it full time. Providing a mini-version should be possible too. The third bullet seems a bit pushy to me too. |
Points taken. Here's an updated version:
|
https://jira.eso.org/browse/MET-2161
The text was updated successfully, but these errors were encountered: