Uploaded image for project: 'Request For Comments'
  1. Request For Comments
  2. RFC-197

Add updateSourceCoords and updateRefCentroids to afw.table

    XMLWordPrintable

    Details

    • Type: RFC
    • Status: Implemented
    • Resolution: Done
    • Component/s: DM
    • Labels:
      None

      Description

      updateSourceCoords and updateRefCentroids are presently static methods on lsst.meas.astrom.FitTanSipWcsTask. Given a WCS and a catalog, they update the appropriate field. They are generally useful and I propose to make them free functions that live in lsst.afw.table.

      They are simple, but not completely trivial. By making them readily accessible we increase the odds that source catalogs will have correct coord fields and reference catalogs will have correct x,y centroids, e.g. after a WCS is fit. Furthermore, if it we should ever require extra speed we could code these functions in C++ and all users would benefit.

        Attachments

          Issue Links

            Activity

            Hide
            Parejkoj John Parejko added a comment -

            Yes plz!

            Show
            Parejkoj John Parejko added a comment - Yes plz!
            Hide
            rowen Russell Owen added a comment - - edited

            Resolved as stated.

            Show
            rowen Russell Owen added a comment - - edited Resolved as stated.

              People

              Assignee:
              rowen Russell Owen
              Reporter:
              rowen Russell Owen
              Watchers:
              John Parejko, John Swinbank, Russell Owen, Xiuqin Wu [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Planned End:

                  Jenkins

                  No builds found.