Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-9381

Add ability to highlight data subsets in analysis plots

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: pipe_analysis
    • Labels:
      None
    • Story Points:
      2
    • Epic Link:
    • Sprint:
      DRP S17-3, DRP S17-4, DRP S17-5
    • Team:
      Data Release Production

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            lauren Lauren MacArthur added a comment -

            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):

            highlightList=[("parent", 0, "yellow"), ("base_Footprint_nPix", 1000, "magenta")]
            

            Show
            lauren Lauren MacArthur added a comment - 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): highlightList=[("parent", 0, "yellow"), ("base_Footprint_nPix", 1000, "magenta")]
            Hide
            lauren Lauren MacArthur added a comment - - edited

            John Swinbank, is this satisfactory to close this one out?

            Show
            lauren Lauren MacArthur added a comment - - edited John Swinbank , is this satisfactory to close this one out?
            Hide
            swinbank John Swinbank added a comment -

            Great!

            I'm assuming that this code is not currently easily publicly available, but will become so as part of the work associated with DM-10045?

            Show
            swinbank John Swinbank added a comment - Great! I'm assuming that this code is not currently easily publicly available, but will become so as part of the work associated with DM-10045 ?
            Hide
            lauren Lauren MacArthur added a comment -

            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 DM-10045.

            Show
            lauren Lauren MacArthur added a comment - 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 DM-10045 .

              People

              Assignee:
              lauren Lauren MacArthur
              Reporter:
              lauren Lauren MacArthur
              Reviewers:
              John Swinbank
              Watchers:
              John Swinbank, Lauren MacArthur
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.