sefd_spectrum

Module Contents

Functions

arg_init()

fitfunc2(p, x)

errfunc2(p, x, y)

linfunc(p, x)

linerr(p, x, y)

fit_g(x, y, p0[, fkey])

find_mode(data)

bsect(x, z)

Find position in array x of value z; assumes x sorted in increasing order.

gather_data(obj[, delta_freq, override_beam])

plot_all(all_data, label)

plot_end(plot_file)

main()

Attributes

big

explanation

funcs

fmt

sefd_spectrum.big = 1e+20[source]
sefd_spectrum.explanation = Multiline-String[source]
Show Value
"""
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.
"""
sefd_spectrum.arg_init()[source]
sefd_spectrum.fitfunc2(p, x)[source]
sefd_spectrum.errfunc2(p, x, y)[source]
sefd_spectrum.linfunc(p, x)[source]
sefd_spectrum.linerr(p, x, y)[source]
sefd_spectrum.funcs[source]
sefd_spectrum.fit_g(x, y, p0, fkey='gau')[source]
sefd_spectrum.find_mode(data)[source]
sefd_spectrum.bsect(x, z)[source]

Find position in array x of value z; assumes x sorted in increasing order. Returns j such that x[j] <= z < x[j+1]

sefd_spectrum.gather_data(obj, delta_freq=4.0, override_beam=-1)[source]
sefd_spectrum.plot_all(all_data, label)[source]
sefd_spectrum.plot_end(plot_file)[source]
sefd_spectrum.main()[source]
sefd_spectrum.fmt = '%(asctime)s %(levelname)s  %(name)s %(message)s'[source]