diff options
author | Blaise Thompson <blaise@untzag.com> | 2018-03-19 23:19:18 -0500 |
---|---|---|
committer | Blaise Thompson <blaise@untzag.com> | 2018-03-19 23:19:18 -0500 |
commit | 43ed59781e91840fbd3216afcd52084de65ecbda (patch) | |
tree | a949cd5ba8d94548871d649eec075bba2ac62ff3 | |
parent | ac6bde61f90e6684b5b5b79286ebe58d08c09f9c (diff) |
2018-03-10 23:19
l--------- | acquisition/.#chapter.tex | 1 | ||||
-rw-r--r-- | dissertation.cls | 2 | ||||
-rw-r--r-- | dissertation.pdf | bin | 1067876 -> 1251335 bytes | |||
-rw-r--r-- | processing/chapter.tex | 27 | ||||
-rw-r--r-- | processing/quick1D 000.png | bin | 0 -> 141757 bytes | |||
-rw-r--r-- | processing/quick1D.py | 11 | ||||
-rw-r--r-- | processing/quick2D 000.png | bin | 0 -> 104884 bytes | |||
-rw-r--r-- | processing/quick2D.py | 11 |
8 files changed, 52 insertions, 0 deletions
diff --git a/acquisition/.#chapter.tex b/acquisition/.#chapter.tex new file mode 120000 index 0000000..469b4f1 --- /dev/null +++ b/acquisition/.#chapter.tex @@ -0,0 +1 @@ +blaise@rooibos.28849:1520978912
\ No newline at end of file diff --git a/dissertation.cls b/dissertation.cls index 2c6d168..4e8adc8 100644 --- a/dissertation.cls +++ b/dissertation.cls @@ -114,6 +114,8 @@ \newmintinline[python]{python}{bgcolor=bg} +\newcommand{\includepython}[1]{\inputminted[bgcolor=bg]{python}{#1}} + % --- tables -------------------------------------------------------------------------------------- \newenvironment{dtable} diff --git a/dissertation.pdf b/dissertation.pdf Binary files differindex 75b916d..69b73ef 100644 --- a/dissertation.pdf +++ b/dissertation.pdf diff --git a/processing/chapter.tex b/processing/chapter.tex index 0e0e5cb..3225624 100644 --- a/processing/chapter.tex +++ b/processing/chapter.tex @@ -308,12 +308,39 @@ In the future, other libraries (e.g. mayavi), may be incorporated. % \subsubsection{1D}
+\begin{dfigure}
+ \includegraphics[width=0.5\textwidth]{"processing/quick1D 000"}
+ \includepython{"processing/quick1D.py"}
+ \caption[CAPTION TODO]
+ {CAPTION TODO}
+\end{dfigure}
+
\subsubsection{2D}
+\begin{dfigure}
+ \includegraphics[width=0.5\textwidth]{"processing/quick2D 000"}
+ \includepython{"processing/quick2D.py"}
+ \caption[CAPTION TODO]
+ {CAPTION TODO}
+\end{dfigure}
+
\subsection{Specialty} % -------------------------------------------------------------------------
\subsection{Artists API} % -----------------------------------------------------------------------
+The artists sub-package offers a thin wrapper on the default matplotlib object-oriented figure
+creation API. %
+The wrapper allows WrightTools to add the following capabilities on top of matplotlib:
+\begin{ditemize}
+ \item More consistent multi-axes figure layout.
+ \item Ability to plot data objects directly.
+\end{ditemize}
+Each of these is meant to lower the barrier to plotting data. %
+Without going into every detail of matplotlib figure generation capabilities, this section
+introduces the unique strategy that the WrightTools wrapper takes. %
+
+% TODO: finish discussion
+
\subsection{Colormaps} % -------------------------------------------------------------------------
\subsection{Interpolation} % ---------------------------------------------------------------------
diff --git a/processing/quick1D 000.png b/processing/quick1D 000.png Binary files differnew file mode 100644 index 0000000..e6018ff --- /dev/null +++ b/processing/quick1D 000.png diff --git a/processing/quick1D.py b/processing/quick1D.py new file mode 100644 index 0000000..d90d082 --- /dev/null +++ b/processing/quick1D.py @@ -0,0 +1,11 @@ +import os +import WrightTools as wt +from WrightTools import datasets + +here = os.path.abspath(os.path.dirname(__file__)) + +ps = datasets.KENT.LDS821_TRSF +data = wt.data.from_KENT(ps, ignore=['d1', 'd2', 'wm'], verbose=False) + +wt.artists.quick1D(data, 'w1', at={'w2': [1520, 'wn']}, autosave=True, + save_directory=here, fname='quick1D') diff --git a/processing/quick2D 000.png b/processing/quick2D 000.png Binary files differnew file mode 100644 index 0000000..94a8000 --- /dev/null +++ b/processing/quick2D 000.png diff --git a/processing/quick2D.py b/processing/quick2D.py new file mode 100644 index 0000000..332dc75 --- /dev/null +++ b/processing/quick2D.py @@ -0,0 +1,11 @@ +import os +import WrightTools as wt +from WrightTools import datasets + +here = os.path.abspath(os.path.dirname(__file__)) + +ps = datasets.KENT.LDS821_TRSF +data = wt.data.from_KENT(ps, ignore=['d1', 'd2', 'wm'], verbose=False) + +wt.artists.apply_rcparams('publication') +wt.artists.quick2D(data, autosave=True, save_directory=here, fname='quick2D') |