this is for holding javascript data
Jamie Budynkiewicz edited User Models and Templates.tex
about 10 years ago
Commit id: b11d1ceeb7b1eaca1d2d9acf58f0fd1e768754e2
deletions | additions
diff --git a/User Models and Templates.tex b/User Models and Templates.tex
index f3ddfe6..38a2a0d 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$, in units of Angstroms. For example, a model file for a modified black body
\(B_{\nu}(T)
\left(\frac{\nu}{\nu_{0}}\right)^{\beta}\) \left(\nu/\nu_{0}\right)^{\beta}\)
could be defined as in \textbf{code snipet} \ref{lst:user_model_example}. User models can be arbitrarily combined with other custom or preset model functions.
\subsection{Table Models}