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, gen_dic, inst)[source]#
sub_plot_prof_init(plot_mod, plot_options, inst, data_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)[source]#
sub_plot_prof(plot_options, plot_mod, plot_ext, data_dic, gen_dic, glob_fit_dic, data_prop, coord_dic)[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)[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, 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

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')[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)[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)[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)[source]#
sub_func_bin(bin_val_loc, dic_val, x_min, x_max, y_min, y_max, plot_options)[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]#