cosmicjellyfish.analysis.fishconsumer#

Functions

add_mathrm

arrays_gaussian

choose_fish_toplot

clamp

Clamp a value between 0 and 255.

customize_barh

display_colors

Display a pie chart of colors with their names and hex codes.

fishtable_to_pandas

Converts a fisher matrix table to pandas DataFrames.

gaussian

hex2rgb

Convert a hexadecimal color code to RGB tuple.

load_Nautilus_chains_from_txt

Load Nautilus chains from a text file.

load_montepython_chains

Load and process multiple MontePython chains.

log_fidu_to_fidu

make_fisher_chain_plot

Overlay paired Fisher forecasts and weighted posterior chains.

make_triangle_plot

Create a triangle plot from Fisher matrices and/or MCMC chains using ChainConsumer.

n_sigmas

parse_log_param

Extract truth values from MontePython log.param file.

perc_to_abs

plot_chain_summary

Create a summary plot of MCMC chains using ChainConsumer.

prepare_fishers

prepare_settings_plot

replace_latex_name

replace_latex_style

rgb2hex

Convert an RGB tuple to a hexadecimal color code.

sigma_fidu

Classes

FishConsumer

Convenience wrapper that exposes the fishconsumer helpers as instance methods.