:py:mod:`sefd_spectrum` ======================= .. py:module:: sefd_spectrum Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: sefd_spectrum.arg_init sefd_spectrum.fitfunc2 sefd_spectrum.errfunc2 sefd_spectrum.linfunc sefd_spectrum.linerr sefd_spectrum.fit_g sefd_spectrum.find_mode sefd_spectrum.bsect sefd_spectrum.gather_data sefd_spectrum.plot_all sefd_spectrum.plot_end sefd_spectrum.main Attributes ~~~~~~~~~~ .. autoapisummary:: sefd_spectrum.big sefd_spectrum.explanation sefd_spectrum.funcs sefd_spectrum.fmt .. py:data:: big :value: 1e+20 .. py:data:: explanation :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """ A single beam is chosen for each given SBID, and SEFD vs frequency is plotted separately for each antenna. The beam chosen is the closest to the boresight (footprint dependent). The -b option can be used to force the spectrum for a particular beam to be plotted. """ .. raw:: html
.. py:function:: arg_init() .. py:function:: fitfunc2(p, x) .. py:function:: errfunc2(p, x, y) .. py:function:: linfunc(p, x) .. py:function:: linerr(p, x, y) .. py:data:: funcs .. py:function:: fit_g(x, y, p0, fkey='gau') .. py:function:: find_mode(data) .. py:function:: bsect(x, z) Find position in array x of value z; assumes x sorted in increasing order. Returns j such that x[j] <= z < x[j+1] .. py:function:: gather_data(obj, delta_freq=4.0, override_beam=-1) .. py:function:: plot_all(all_data, label) .. py:function:: plot_end(plot_file) .. py:function:: main() .. py:data:: fmt :value: '%(asctime)s %(levelname)s %(name)s %(message)s'