qumas.MicrolensingMaps.plots module

map_plot(mag_map_2d, cmap='RdYlBu', vmin=-1.5, vmax=0.5, cbar_side='right', remove_labels=True, cbar_label='$-2.5 \\, \\log(\\mu/\\langle \\mu \\rangle)$', save='', **kwargs)[source]
map_pmf_plot(mag_map, label='', label_color_bar='$-2.5 \\, \\log(\\mu/\\langle \\mu \\rangle)$', vmin=-1.5, vmax=0.5, text_right_plot='Right plot', bins_limit=3, num_bins=100, cmap='RdYlBu', **kwargs)[source]
compare_maps_plot(mag_map_left, mag_map_right, vmin=-1.5, vmax=0.5, label_color_bar='$-2.5 \\, \\log(\\mu/\\langle \\mu \\rangle)$', cmap='RdYlBu', **kwargs)[source]
The code assume that the two maps are normalize but if this is not the case you can change the label_color_bar
Args:

mag_map_left (_type_): _description_ mag_map_right (_type_): _description_ text_left_plot (str, optional): _description_. Defaults to “Left plot”. text_right_plot (str, optional): _description_. Defaults to “Right plot”. vmin (float, optional): _description_. Defaults to -1.5. vmax (float, optional): _description_. Defaults to 0.5. label_color_bar (regexp, optional): _description_. Defaults to r”$-2.5 , log(mu/langle mu

angle)$”.

RdYlBu_r or RdYlBu

compare_maps_pmf(mag_map_left, mag_map_right, vmin=-1.5, vmax=0.5, label_color_bar='$-2.5 \\, \\log(\\mu/\\langle \\mu \\rangle)$', bins_limit=3, num_bins=100, cmap='RdYlBu', **kwargs)[source]
The code assume that the two maps are normalize but if this is not the case you can change the label_color_bar
Args:

mag_map_left (_type_): _description_ mag_map_right (_type_): _description_ text_left_plot (str, optional): _description_. Defaults to “Left plot”. text_right_plot (str, optional): _description_. Defaults to “Right plot”. vmin (float, optional): _description_. Defaults to -1.5. vmax (float, optional): _description_. Defaults to 0.5. label_color_bar (regexp, optional): _description_. Defaults to r”$-2.5 , log(mu/langle mu

angle)$”.

‘RdYlBu_r’ or ‘RdYlBu_r’