antaress.ANTARESS_corrections.Interference_processing.ANTARESS_wiggle_plots module#

plot_wig_chrom_axis(par_root)[source]#

Wiggle plot : frame

Parameters:

TBD

Returns:

TBD

plot_bin_spec(ax, low_bins, high_bins, val_bins, min_plot, max_plot, dbin_plot, handles, color='goldenrod')[source]#

Wiggle plot : binned spectrum

Plot the binned transmission spectrum of an exposure. We use resample_func() rather than bind.resampling because input tables are not necessarily continuous, and because the calculations here are less generic than those in process_bin_prof()

Parameters:

TBD

Returns:

TBD

plot_screening(ibin2exp_fit, ibin2ord_fit, min_plot, max_plot, gen_dic, Fr_bin_fit, rms, plot_path, fixed_args)[source]#

Wiggle plot : screening

Plot the transmission spectrum of an exposure with the associated periodogram.

Parameters:

TBD

Returns:

TBD

plot_sampling_perio(comp_id, fixed_args, ax, best_freq, src_range, calc_perio, ls, ls_freq, ls_pow, freq_guess, max_pow, fap_max, probas, log=False, fontsize=10, plot_xlab=True, plot_ylab=True, ls_freq_raw=None, ls_pow_raw=None)[source]#

Wiggle plot : periodogram

Plot the sampled wiggle periodogram.

Parameters:

TBD

Returns:

TBD

plot_global_perio(fixed_args, comm_freq_comp, comm_power_comp, nexp, path_fit, color_comps)[source]#

Wiggle plot : global periodogram

Plots wiggle periodogram calculated over all exposures.

Parameters:

TBD

Returns:

TBD

plot_wig_exp_nu_ana(par, n_exp_groups_samp, fixed_args, comp_id, root_par, best_deg_chrompol, iexp_group_samp_list, hyperpar_chrom_fit_all, path_dic)[source]#

Wiggle plot: chromatic analysis

Plots chromatic models over all sampled exposures

Parameters:

TBD

Returns:

TBD

plot_sampling_spec(comp_id, ax, x_range_plot_in, y_range_plot_in, nu_fit, var_plot, nu_plot, mod_HR, mean_wav, mean_nu, fixed_args, fontsize=10, plot_xlab=True, plot_ylab=True)[source]#

Wiggle plot : spectra

Plot transmission spectra in sampled bands.

Parameters:

TBD

Returns:

TBD

plot_wig_glob(params, low_nu_fit, high_nu_fit, nu_fit, flux_fit, err_fit, nu_mod, mod_plot_glob, low_nu_res, high_nu_res, nu_res, flux_res, err_res, fixed_args, min_max_plot, pref_plot, path_sampling_plot, x_range_in, y_range_in, Swig_nu_cen_grid, bin_spec=False, filter_mode=False, legend=True)[source]#

Wiggle plot: full spectrum

Plots full wiggle transmission spectrum (measured and model) before and after correction, with associated periodogram.

Parameters:

TBD

Returns:

TBD

plot_rms_wig(cen_ph_plot, rms_precorr, rms_postcorr, median_err, save_path)[source]#

Wiggle plot: RMS

Plots global RMS of wiggle transmission spectra

Parameters:

TBD

Returns:

TBD