this is for holding javascript data
Jamie Budynkiewicz edited User Models and Templates.tex
about 10 years ago
Commit id: dd1fc40058dc0644e1e012eb4353b272742cea60
deletions | additions
diff --git a/User Models and Templates.tex b/User Models and Templates.tex
index f56d819..c82b432 100644
--- a/User Models and Templates.tex
+++ b/User Models and Templates.tex
...
\subsection{Custom Python Functions}
Iris accepts custom models written as Python functions saved in *.py files. Any number of functions can be written in the file. The function must take two parameters: the first is an iterable of the model parameters, the second is a placeholder for the spectral axis, 'x.' One caveat is that the spectral data (x) must be in terms of Angstroms. For example, a model file for a modified black body
\[B_{\nu}(T) (\nu/\nu_{0})^{\beta}\] \(B_{\nu}(T) \left(\frac{\nu}{\nu_{0}}\right)^{\beta}\)
could be defined as in Figure \ref{fig:user_model_example}. User models can be arbitrarily combined with other custom or preset model functions.
\subsection{Table Models}