Grouping summary statistics and time series for interactive viewing

Hi,

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?

Thanks,

Simon Walker

Hi Simon,

I'm not sure if you got a reply to this.

You may find the new server a good fit for your needs, and will mean you
don't have to write and JS.

If you did want to keep everything client side, I understand your
challenges about different shapes of data that ultimately relate to each
other, but I don't think that it should be an issue.

You would have one(or more) data sources to power your summary
statistics box and one(or more) data sources powering your time series
plot. You can just write a small piece of JS that says when x is
selected in my time series, mark y as selected in my summary statistics
data source.

Sincerely,

Sarah Bird

···

On 12/18/15 1:32 AM, Simon Walker wrote:

Hi,

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?

Thanks,
Simon Walker

--
You received this message because you are subscribed to the Google
Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/a/continuum.io/d/msgid/bokeh/c2c7503c-2d1a-4a2b-ade0-1c85b37cf4b0%40continuum.io
<https://groups.google.com/a/continuum.io/d/msgid/bokeh/c2c7503c-2d1a-4a2b-ade0-1c85b37cf4b0%40continuum.io?utm_medium=email&utm_source=footer&gt;\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.