plotting

Deprecated since version 0.1.3: Use QRules, AmpForm, and TensorWaves instead.

import pycompwa.plotting

Plotting module.

Deprecated since version Will: be migrated to pandas.DataFrame.

class Dimension(field_name, binary_operator=None, secondary_field_name=None)[source]

Bases: object

class Histogram(dimensions, bin_edges, bin_contents, bin_errors=None, **mpl_kwargs)[source]

Bases: object

class PlotData(data_record=array([], dtype=float64), fit_result_data_record=array([], dtype=float64))[source]

Bases: object

change_theta_to_cosine(datarecord, column_name, use_cosine_theta)[source]
chisquare(values, errors, expected)[source]
chisquare_test(histogram, func)[source]
correct_phi_range(phi)[source]
create_axis_title(dimension, plot_data)[source]
create_data_values(datarecord, dimensions, use_cosine_theta)[source]
create_nprecord(column_names, data_array)[source]
function_to_histogram(func, histogram)[source]
integrate_row_of_bins(func, integration_ranges)[source]
make_binned_distributions(plot_data, dimensions_list, number_of_bins=50, use_cosine_theta=True)[source]
make_comparison_plot_1d(plot_data, column_names, **kwargs)[source]
make_dalitz_plots(plot_data, var_names, **kwargs)[source]
make_difference_plot_2d(plot_data, var_names, **kwargs)[source]
make_histogram(dimensions, values, weights, bins=50, **kwargs)[source]
plot_distribution_2d(histogram, is_difference=False, zaxis_label=None, **kwargs)[source]
plot_distributions_1d(histograms, use_bin_centers=True, **kwargs)[source]
plot_histogram_difference_2d(histograms, **kwargs)[source]
replace_particle_ids_with_name(column_name, plot_data)[source]
scale_to_other_histogram(histogram, histogram_reference)[source]

Submodules and Subpackages