review functionality for light curve visualization

Description

One of the requested design components of the lsst.cst package was:

9. Interactive lightcurve from diaObjectId.

Allow the user to pass a diaObjectId and specify "direct-image" or "difference-image" photometry, and plot the appropriate forced-source multi-band light curve as an interactive image. Clarification: From the ForcedSourceOnDiaObject table, plot one of the two flux types below as a function of time (expTime from the ccdVisit table; requires join) using the standard symbols and colors for LSST filters, with error bars.

  • psfDiffFlux - forced difference-image flux

  • psfFlux - forced direct-image flux

This ticket is to review the current functionality of the in-development lsst.cst package.

Deliverable: Report back to the team lead to say if this functionality exists within the current modules. Create a notebook that demonstrates how.

Stretch goal: If the functionality does exist, could it be improved?

Find helpful instructions for testing/review of lsst.cst in Confluence: https://rubinobs.atlassian.net/wiki/spaces/LSSTOps/pages/45638407/lsst.cst+package

Activity

Show:

Melissa Graham 
December 17, 2024 at 11:14 PM

Review: thanks for doing also the stretch goal on this ticket, and exploring how the existing functionality could be improved. We'll get together to chart a plan forward for limited, specific functionality in 2025. OK to mark this ticket done.

Yumi Choi 
December 17, 2024 at 10:56 PM

I added a quick summary and merged my testing NB for the future record.

Yumi Choi 
December 17, 2024 at 10:55 PM

The functionality does not exist within the current modules. The most relevant function is show_scatter, but it is too generic (which could not be useful the users at all) and does not support plotting errorbars. To plot multi-band light curves with errorbars for a given diaObjectId, I wrote a modified function called `show_scatter_with_errorbar` in my testing NB (stored under ).

Melissa suggested meeting with Jeff (and Leanne) in new year to discuss how we want to move forward with this package development. This ticket is closed for now.

Yumi Choi 
December 16, 2024 at 10:58 PM

I don’t think there is an existing functionality to plot multi-band light curves with error bars. This can be achieved by modifying the ‘show_scatter’ function, but there are a couple of things to be discussed, including an input data table type, hv.overlay legend issue, etc.

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Reviewers

Melissa Graham

Story Points

RubinTeam

End date

Checklist

Created October 16, 2024 at 12:46 AM
Updated December 18, 2024 at 5:03 PM
Resolved December 18, 2024 at 5:03 PM