-
Notifications
You must be signed in to change notification settings - Fork 13
Implement simplified IFU mode with cube readout #654
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
Conversation
This cost me almost an hour to figure out why nothing was coming through -.- I thought we already had a warning like this somewhere?
This was never used anywhere except in testing and is likely a leftover from pre-ScopeSim days.
Now that `add_imagehdu_to_imagehdu()` can handle the 3D case, it needs a full WCS in such a case. I don't think there's a reason to not add the spectral part at this point already.
This eliminated the need to have a spectral trace list effect in the simple IFU mode.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #654 +/- ##
==========================================
+ Coverage 76.67% 76.82% +0.15%
==========================================
Files 70 71 +1
Lines 8612 8717 +105
==========================================
+ Hits 6603 6697 +94
- Misses 2009 2020 +11 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
hugobuddel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty clean!
I can't see that I fully comprehend everything, but I'm confident that I could if you would win the lottery. In fact, quite some 'bad' code is removed or annotated, so that's nice.
I've added some minor comments; I'll let you decide how to handle those.
oczoske
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed.
This mostly adds a
DetectorList3Dclass, which acts as a "virtual 3D detector" as outlined in #550, allowing simplified simulations of (METIS) IFU observations. The output is similar to a rectified and drizzled IFU cube (square pixels), without the computational overhead of those operations. This obviously come at the cost of simulation accuracy, but is considered an acceptable tradeoff for a science team target audience.More effects (like LSF) are needed to simulate those outputs with adequate realism, but this now adds the geometric basis to run those simulations at all. I recommend merging this, and dealing with the rest separately, since it's now at least at a stable working state. "To be added" is also a notebook showcasing this mode, but that should be in the IRDB.
AstarVienna/irdb#233 adds the corresponding mode definitions in the IRDB.