I’m building an interactive tool for visualising some astronomy data. We observe a series of stars such that each star is a time series. We are interested in how precisely we measure the brightness of these stars so we compute the noise level and mean brightness for each object.
The tool I’m thinking about will have a main plot where the summary statistics are shown for each object, and the user can click or select objects in this panel to show the time series in another plot.
I’ve read (some of) the documentation for linking plots using CustomJS but typically the data fits into a DataFrame type store (ColumnDataSource) where the number of entries is the same for each type of measurement. My data does not fit with this sort of scheme, where the summary statistics are one point per star (typically tens of thousands) and the time series plots are one point per object per time value.
Is there a way I can achieve this interactive tool? Perhaps my understanding of custom JS callbacks is a little lacking. Ideally the time series data should be read from an external file on disc as there is usually quite a lot of data so probably python interaction at the callback level is needed. I have seen that there are some features in the upcoming 0.11 release that could be useful perhaps - if so can anybody point me in the right direction?