-
Notifications
You must be signed in to change notification settings - Fork 9
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 support for calibration exposures #54
Comments
The updated config should look something like:
|
This is now a blocking factor for 2% sprint so we need to get this implemented or otherwise work around it. Rather than baking the spectra into desimodel and the specsim config, consider adding a |
I will take a look this afternoon. |
Can you think of anything that would require arcs and flats to be simulated differently, other than the input surface brightness? |
In principle arcs and flats can be simulated the same other than the input surface brightness spectrum. As a pragmatic matter, it can be handy to specify arcs as a set of delta functions at arbitrary wavelengths; otherwise you end up creating a super fine grid where most values are zero and the non-zero values are effectively not quite at the wavelength that you really wish they were. Note: we've had discussions over the years about how valid is the approximation that arcs are delta functions, vs. slightly broadened lines with a small amount of continuum. The current desisim + specter simulations directly use the ELECTRONS column rather than the CALIBRATED_FLUX column, which comes with these caveats in the header:
i.e. we'll need to revisit the input spectra; don't be too constrained by what is currently in those files but please do consider the delta function idea. Otherwise we could still store the calib files as delta functions and convert them to a sampled surface brightness spectrum before passing it off to specsim. |
David,
|
Is it reasonable to assume that the plate scales calculated for sources at infinity are also valid for arcs and flats? If not, is there a simple prescription I should use to correct the sky area of each fiber that multiplies the surface brightness? |
I think it is reasonable.
But, on top of the plate scale and vignetting, there is the effect that the
dome screen illumination is not uniform, and this translates into a 1%
effect from the center to the edge of the f.o.v that would be interesting
to include in the simulations.
2017-04-14 15:30 GMT+02:00 David Kirkby <[email protected]>:
… Is it reasonable to assume that the plate scales calculated for sources at
infinity are also valid for arcs and flats? If not, is there a simple
prescription I should use to correct the sky area of each fiber that
multiplies the surface brightness?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#54 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AE854Ci8Qv644hviix2VHfbr-sxIwCkhks5rv3TfgaJpZM4Look4>
.
|
Fiber-to-fiber variations of the incident surface brightness are no problem but the caller is responsible for modeling them. Vignetting should be modeled in specsim but isn't yet - there is a separate issue for this #56. |
I agree that the caller of specsim should be responsible for modeling any dome screen non-uniformity. I will include that (at least as an option) in the refactored newexp code. If specsim can handle surface brightness inputs (i.e. flux per area) with some switch for not-applying moon/sky, that would be sufficient. |
It sounds like #61 should fit the bill. |
calibration exposure support implemented in #61; closing this issue. |
Specsim should be able to simulate calibration exposures (ARC, FLAT). This requires knowing the spectrum and treating it like sky for throughput (without any moon or extinction, etc).
The spectra are not (yet) in desimodel, but available at nersc in
$DESI_ROOT/spectro/templates/calib/v0.3/
. Need to figure out units and whether arc variability needs to be modeled.The text was updated successfully, but these errors were encountered: