pipeline.hifa.heuristics.snr

Functions

compute_bpsolint(ms, spwlist, spw_dict, …)

Compute the optimal bandpass frequency solution intervals given the spw list and the spw dictionary.

compute_gaincalsnr(ms, spwlist, spw_dict, …)

Compute the gain to signal to noise given the spw list and the spw dictionary.

estimate_bpsolint(ms, fieldlist, intent, …)

Estimate the optimal solint for the selected bandpass data and return the solution in the form of a dictionary.

estimate_gaincalsnr(ms, fieldlist, intent, …)

Estimate the signal to noise of the phase measurements and return it in the form of a dictionary.

get_fluxinfo(ms, fieldnamelist, intent, …)

Retrieve the fluxes of selected sources from the pipeline context as a function of spw id and return the results in a dictinary indexed by spw id.

get_mediantemp(ms, tsys_spwlist, scan_list)

Get median Tsys, Trx, or Tsky temperatures as a function of spw and return a dictionary

get_obsinfo(ms, fieldnamelist, intent, spwidlist)

Get the observing information as a function of spw id and return a dictionary.

get_tsysinfo(ms, fieldnamelist, intent, …)

Get the tsys information as functions of spw and return a dictionary.

join_dicts(spwlist, tsys_dict, flux_dict, …)

Combine all the input dictionaries and output the spw dictionary.

make_tsyslists(spwlist, tsysdict)

Utility routine for constructing the tsys spw list and the observing scan list from the tysdict produced by get_tsysinfo.

nextHighestDivisibleInt(n, d)

Checks whether an integer is evenly divisible by a second integer, and if not, finds the next higher integer that is.