Details
-
Type:
Improvement
-
Status: To Do
-
Resolution: Unresolved
-
Fix Version/s: None
-
Component/s: meas_astrom
-
Labels:None
-
Team:Alert Production
Description
In reviewing DM-1576 Jim Bosch commented on two existing ugly hacks in PhotoCalTask for dealing with uncertainties in reference object flux:
- The reference flux is not handled in a principled way
- The square root of the flux is used as the estimated error if the reference flux error is not known
For now I have modified the code to ignore reference flux error. I will note, however, that any catalog that is suitable to be used for accurate photometric calibration ought to have known flux errors. So I am not convinced that the ugly hack of using sqrt(flux) is a very serious issue. Still, it might be smarter to ignore the reference flux error if it is unknown? For now I will ignore it in any case.
Attachments
Issue Links
- contains
-
DM-2423 Weighting in photometric calibration is incorrect
- Done
-
DM-3202 Include reference magnitude errors in PhotoCal
- To Do
- relates to
-
DM-8837 Reference catalog proper motions, parallaxes and errors
- Done
-
DM-11998 Add required missing fields and errors to reference catalogs
- Invalid
-
RFC-535 Make flux error a required field in reference catalogs
- Implemented
-
DM-17692 Examine ref and source flux error propagation in PhotoCalTask and colorterms
- To Do
- mentioned in
-
Page Loading...
What units is the reference flux measured in? Only if it's in counts does its sqrt correspond to an error, and I think it'd be safer to set it to None than to sqrt(flux).
If the errors in the reference catalogue are much less than those in the measurements, the reference catalogue errors can safely be neglected (yes, there are some sqrt(N)s to be considered).
Why are we transferring the errors to the measured fluxes? I see a comment,
# Fitting with error bars in both axes is hard, so transfer all
# the error to src, then convert to magnitude
(which may have originated with me, although git clears me of the most recent edit to those lines), but it's not that hard. We should bite that bullet someday.