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

Add an "detect_isPrimary" flag to single frame processing schema

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: pipe_tasks
    • Labels:
    • Story Points:
      9
    • Sprint:
      DRP F20-1 (June), DRP F20-2 (July)
    • Team:
      Data Release Production
    • Urgent?:
      No

      Description

      The coadd level catalogs include a flag:

      "detect_isPrimary", type="Flag",
       doc="true if source has no children and is in the inner region of a coadd patch "
                "and is in the inner region of a coadd tract "
                "and is not \"detected\" in a pseudo-filter (see config.pseudoFilterList)",
      

      that is very useful for culling catalogs of duplicate (patch/tract overlap), non-deblended parent sources (deblend_nChild>0, and sky objects. No equivalent flag currently exists at the visit /single frame measurement level, so this ticket is to add such a flag. Currently, the only two conditions to be added to flag undesirable sources are:
      deblend_nChild == 0
      sky_source is False

      A community post describing this feature may be found here: https://community.lsst.org/t/primary-source-flag-for-single-frame-processing/4425

        Attachments

          Issue Links

            Activity

            lauren Lauren MacArthur created issue -
            lauren Lauren MacArthur made changes -
            Field Original Value New Value
            Epic Link DM-25271 [ 435631 ]
            lauren Lauren MacArthur made changes -
            Description The coadd level catalogs include a flag:
            {code:python}
            "detect_isPrimary", type="Flag",
             doc="true if source has no children and is in the inner region of a coadd patch "
                      "and is in the inner region of a coadd tract "
                      "and is not \"detected\" in a pseudo-filter (see config.pseudoFilterList)",
            {code}
            that is very useful for culling catalogs of duplicate (patch/tract overlap), non-deblended parent sources ({{detect_nChild>0}}, and sky objects. No equivalent flag currently exists at the visit /single frame measurement level, so this ticket is to add such a flag. Currently, the only two conditions to be added to flag undesirable sources are:
            {{detect_nChild > 0}}
            {{sky_source is True}}
            The coadd level catalogs include a flag:
            {code:python}"detect_isPrimary", type="Flag",
             doc="true if source has no children and is in the inner region of a coadd patch "
                      "and is in the inner region of a coadd tract "
                      "and is not \"detected\" in a pseudo-filter (see config.pseudoFilterList)",
            {code}
            that is very useful for culling catalogs of duplicate (patch/tract overlap), non-deblended parent sources ({{deblend_nChild>0}}, and sky objects. No equivalent flag currently exists at the visit /single frame measurement level, so this ticket is to add such a flag. Currently, the only two conditions to be added to flag undesirable sources are:
             {{deblend_nChild > 0}}
             {{sky_source is True}}
            lskelvin Lee Kelvin made changes -
            Status To Do [ 10001 ] In Progress [ 3 ]
            lauren Lauren MacArthur made changes -
            Description The coadd level catalogs include a flag:
            {code:python}"detect_isPrimary", type="Flag",
             doc="true if source has no children and is in the inner region of a coadd patch "
                      "and is in the inner region of a coadd tract "
                      "and is not \"detected\" in a pseudo-filter (see config.pseudoFilterList)",
            {code}
            that is very useful for culling catalogs of duplicate (patch/tract overlap), non-deblended parent sources ({{deblend_nChild>0}}, and sky objects. No equivalent flag currently exists at the visit /single frame measurement level, so this ticket is to add such a flag. Currently, the only two conditions to be added to flag undesirable sources are:
             {{deblend_nChild > 0}}
             {{sky_source is True}}
            The coadd level catalogs include a flag:
            {code:python}"detect_isPrimary", type="Flag",
             doc="true if source has no children and is in the inner region of a coadd patch "
                      "and is in the inner region of a coadd tract "
                      "and is not \"detected\" in a pseudo-filter (see config.pseudoFilterList)",
            {code}
            that is very useful for culling catalogs of duplicate (patch/tract overlap), non-deblended parent sources ({{deblend_nChild>0}}, and sky objects. No equivalent flag currently exists at the visit /single frame measurement level, so this ticket is to add such a flag. Currently, the only two conditions to be added to flag undesirable sources are:
             {{deblend_nChild == 0}}
             {{sky_source is False}}
            yusra Yusra AlSayyad made changes -
            Sprint DRP F20-1 (June) [ 1030 ] DRP F20-1 (June), DRP F20-2 (July) [ 1030, 1036 ]
            lskelvin Lee Kelvin made changes -
            Reviewers Meredith Rawls [ mrawls ]
            Status In Progress [ 3 ] In Review [ 10004 ]
            mrawls Meredith Rawls made changes -
            Status In Review [ 10004 ] Reviewed [ 10101 ]
            lskelvin Lee Kelvin made changes -
            Resolution Done [ 10000 ]
            Status Reviewed [ 10101 ] Done [ 10002 ]
            lskelvin Lee Kelvin made changes -
            Story Points 12
            lskelvin Lee Kelvin made changes -
            Link This issue relates to DM-26438 [ DM-26438 ]
            lskelvin Lee Kelvin made changes -
            Story Points 12 9
            lskelvin Lee Kelvin made changes -
            Description The coadd level catalogs include a flag:
            {code:python}"detect_isPrimary", type="Flag",
             doc="true if source has no children and is in the inner region of a coadd patch "
                      "and is in the inner region of a coadd tract "
                      "and is not \"detected\" in a pseudo-filter (see config.pseudoFilterList)",
            {code}
            that is very useful for culling catalogs of duplicate (patch/tract overlap), non-deblended parent sources ({{deblend_nChild>0}}, and sky objects. No equivalent flag currently exists at the visit /single frame measurement level, so this ticket is to add such a flag. Currently, the only two conditions to be added to flag undesirable sources are:
             {{deblend_nChild == 0}}
             {{sky_source is False}}
            The coadd level catalogs include a flag:
            {code:python}"detect_isPrimary", type="Flag",
             doc="true if source has no children and is in the inner region of a coadd patch "
                      "and is in the inner region of a coadd tract "
                      "and is not \"detected\" in a pseudo-filter (see config.pseudoFilterList)",
            {code}
            that is very useful for culling catalogs of duplicate (patch/tract overlap), non-deblended parent sources ({{deblend_nChild>0}}, and sky objects. No equivalent flag currently exists at the visit /single frame measurement level, so this ticket is to add such a flag. Currently, the only two conditions to be added to flag undesirable sources are:
             {{deblend_nChild == 0}}
             {{sky_source is False}}

            A community post describing this feature may be found here: https://community.lsst.org/t/primary-source-flag-for-single-frame-processing/4425

              People

              Assignee:
              lskelvin Lee Kelvin
              Reporter:
              lauren Lauren MacArthur
              Reviewers:
              Meredith Rawls
              Watchers:
              Jim Bosch, Lauren MacArthur, Lee Kelvin, Meredith Rawls, Yusra AlSayyad
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: