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

Jointcal PhotoCalib returns negative calibrations

    Details

    • Templates:
    • Story Points:
      8
    • Sprint:
      AP F18-5
    • Team:
      Alert Production

      Description

      import lsst.daf.persistence as dafPersist
      tract = 9813
      visit = 23692
      ccd = 62
      root = '/datasets/hsc/repo/rerun/RC/w_2018_41/DM-16011-jointcal'
      butler = dafPersist.Butler(root)
      photoCalib = butler.get('jointcal_photoCalib', visit=visit, ccd=ccd, tract=tract)
      

      >>> photoCalib.getInstFluxMag0()
      -278609934862735.6
      >>> butler.get('jointcal_photoCalib_filename', visit=visit, ccd=ccd, tract=tract.getId())
      ['/datasets/hsc/repo/rerun/RC/w_2018_41/DM-16011-jointcal/jointcal-results/HSC-R/9813/jointcal_photoCalib-0023692-062.fits']
      >>> str(photoCalib)
      'TransformBoundedField on Box2I(Point2I(0, 0), Extent2I(2048, 4176)) with mean: -3.59376e-15 err: 2.98536e-17'
      >>> photoCalib.instFluxToMaggies(100)
      -3.589247456278528e-13
      >>> photoCalib.instFluxToMaggies(100, lsst.geom.Point2D(0,0))
      3.9565953264617065e-12
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Parejkoj John Parejko
                Reporter:
                yusra Yusra AlSayyad
                Reviewers:
                Krzysztof Findeisen
                Watchers:
                Jim Bosch, John Parejko, John Swinbank, Krzysztof Findeisen, Sophie Reed, Yusra AlSayyad
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel