LSSTDESC / Monitor

Extract light curves for time-variable cosmological objects
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Light curve visualization interface #6

Open drphilmarshall opened 8 years ago

drphilmarshall commented 8 years ago

@jbkalmbach @rbiswas4

Rahul and I designed an interactive light curve viewer that we think should not be too hard to implement, over in Twinkles issue #40. Here's the whiteboard we drew:

I think we can use @jakevdp 's JSAnimation package to do this - the basic example is already close to what we want in terms of the interactive part, we just need to replace the plot with our light curve data and highlight effect.

drphilmarshall commented 8 years ago

I guess the Simplest Possible ( #1 )version of this is just to make the static plot with no highlighting and no cutout image, and use sncosmo.plot_lc to do it

linan7788626 commented 8 years ago

Hi,

I wrote a small piece of code to implement the visualization of the light curve as @drphilmarshall described in the picture. the screenshot of this app is shown below.

python2.7 example.py

Should you have any questions or suggestions, please feel free to let me know. Thanks, Nan

screen shot 2016-03-07 at 4 27 51 pm