\File{(stdin)}{Fri Sep 26 11:45:33 2008}

\PythonNoMath

\PythonDocBlock
\verb""\\ 
\verb"Module for reading and setting parameters in components of an AntennaArray"\\ 
\verb"simulation for purpose of fitting."\\ 

\PythonDocBlockEnd


\I{15}{0}$\K{def}\ \F{flatten\_prms}\,(\V{prms},\V{prm\_list}\Y{=}\Y{[]})\Y{:}$
\DS{16}{1}{%
\verb"Generate list of parameters suitable for passing to fitting"\\ 
\verb"algorithm from heirarchical parameter dictionary 'prms', along"\\ 
\verb"with 'key_list' information for reconstructing such a dictionary from"\\ 
\verb"a list.  'prm_list' is only for recursion."}\vskip 5pt 















\I{36}{0}$\K{def}\ \F{reconstruct\_prms}\,(\V{prm\_list},\V{key\_list})\Y{:}$
\DS{37}{1}{%
\verb"Generate a heirarchical parameter dictionary from parameter"\\ 
\verb"list (prm_list) and 'key_list' information from flatten_prms."}\vskip 5pt 









\I{49}{0}$\K{def}\ \F{print\_params}\,(\V{prms},\V{indent}\Y{=}{}$
\DS{50}{1}{%
\verb"Print nice looking representation of a parameter dictionary."}\vskip 5pt 


























\I{86}{0}$\K{class}\ \F{RadioFixedBody}\,(\V{sim}.\V{RadioFixedBody})\Y{:}$
\DS{87}{1}{%
\verb"Class representing a source at fixed RA,DEC.  Adds get_params() and"\\ 
\verb"set_params() to sim.RadioFixedBody."}\vskip 5pt 
\I{89}{1}$\K{def}\ \F{get\_params}\,(\V{self},\V{prm\_list}\Y{=}\V{None})\Y{:}$
\DS{90}{2}{%
\verb"Return all fitable parameters in a dictionary."}\vskip 5pt 













\I{104}{1}$\K{def}\ \F{set\_params}\,(\V{self},\V{prms})\Y{:}$
\DS{105}{2}{%
\verb"Set all parameters from a dictionary."}\vskip 5pt 
















\I{130}{0}$\K{class}\ \F{RadioSpecial}\,(\V{sim}.\V{RadioSpecial})\Y{:}$
\DS{131}{1}{%
\verb"Class representing moving sources (Sun,Moon,planets). Adds get_params() "\\ 
\verb"and set_params() to sim.RadioSpecial."}\vskip 5pt 
\I{133}{1}$\K{def}\ \F{get\_params}\,(\V{self},\V{prm\_list}\Y{=}\V{None})\Y{:}$
\DS{134}{2}{%
\verb"Return all fitable parameters in a dictionary."}\vskip 5pt 











\I{146}{1}$\K{def}\ \F{set\_params}\,(\V{self},\V{prms})\Y{:}$
\DS{147}{2}{%
\verb"Set all parameters from a dictionary."}\vskip 5pt 












\I{168}{0}$\K{class}\ \F{SrcCatalog}\,(\V{sim}.\V{SrcCatalog})\Y{:}$
\DS{169}{1}{%
\verb"Class for holding a catalog of celestial sources.  Adds get_params()"\\ 
\verb"and set_params() to sim.SrcCatalog."}\vskip 5pt 
\I{171}{1}$\K{def}\ \F{get\_params}\,(\V{self},\V{src\_prms}\Y{=}\{{}$
\DS{172}{2}{%
\verb"Return all fitable parameters in a dictionary."}\vskip 5pt 










\I{183}{1}$\K{def}\ \F{set\_params}\,(\V{self},\V{prms})\Y{:}$
\DS{184}{2}{%
\verb"Set all parameters from a dictionary."}\vskip 5pt 



\I{195}{0}$\K{class}\ \F{BeamFlat}\,(\V{sim}.\V{BeamFlat})\Y{:}$
\DS{196}{1}{%
\verb"Representation of a flat (gain=1) antenna beam pattern."}\vskip 5pt 
\I{197}{1}$\K{def}\ \F{get\_params}\,(\V{self},\V{prm\_list}\Y{=}\V{None})\Y{:}$

\I{199}{1}$\K{def}\ \F{set\_params}\,(\V{self},\V{prms})\Y{:}$

\I{202}{0}$\K{class}\ \F{Beam2DGaussian}\,(\V{sim}.\V{Beam2DGaussian})\Y{:}$
\DS{203}{1}{%
\verb"Representation of a 2D Gaussian beam pattern, with default setting for "\\ 
\verb"a flat beam."}\vskip 5pt 
\I{205}{1}$\K{def}\ \F{get\_params}\,(\V{self},\V{prm\_list}\Y{=}\V{None})\Y{:}$
\DS{206}{2}{%
\verb"Return all fitable parameters in a dictionary."}\vskip 5pt 







\I{214}{1}$\K{def}\ \F{set\_params}\,(\V{self},\V{prms})\Y{:}$
\DS{215}{2}{%
\verb"Set all parameters from a dictionary."}\vskip 5pt 






\I{223}{0}$\K{class}\ \F{BeamPolynomial}\,(\V{sim}.\V{BeamPolynomial})\Y{:}$
\DS{224}{1}{%
\verb"Representation of a gaussian beam model whose width varies with azimuth"\\ 
\verb"angle and with frequency."}\vskip 5pt 
\I{226}{1}$\K{def}\ \F{get\_params}\,(\V{self},\V{prm\_list}\Y{=}\V{None})\Y{:}$
\DS{227}{2}{%
\verb"Return all fitable parameters in a dictionary."}\vskip 5pt 







\I{235}{1}$\K{def}\ \F{set\_params}\,(\V{self},\V{prms})\Y{:}$
\DS{236}{2}{%
\verb"Set all parameters from a dictionary."}\vskip 5pt 


\I{240}{0}$\K{class}\ \F{BeamAlm}\,(\V{sim}.\V{BeamAlm})\Y{:}$
\DS{241}{1}{%
\verb"Representation of a beam model where each pointing has a response"\\ 
\verb"defined as a polynomial in frequency, and the spatial distributions of "\\ 
\verb"these coefficients decomposed into spherical harmonics."}\vskip 5pt 
\I{244}{1}$\K{def}\ \F{get\_params}\,(\V{self},\V{prm\_list}\Y{=}\Y{[]})\Y{:}$
\DS{245}{2}{%
\verb"Return all fitable parameters in a dictionary."}\vskip 5pt 











\I{257}{1}$\K{def}\ \F{set\_params}\,(\V{self},\V{prms})\Y{:}$
\DS{258}{2}{%
\verb"Set all parameters from a dictionary."}\vskip 5pt 







\I{273}{0}$\K{class}\ \F{Antenna}\,(\V{sim}.\V{Antenna})\Y{:}$
\DS{274}{1}{%
\verb"Representation of physical location and beam pattern of individual "\\ 
\verb"antenna in array.  Adds get_params() and set_params() to sim.Antenna."}\vskip 5pt 
\I{276}{1}$\K{def}\ \F{get\_params}\,(\V{self},\V{prm\_list}\Y{=}\V{None})\Y{:}$
\DS{277}{2}{%
\verb"Return all fitable parameters in a dictionary."}\vskip 5pt 












\I{290}{1}$\K{def}\ \F{set\_params}\,(\V{self},\V{prms})\Y{:}$
\DS{291}{2}{%
\verb"Set all parameters from a dictionary."}\vskip 5pt 


















\I{318}{0}$\K{class}\ \F{AntennaArray}\,(\V{sim}.\V{AntennaArray})\Y{:}$
\DS{319}{1}{%
\verb"Representation of location and time of observation, and response of"\\ 
\verb"array of antennas as function of pointing and frequency.  Adds get_params()"\\ 
\verb"and set_params() to sim.AntennaArray."}\vskip 5pt 
\I{322}{1}$\K{def}\ \F{get\_params}\,(\V{self},\V{ant\_prms}\Y{=}\{{}$
\DS{323}{2}{%
\verb"Return all fitable parameters in a dictionary."}\vskip 5pt 










\I{334}{1}$\K{def}\ \F{set\_params}\,(\V{self},\V{prms})\Y{:}$
\DS{335}{2}{%
\verb"Set all parameters from a dictionary."}\vskip 5pt 




