auto_selfcal.selfcal_helpers

Contents

auto_selfcal.selfcal_helpers#

Functions#

LSRKfreq_to_chan(msfile, field, spw, ...[, ...])

Identifies the channel(s) corresponding to input LSRK frequencies.

check_image_nterms(fracbw, SNR)

check_mosaic(vislist, target)

check_narrow_window_flagging(...)

check_spectral_gain_gradient(...)

check_spw_widest_in_bb(selfcal_library, vis, spw)

checkmask(imagename)

chi2_spectral_phase_per_soln(per_spw_phase, ...)

collect_listobs_per_vis(vislist)

compare_beams(image1, image2)

create_noise_histogram(imagename)

create_noise_histogram_plots(N_1, N_2, ...)

estimate_SNR(imagename[, maskname, verbose, ...])

estimate_near_field_SNR(imagename[, las, ...])

evaluate_per_spw_gaintables(...)

fetch_scan_times_band_aware(vislist, ...)

fetch_spws(vislist, targets)

fetch_targets(vislist, telescope)

find_matching_spw(vis1, spw1, vis2, ...[, ...])

flag_spectral_lines(vislist, all_targets, ...)

flagchannels_from_contdotdat(vis, target, ...)

Generates a string with the list of lines identified by the cont.dat file from the ALMA pipeline, that need to be flagged.

gaussian_norm(x, mean, sigma)

get_ALMA_band_string(meanfreq)

get_SNR_self(selfcal_library, selfcal_plan, ...)

get_SNR_self_individual(vislist, ...)

get_SNR_self_update(selfcal_library, ...)

get_SNR_self_update_old(selfcal_library, ...)

get_ant_list(vis)

get_bands(vislist, fields, telescope)

get_basebands(observed_bands, vis, band, ...)

get_baseline_dist(vis)

get_desired_width(meanfreq)

get_dr_correction(telescope, dirty_peak, ...)

get_fitspw_dict(vis, target, spwsarray, ...)

Generates a string with the list of lines identified by the cont.dat file from the ALMA pipeline, that need to be flagged.

get_flagged_solns_per_ant(gaintable, vis)

get_flagged_solns_per_ant_from_dict(...)

get_flagged_solns_per_spw(spwlist, gaintable)

get_flagging_baseline(gc_dict_list, spwlist)

get_gaintable_flagging_stats(gc_dict_list, ...)

get_image_parameters(vislist, telescope, ...)

get_intflux(imagename, rms[, maskname, ...])

get_max_uvdist(vislist, bands, ...)

get_mean_freq(vis, spwsarray)

get_min_SNR_spw(snr_per_spw)

get_n_ants(vislist)

get_nearest_wide_bw_spw(selfcal_library, ...)

get_phasecenter(vis, field)

get_reffreq(vislist, field_ids, spwsarray, ...)

get_sensitivity(vislist, selfcal_library[, ...])

get_solints_simple(vislist, scantimesdict, ...)

get_sols_flagged_solns(gaintable)

get_spw_bandwidth(vis, spwsarray_dict, ...)

get_spw_chanavg(vis, widtharray, bwarray, ...)

get_spw_chanwidths(vis, spwarray)

get_spw_eff_bandwidth(vis, target, vislist, ...)

get_spw_map(selfcal_library, target, band, ...)

get_spwnum_refvis(vislist, target, ...[, ...])

get_telescope(vis)

get_uv_range(band, band_properties, vislist)

importdata(vislist, all_targets, telescope)

is_iterable(obj)

largest_prime_factor(n)

make_distance_time_phaseerr_plots(vislist)

parse_contdotdat(contdotdat_file, target)

Parses the cont.dat file that includes line emission automatically identified by the ALMA pipeline.

plot_amp_err(amp_err, snr, gaintable)

plot_ants_flagging_colored(filename, vis, ...)

plot_ants_flagging_colored_from_dict(...)

plot_image(filename, outname[, min_val, ...])

plot_phase_err(phase_err, snr, gaintable)

plot_spectral_amp(per_spw_amp, ...)

plot_spectral_phase(per_spw_phase, ...)

plot_spectral_phase_per_soln(per_spw_phase, ...)

plotcals(source)

rank_refants(vis[, caltable])

remove_modes(selfcal_plan, vis, start_index)

sanitize_string(string)

select_best_gaincal_mode(selfcal_library, ...)

split_to_selfcal_ms(all_targets, vislist, ...)

tclean_wrapper(selfcal_library, imagename, band)

Wrapper for tclean with keywords set to values desired for the Large Program imaging See the CASA 6.1.1 documentation for tclean to get the definitions of all the parameters

test_truncated_scans(ints_per_solint, ...)

triage_calibrators(vis, target, ...[, ...])

unflag_failed_antennas(vis, caltable, ...[, ...])

usermodel_wrapper(selfcal_library, ...[, ...])

version()

version_string()

zero_out_gc_return_dict(gaincal_return)