\begin{Verbatim}[commandchars=\\\{\}]
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{exp\PYGZus{}freq\PYGZus{}table} \PYG{o}{=} \PYG{n}{SubsMat}\PYG{o}{.}\PYG{n}{\PYGZus{}exp\PYGZus{}freq\PYGZus{}table\PYGZus{}from\PYGZus{}obs\PYGZus{}freq}\PYG{p}{(}\PYG{n}{OFM}\PYG{p}{)}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{EFM} \PYG{o}{=} \PYG{n}{SubsMat}\PYG{o}{.}\PYG{n}{\PYGZus{}build\PYGZus{}exp\PYGZus{}freq\PYGZus{}mat}\PYG{p}{(}\PYG{n}{OFM}\PYG{p}{,} \PYG{n}{exp\PYGZus{}freq\PYGZus{}table}\PYG{p}{)}
\end{Verbatim}
