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

Add updateSourceCoords and updateRefCentroids to afw.table

    XMLWordPrintable

Details

    • RFC
    • Status: Implemented
    • Resolution: Done
    • DM
    • 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

            Yes plz!

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

            Resolved as stated.

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

            People

              rowen Russell Owen
              rowen Russell Owen
              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.