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

Update fakes insertion code with an option to use fgcm.

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Story Points:
      4
    • Epic Link:
    • Sprint:
      DRP F20-3 (Aug), DRP F20-5 (Oct)
    • Team:
      Data Release Production
    • Urgent?:
      No

      Description

      The rest of the stack now can use fcgm for calibration, the fakes insertion code has fallen behind in these calibration updates. Add a config option that allows the user to specify their preferred calibration type.

        Attachments

          Issue Links

            Activity

            Hide
            lskelvin Lee Kelvin added a comment -

            This ticket replaces the former useUpdatedCalibs config option with two new flags: doApplyExternalSkyWcs and doApplyExternalPhotoCalib. An additional two fields (externalSkyWcsName and externalPhotoCalibName) allow the user to specify the type of sky WCS (currently only one option) and photometric calibration they wish to use. The changes made here are logical, and bring the code in line with updates elsewhere in the stack. From a readability perspective, it would be nice if the config options in the config class were in a more logical order, e.g.: doApplyExternalSkyWcs; externalSkyWcsName; doApplyExternalPhotoCalib; externalPhotoCalibName. Other than that, this looks great, nicely done!

            Show
            lskelvin Lee Kelvin added a comment - This ticket replaces the former useUpdatedCalibs config option with two new flags: doApplyExternalSkyWcs and doApplyExternalPhotoCalib . An additional two fields ( externalSkyWcsName and externalPhotoCalibName ) allow the user to specify the type of sky WCS (currently only one option) and photometric calibration they wish to use. The changes made here are logical, and bring the code in line with updates elsewhere in the stack. From a readability perspective, it would be nice if the config options in the config class were in a more logical order, e.g.: doApplyExternalSkyWcs ; externalSkyWcsName ; doApplyExternalPhotoCalib ; externalPhotoCalibName . Other than that, this looks great, nicely done!
            Hide
            lskelvin Lee Kelvin added a comment -

            This is an example test output I made using this ticket branch for Tract 9813 Patch 5,5. As shown, relative to the vanilla patch, fake sources are being successfully injected using the updated FGCM photometric calibration setup.

            Show
            lskelvin Lee Kelvin added a comment - This is an example test output I made using this ticket branch for Tract 9813 Patch 5,5. As shown, relative to the vanilla patch, fake sources are being successfully injected using the updated FGCM photometric calibration setup.
            Hide
            lskelvin Lee Kelvin added a comment -

            This is an example test output using this ticket branch for Visit 1228. On the whole, the visit looks fine. However, two CCDs (95 and 103 I think) are slightly off when it comes to the difference plot. I don't think this is related to any changes made for this ticket, but good to highlight nonetheless.

            Show
            lskelvin Lee Kelvin added a comment - This is an example test output using this ticket branch for Visit 1228. On the whole, the visit looks fine. However, two CCDs (95 and 103 I think) are slightly off when it comes to the difference plot. I don't think this is related to any changes made for this ticket, but good to highlight nonetheless.
            Hide
            lskelvin Lee Kelvin added a comment -

            Update: reviewed again following further changes. Looks good, but I still recommend re-ordering the config options as mentioned above.

            Show
            lskelvin Lee Kelvin added a comment - Update: reviewed again following further changes. Looks good, but I still recommend re-ordering the config options as mentioned above.

              People

              Assignee:
              sophiereed Sophie Reed
              Reporter:
              sophiereed Sophie Reed
              Reviewers:
              Lee Kelvin
              Watchers:
              Lee Kelvin, Sophie Reed, Yusra AlSayyad
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.