this is for holding javascript data
X. Michalet edited Concepts.tex
about 8 years ago
Commit id: 6baa62e0edd38d65bf2e81b27e350bbb7991fecd
deletions | additions
diff --git a/Concepts.tex b/Concepts.tex
index c8520b3..d0b86a0 100644
--- a/Concepts.tex
+++ b/Concepts.tex
...
dplot(d, timetrace)
\end{lstlisting}
The function \verb|dplot| is the generic plot
function function, which creates figure
and handles details common to all the plotting functions (for
instance instance, the title).
\verb|d| is the \verb|Data| variable and \verb|timetrace| is the actual plot
function function, which operates on a single channel. In
multi-spot measurements multispot measurements,
\verb|dplot| creates one subplot for each spot and calls \verb|timetrace| for
each channel.
...
the interactive backend with the command \verb|%matplotlib notebook|.
Another option is displaying figures in a new standalone window
using a desktop graphical library such as QT4.
In this
case case, the command to be used is \verb|%matplotlib qt|.
A few plot
functions functions, such as \verb|timetrace| and
\verb|hist2d_alex| \verb|hist2d_alex|, have interactive features
which require the QT4 backend. As an example, after switching to the QT4 backend
the following command:
...
dplot(ds, hist2d_alex, gui_sel=True)
\end{lstlisting}
The values
that which identify the region are printed in the notebook and can be passed
to the function \verb|select_bursts.ES| to select bursts inside that region
(see section~\ref{sec:burstsel}).