antaress.ANTARESS_plots.ANTARESS_plots_all module#

ANTARESS_plot_functions(system_param, plot_dic, data_dic, gen_dic, coord_dic, theo_dic, data_prop, glob_fit_dic, mock_dic, nbook_dic, custom_plot_settings)[source]#

Generic plot initialization.

Initializes plots with default, user, and notebook settings.

Parameters:

TBD

Returns:

TBD

get_tell_lines(tell_HITRANS_mol, tell_HITRANS_list, gen_dic, inst)[source]#
sub_plot_prof_init(plot_mod, plot_options, inst, data_dic, gen_dic)[source]#
get_data_path(plot_mod, data_type, inst, vis, data_dic, gen_dic)[source]#
sub_plot_prof_dir(inst, vis, plot_options, data_mode, series, add_txt_path, plot_mod, txt_aligned, data_format, data_type_gen, data_dic, gen_dic, glob_fit_dic, title_name)[source]#
sub_plot_prof_multi(plot_options, sc_fact)[source]#
sub_plot_prof_multi2(plot_options, iexp, all_figs, all_ax, y_range_loc, sc_fact, handles)[source]#
sub_plot_prof_multi3(plot_options, iexp, iord, sc_fact, iexp2plot, all_figs, all_ax, images_to_make_GIF, x_range_loc, y_range_loc, handles)[source]#
sub_plot_prof(plot_options, plot_mod, plot_ext, data_dic, gen_dic, glob_fit_dic, data_prop, coord_dic, plot_dic, system_param)[source]#
sub_plot_prof_frame(plot_options, title_name, rest_frame, data_format, inst, spectral_ref)[source]#
pre_proc_DI_exp(plot_options, inst, vis, maink_list, iexp2plot, iexp_mast_list, data_inst, data_vis, nspec, data_path_dic, idx_sel_ord, nspec_com, cen_bins_com, edge_bins_com, nord_proc, dim_exp_proc, data_list, fixed_args_loc, data_dic, coord_dic, gen_dic, p_best, data_prop)[source]#
plot_idx_ord(plot_options, sp_var, gen_dic, inst, x_range, y_range, plot_id=None)[source]#
end_plot_prof(pl_ref, inst, vis, fig_frame, ax_frame, x_range_frame, y_range_frame, hide_yticks, plot_options, iexp_or, plot_mod, title_name, ref_name, iord, plot_ext, x_title, y_title, path_loc, data_bin, coord_dic, data_format, data_dic, gen_dic, handles_frame, sc_fact10_eff)[source]#
gen_GIF(plot_options, images_to_make_GIF, plot_mod, data_type_gen, inst, iord, path_loc, ref_name, data_dic)[source]#
calc_occ_plot(coord_dic, gen_dic, contact_phases, system_param, plot_dic, data_dic, data_bin, theo_dic_loc, inst, vis, genpar_instvis, param_loc, args, coeff_line, iband=0, par_list=['rv', 'CB_RV', 'mu', 'xp_abs', 'r_proj', 'y_st', 'lat'])[source]#

High-resolution model of planet-occulted regions.

Calculates coordinates of planets and occulted regions in a given visit.

  • the HR phase table is common to all models

  • the coordinates and stellar surface properties calculated here use the nominal system properties given as input of the pipeline, unless otherwise specified

  • in achromatic mode

Parameters:

TBD

Returns:

TBD

trans_wig_mod(plot_options, x_range_loc, iexp, inst, vis, coord_dic, data_dic, data_prop, p_best, fixed_args_loc, ax_loc)[source]#
trans_commons_exp(maink_list, plot_options, col_dic, raw_Fr_all, bin_Fr_all, x_range_frame, y_range_frame, dx_range, data_list, all_ax_frame, disp_dic, isub_exp, iexp, inst, vis, coord_dic, data_dic, data_prop, p_best, fixed_args_loc, lab_txt, disp_ranges, iord)[source]#
trans_mean(maink_list, plot_options, col_dic, raw_Fr_all, bin_Fr_all)[source]#
trans_disp(x_range_loc, y_range_loc, dx_range, maink_list, data_list, plot_options, raw_Fr_all, bin_Fr_all, ax_loc, disp_dic, isub_exp, col_dic, lab_txt, disp_ranges, iord)[source]#
sub_dist_CCFmasks(dist_info, plot_info, plot_options, ax_loc, var, var_thresh, var_thresh_test, prop_type, y_title, range_loc, ax_name, mode='2D', exp=None)[source]#

CCF mask: 1D histogram sub-routine.

Adds 1D distributions of line properties for mask generation to existing plot.

Parameters:

TBD

Returns:

TBD

dist1D_stlines_CCFmasks(dist_info, plot_options, key_plot, plot_ext, data_dic, gen_dic, mode)[source]#

CCF mask: 1D distribution.

Plots 1D distribution of line properties for mask generation.

Parameters:

TBD

Returns:

TBD

dist2D_stlines_CCFmasks(dist_info, plot_options, key_plot, plot_ext, data_dic, gen_dic)[source]#

CCF mask: 2D distribution.

Plots 2D distribution of line properties for mask generation.

Parameters:

TBD

Returns:

TBD

doppler_track_plots(key_track, line_mask, rest_frame, col_loc, cond_track, cond_range, lw_mod, ls_loc, pl_list, theo_HR, line_range, iexp2plot, iexp_range, reverse_2D, data_format, x_range_loc, y_range_loc, coord_vis)[source]#

Orbital and stellar tracks.

Plots the Doppler track (time vs RV or wavelength) of the planet orbital trajectory or transit chord.

Parameters:

TBD

Returns:

TBD

sub_2D_map(plot_mod, save_res_map, plot_options, data_dic, gen_dic, glob_fit_dic, system_param, theo_dic, coord_dic, contact_phases, plot_dic)[source]#

2D map.

Generic function to plot 2D map of flux or flux ratios as a function of time and spectral dimension.

  • it is advised to plot spectral maps as png due to their weight.

Parameters:

TBD

Returns:

None

sub_plot_all_prof(plot_options, plot_mod, plot_ext, data_dic, gen_dic, plot_dic)[source]#
sub_plot_CCF_prop(prop_mode, plot_options, data_mode, gen_dic, data_dic, system_param, coord_dic, contact_phases, plot_dic, theo_dic, data_prop, glob_fit_dic)[source]#
sub_plot_chi2_prop(plot_options, plot_ext, gen_dic)[source]#
sub_plot_DI_trans(plot_options, plot_mod, plot_ext, data_dic, gen_dic, coord_dic, data_prop, plot_dic)[source]#
sub_plot_DI_Intr_binprof(plot_options, plot_ext, data_dic, gen_dic, plot_dic)[source]#
sub_tr_contacts(i_visit, tr_pl_cont, pl_ref, ordi_name, system_param, cond_vert_cont, x_range_loc, y_range_loc, col_contacts, ls_pl_ct, lw_cont, plot_T14, Tcenter_visits, inst, vis, coord_vis, contact_phases)[source]#