-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add MA table reference file #461
Comments
cc from RTB @rcosenti-stsci and @wcschultz in addition to the usual RCAL folks @schlafly , @PaulHuwe , @ddavis-stsci , @nden . |
This issue is tracked on JIRA as RAD-180. |
I guess the other option would be to add a new possible WFI detector, ALL. But I agree that doing a nominal WFI01 is easier. I haven't thought hard enough about the timings. Do the grism / prism / imaging modes use the same MA tables, albeit with different SCA readout parameters (and therefore frame times)? It seems to me like it must be possible mechanically to observe with an imaging filter but a spectroscopic frame time (i.e., imaging filters with spectroscopic guide windows)? I don't think this is a good idea, but I'm trying to understand what connections are guaranteed and what connections are conventions. Can we add something about "for a single read of the array" to the description of "frame_time"? For me "start and end of a readout" isn't immediately obviously "one readout" vs. "all of the readouts in the exposure." |
@schlafly The MA tables inherently specify the observing mode so if you want the same readout pattern for an image and a spectroscopic image, you would need two different MA tables. Theoretically this does not need to be the case, but in practice it is. I agree with your other comments. I am a little concerned that the frame times might change over the nominal mission while the MA tables will not. In the current schema, we cannot change the frame times to be MA table specific. Could we just add the read and reset time for each table to the first dictionary alongside the read pattern? We could also add the observing mode if that is also needed. That would at least safeguard for possible future changes, even if it does increase the file size a little. Also I thought the MA table ID's need to be between 1-9999 as we increased the maximum to be sure we would never run out of unique IDs. This is not super important, I just wanted to clarify. |
@wcschultz beat me to the explanation. :) Everything he said is correct about how the MA tables operate. Practically you will not be able to combine an imaging mode table with spectroscopic guide windows. Those two things are tied together in PSS. For which detector to use, we can use the p_ keyword. It's how we do this sort of thing in CRDS to ensure any match to any detector works (it's how we did the F158 flat applying to all filters as a placeholder, for example). For the question of the description, I think it's actually more accurate to say that frame_time is the time between the start of one readout of the WFI detectors and the start of the next readout. We can finesse that, but that's what it means. Re: @wcschultz 's point about evolution, that's a good idea. I'd preferred to not have to replicate that information a bunch, but it could change and older observations could have different frame_time values, so I think we can make that part of each table definition. And 1-9999 is fine, I just was making a note to myself that that needs to be an incrementing field in the schema. |
Okay. If there is a 1:1 mapping between MA tables and frame times, then I agree with Will that it is more natural to move frame_time under ma_table parallel to read_pattern.
The distinction I want to make clear is that a "readout" here is for one frame. The device is continually reading out for the whole exposure, etc., so there's another notion of readout time that is more like the total exposure time---that's how long the device is reading out. I know you know this, and maybe I'm being dumb coming from CCD-land, but my two cents are that it's beneficial to have some language that "start and end of a readout" is for a single non-destructive read of the whole array. |
Not being dumb, just being precise and clear. Feedback received! So if we're ~happy with this kind of setup, then @wcschultz and @rcosenti-stsci can finesse this a bit and come back with something implementable? |
Sure! @rcosenti-stsci and I can coordinate this later this week and I can try to have an example by next Thursday if that is a reasonable timeline for everyone. |
This all sounds good to me. We can be explicit in our definitions and change as needed for clarity.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dr. Richard G. Cosentino
Space Telescope Science Institute
Roman Telescope Branch
Senior Staff Scientist
Rotunda Office: RS423
Phone: (410) 338-4985
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: Will C Schultz ***@***.***>
Reply-To: spacetelescope/rad ***@***.***>
Date: Wednesday, October 9, 2024 at 2:25 PM
To: spacetelescope/rad ***@***.***>
Cc: Richard Cosentino ***@***.***>, Mention ***@***.***>
Subject: Re: [spacetelescope/rad] Add MA table reference file (Issue #461)
Sure! @rcosenti-stsci<https://urldefense.com/v3/__https:/github.com/rcosenti-stsci__;!!CrWY41Z8OgsX0i-WU-0LuAcUu2o!zhsJ1lKSH-aLkDGTXNF8XpplbqvQB5YJCaEMlXcyjJYt6cFly3X46asSMoHBDVRqxywN2Pb6vOAbuC7TChbrfbYG$> and I can coordinate this later this week and I can try to have an example by next Thursday if that is a reasonable timeline for everyone.
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https:/github.com/spacetelescope/rad/issues/461*issuecomment-2402999109__;Iw!!CrWY41Z8OgsX0i-WU-0LuAcUu2o!zhsJ1lKSH-aLkDGTXNF8XpplbqvQB5YJCaEMlXcyjJYt6cFly3X46asSMoHBDVRqxywN2Pb6vOAbuC7TCtRW63c3$>, or unsubscribe<https://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AU6BQMSME5NFITAILWDR7ETZ2VYKPAVCNFSM6AAAAABPMC3M5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBSHE4TSMJQHE__;!!CrWY41Z8OgsX0i-WU-0LuAcUu2o!zhsJ1lKSH-aLkDGTXNF8XpplbqvQB5YJCaEMlXcyjJYt6cFly3X46asSMoHBDVRqxywN2Pb6vOAbuC7TCoPf1l-d$>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
To better keep in sync the versions of the multi-accumulation (MA) tables used by various simulation tools at the SOC as well as by the romancal pipeline, we request a new type of reference file to capture this information. I welcome comments on this issue for how best to format the file, but I'm going to sketch out an initial suggestion here. Note that ref_common includes ROMAN.META.INSTRUMENT.DETECTOR, but this would apply to all detectors...I guess we can just always put WFI01? We're not going to match on it, so we don't need to put a p_ keyword for this, just a placeholder.
CRDS Selectors:
Schema:
Questions:
The text was updated successfully, but these errors were encountered: