gwpopulation_pipe.post_plots.spin_orientation_spectrum_plot

spin_orientation_spectrum_plot(results, args, rate=False, save=True)[source]

Make the posterior spin orientation plot given either one or multiple result objects.

Parameters:
results: [list, `bilby.core.result.Result`]

Bilby result(s) to make the spectra from.

args: ArgumentParser

The arguments describing the model.

rate: bool

Whether to scale the spectra by the inferred rate.

save: bool

Whether to save the result to file.

Returns:
[dict, matplotlib.pyplot.Figure]

If save the data behind the plot is returned as a dictionary. Else, the figure handle is returned.