Fix Version/s: None
Sprint:DRP S17-3, DRP S17-4, DRP S17-5
Team:Data Release Production
Highlighting objects based on a "third" parameter, e.g. a flag setting, (other than spatial, for which we are already producing diagnostic figures) can be very useful in diagnosing pathologies (see, e.g.
DM-9252). This ticket is to add this ability to the analysis plotting scripts.
John Swinbank, is this satisfactory to close this one out?
I'm assuming that this code is not currently easily publicly available, but will become so as part of the work associated with
The code is on a branch in the pipe_analisys repo on lsst-dm GitHub. It runs nicely on HSC data (in conjunction with a branch of the same name on obs_subaru), but I don't particularly recommend the unwary try to run it as is (some minimal guidance could be enough...) Indeed, the more public facing and more generally/generically useable version will be the work of
The functionality has been added such that a list of (schemaName, threshValue, color) tuples can be added to a given plot type such that a point will be highlighted with color if the schemaName value is > threshValue. As of now it must be hardcoded for a given plot type as making it active for all plots is overkill. This can be modified in the future if there is a desire to design a more general and configurable implementation. The use cases encountered to date do not warrant the extra effort at the present time.
The following plot show an example, where the following list was used (note that base_Footprint_nPix is added to the catalog by the analysis scripts, i.e. is not a default entry in the catalogs as produced by the stack):