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

Activate CModel prior fix

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: obs_subaru
    • Labels:
    • Templates:
    • Team:
      Data Release Production

      Description

      DM-9795 added a fix for a CModel prior bug, but left the fix deactivated pending verification on a larger amount of data. Once verification is complete, activate the fix permanently.

      Here's the code to activate the fix, from Jim Bosch, and relevant for the CmdLineTask scripts or the multibandDriver:

      def resetCModelWeights(cfg):
          cfg.measurement.plugins["modelfit_CModel"].initial.weightsMultiplier = 1.
          cfg.measurement.plugins["modelfit_CModel"].exp.weightsMultiplier = 1.0
          cfg.measurement.plugins["modelfit_CModel"].dev.weightsMultiplier = 1.0
       
      try:
          resetCModelWeights(config)
      except AttributeError:
          resetCModelWeights(config.measureCoaddSources)
          resetCModelWeights(config.forcedPhotCoadd)
      

        Attachments

        1. color-comparison-density.png
          288 kB
          Jim Bosch
        2. color-comparison-radius.png
          201 kB
          Jim Bosch
        3. kron-comparison-density.png
          309 kB
          Jim Bosch
        4. kron-comparison-radius.png
          405 kB
          Jim Bosch

          Issue Links

            Activity

              People

              • Assignee:
                price Paul Price
                Reporter:
                price Paul Price
                Reviewers:
                Jim Bosch
                Watchers:
                Hsin-Fang Chiang, Jim Bosch, Paul Price
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel