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

Port all metrics executed as library functions to new framework

    XMLWordPrintable

    Details

      Description

      All metrics currently computed as part of this new framework are called as library functions from validate_drp. This was done to not duplicate work during development of the new framework. These should be ported to the new framework

        Attachments

          Issue Links

            Activity

            Hide
            kbechtol Keith Bechtol added a comment - - edited

            Find the functions that need to be ported

            $ grep -rnw 'python' -e 'lsst.validate.drp' | grep -v "Binary"
            python/metric_pipeline_utils/phot_repeat.py:4:from lsst.validate.drp.repeatability import calcPhotRepeat
            python/metric_pipeline_utils/separations.py:5:from lsst.validate.drp.util import (averageRaFromCat, averageDecFromCat,
            python/metric_pipeline_tasks/MatchedCatalogMeasureTasks.py:10:from lsst.validate.drp.calcsrd.tex import (correlation_function_ellipticity_from_matches,

             

            from lsst.validate.drp.repeatability import calcPhotRepeat

            https://github.com/lsst/validate_drp/blob/master/python/lsst/validate/drp/repeatability.py

            Also need calcPhotRepeatSample, computeWidths, getRandomDiffRmsInMmags, getRandomDiff

             

             

            from lsst.validate.drp.util import (averageRaFromCat, averageDecFromCat, sphDist)

            https://github.com/lsst/validate_drp/blob/master/python/lsst/validate/drp/util.py

            Also need averageRaDecFromCat

             

             

            from lsst.validate.drp.calcsrd.tex import (correlation_function_ellipticity_from_matches, select_bin_from_corr)

            https://github.com/lsst/validate_drp/blob/master/python/lsst/validate/drp/calcsrd/tex.py

            from ..util import (averageRaFromCat, averageDecFromCat, medianEllipticity1ResidualsFromCat, medianEllipticity2ResidualsFromCat)

            Also need correlation_function_ellipticity, averageRaDec

             

            Show
            kbechtol Keith Bechtol added a comment - - edited Find the functions that need to be ported $ grep -rnw 'python' -e 'lsst.validate.drp' | grep -v "Binary" python/metric_pipeline_utils/phot_repeat.py:4:from lsst.validate.drp.repeatability import calcPhotRepeat python/metric_pipeline_utils/separations.py:5:from lsst.validate.drp.util import (averageRaFromCat, averageDecFromCat, python/metric_pipeline_tasks/MatchedCatalogMeasureTasks.py:10:from lsst.validate.drp.calcsrd.tex import (correlation_function_ellipticity_from_matches,   from lsst.validate.drp.repeatability import calcPhotRepeat https://github.com/lsst/validate_drp/blob/master/python/lsst/validate/drp/repeatability.py Also need calcPhotRepeatSample, computeWidths, getRandomDiffRmsInMmags, getRandomDiff     from lsst.validate.drp.util import (averageRaFromCat, averageDecFromCat, sphDist) https://github.com/lsst/validate_drp/blob/master/python/lsst/validate/drp/util.py Also need averageRaDecFromCat     from lsst.validate.drp.calcsrd.tex import (correlation_function_ellipticity_from_matches, select_bin_from_corr) https://github.com/lsst/validate_drp/blob/master/python/lsst/validate/drp/calcsrd/tex.py from ..util import (averageRaFromCat, averageDecFromCat, medianEllipticity1ResidualsFromCat, medianEllipticity2ResidualsFromCat) Also need correlation_function_ellipticity, averageRaDec  

              People

              Assignee:
              kbechtol Keith Bechtol
              Reporter:
              lguy Leanne Guy
              Reviewers:
              Simon Krughoff
              Watchers:
              Keith Bechtol, Leanne Guy, Simon Krughoff
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.