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

Plot astrophysical objects and sources from HiTS 2015 processing

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: ap_pipe
    • Labels:
      None
    • Story Points:
      4
    • Epic Link:
    • Sprint:
      AP S19-2
    • Team:
      Alert Production

      Description

      It wound up being out-of-scope in DM-14762 to exclude edges (and any other bad/flagged CCD regions) from the object/source plots I made while completing that ticket. It is possible to do now by digging into the diaSrc catalogs, but that will be slow, so we may be better off waiting for the association database to include xy pixel information for sources.

        Attachments

          Issue Links

            Activity

            Hide
            mrawls Meredith Rawls added a comment -

            During the course of DM-16732, I wrote a lot of poster-adjacent code to essentially make the plots described in this ticket. It all resides in a notebook which should live in the ap_pipe-notebooks repo for posterity. Note that DM-17259 will extend the code in this notebook to a more reusable format for future ap_pipe reruns.

            Plots and features included in the notebook on this ticket are:

            • a histogram of number of sources per object, for "all" objects and also a "good" object subset (unflagged and composed of at least 15 sources)
            • all the "good" objects in the hits2015 dataset plotted on the sky, with the number of sources represented by point color and size
            • several examples of plotting cutouts for a source at a given location on the sky (ra, dec) - this includes processed science image cutouts, a reference template image cutout, and image difference cutouts
            • basic light curve plots, including the ability to choose between a difference flux light curve or a total flux light curve
            • a supernova in the hits2015 dataset
            • several variable stars in the hits2015 dataset
            • an initial look at how many of the DIASources have really weird/ugly morphologies
            • an initial look at how the various flux measurements seem to have correlated systematic errors
            Show
            mrawls Meredith Rawls added a comment - During the course of DM-16732 , I wrote a lot of poster-adjacent code to essentially make the plots described in this ticket. It all resides in a notebook which should live in the ap_pipe-notebooks repo for posterity. Note that DM-17259 will extend the code in this notebook to a more reusable format for future ap_pipe reruns. Plots and features included in the notebook on this ticket are: a histogram of number of sources per object, for "all" objects and also a "good" object subset (unflagged and composed of at least 15 sources) all the "good" objects in the hits2015 dataset plotted on the sky, with the number of sources represented by point color and size several examples of plotting cutouts for a source at a given location on the sky (ra, dec) - this includes processed science image cutouts, a reference template image cutout, and image difference cutouts basic light curve plots, including the ability to choose between a difference flux light curve or a total flux light curve a supernova in the hits2015 dataset several variable stars in the hits2015 dataset an initial look at how many of the DIASources have really weird/ugly morphologies an initial look at how the various flux measurements seem to have correlated systematic errors
            Hide
            mrawls Meredith Rawls added a comment -

            Eric Bellm, would you please review this? I think a quick look at the notebook and agreeing it includes what I've said it has should be sufficient.

            Show
            mrawls Meredith Rawls added a comment - Eric Bellm , would you please review this? I think a quick look at the notebook and agreeing it includes what I've said it has should be sufficient.
            Hide
            ebellm Eric Bellm added a comment -

            Meredith Rawls this looks good overall (although the scope of the original ticket is a bit hard to parse).

            I found one issue, though: the addTotFlux argument to plot_lightcurves is not right. totFlux is a forced measurement on the visit image, so it should be plotted directly, not added to the difference flux.

            Related to this, I'd be curious if psFlux and apFlux are regularly negative for variable stars (as we expect them to be). I think the difference fluxes should be negative any time flag_negative is set by meas_algorithms/detect.py, but it would be worth verifying this.

            Show
            ebellm Eric Bellm added a comment - Meredith Rawls this looks good overall (although the scope of the original ticket is a bit hard to parse). I found one issue, though: the addTotFlux argument to plot_lightcurves is not right. totFlux is a forced measurement on the visit image, so it should be plotted directly, not added to the difference flux. Related to this, I'd be curious if psFlux and apFlux are regularly negative for variable stars (as we expect them to be). I think the difference fluxes should be negative any time flag_negative is set by meas_algorithms/detect.py , but it would be worth verifying this.
            Hide
            mrawls Meredith Rawls added a comment -

            OK, thank you for catching that!

            I made a note of this in the notebook and pushed a new version, but am essentially going to leave it as is for posterity and do further analysis elsewhere (e.g., on DM-17259).

            Show
            mrawls Meredith Rawls added a comment - OK, thank you for catching that! I made a note of this in the notebook and pushed a new version, but am essentially going to leave it as is for posterity and do further analysis elsewhere (e.g., on DM-17259 ).

              People

              • Assignee:
                mrawls Meredith Rawls
                Reporter:
                mrawls Meredith Rawls
                Reviewers:
                Eric Bellm
                Watchers:
                Eric Bellm, John Swinbank, Meredith Rawls
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel