Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This started out with the observation that the flux of the laser lamps through the pinhole mask of the METIS WCU was too low (#850). While looking into this it was noticed that the background flux (with lamp off) without and with a focal-plane mask inserted was not identical. The expected ratio is 0.95, which is the emissivity of the integrating sphere, whereas the emissivity of the (opaque parts of the) focal-plane mask is taken to be 1. The observed ratio was more like 20. This PR makes these values consistent by setting the values of the
holehduandopaquehdu, which define the FPMask, in terms of pixels rather than solid angles as before.While consistent, it is currently not clear that it is also correct. Running the
METIS_WCU.ipynbnotebook shows that the signal from the black-body source through the open FPMask is lower than it used to be. If that is true, then the problem may be not with the FPMask but with the black-body source (which is aTERCurvewithout an hdu). Update: The difference can be explained through the new pupil mask (PPS-LM instead of open) and averaging and gain of the detector readouts. The notebook still needs to be updated.Closes #850