I think this probably means that your script is not setting the variance plane of the image before passing it off to CharacterizeImageTask
. In our pipelines that’s the responsibility of IsrTask
; if you’re not running that because you’ve got your own variant, you’ll need to add something that sets the variance according to the gains and pixel values.
Different algorithms are responsible for different measurements. For second moments, you’ll probably want to continue to use SdssShape
instead of SdssCentroid
(or use the slot_Shape
alias).
For photometry, it depends on what kind of photometry. base_PsfFlux
and base_CircularApertureFlux
are probably the simplest choices in that category. I think all of these should be included in the default configuration of CharacterizeImageTask
; they’re definitely included in the default configuration of CalibrateTask
, so a config dump of that could be used to show a relatively complete set. The syntax for enabling algorithms is something like this:
# Assumes 'config' is an instance of CharacterizeImageTask.ConfigClass.
# The .names attribute behaves like a Python set.
config.measurement.names |= {"base_SdssShape", "base_PsfFlux"}
I’m afraid we don’t have any high-level docs that covers all algorithms. And the docs for individual algorithms are at best inconsistent in quality. Asking here is still probably the best way to get (and effectively add to) documentation.