SpectralPulsarAnalysis#

class ptiming_ana.spectral.SpectralPulsarAnalysis(config=None, ref_model=None)#

Bases: object

Methods Summary

create_contour_lines_params()

execute_analysis()

extract_parameters()

fit_statistic_profile_params()

get_covariance_matrix()

get_flux_points([sed_type])

get_predefined_model([spectral_model])

init_settings(configuration_file)

plot_SED([ax, include_best_model, ...])

plot_SED_residuals([include_reference, ...])

plot_excess_counts([index])

plot_fp_likelihood([kwargs_fp, color_fp])

plot_ref_model([ax, ref_spec_model, ...])

plot_residuals([ax, kwargs])

prepare_analysis()

prepare_geometry(reader)

prepare_makers()

run([peak])

set_reference_model([reference_model])

show_fitting_results()

Methods Documentation

create_contour_lines_params()#
execute_analysis()#
extract_parameters()#
fit_statistic_profile_params()#
get_covariance_matrix()#
get_flux_points(sed_type='e2dnde')#
get_predefined_model(spectral_model=None)#
init_settings(configuration_file)#
plot_SED(ax=None, include_best_model=True, include_statistical=True, label_fp='Spectral points', color_fp='black', color_model='blue', kwargs_fp=None, kwargs_best=None, kwargs_best_error=None)#
plot_SED_residuals(include_reference=True, include_best_model=True, include_statistical=True, kwargs_SED=None, kwargs_best=None, kwargs_best_error=None, kwargs_ref=None, label_fp='Spectral points', color_fp='black', color_model='blue', color_ref='red', ref_label='Reference model')#
plot_excess_counts(index=0)#
plot_fp_likelihood(kwargs_fp=None, color_fp='orange')#
plot_ref_model(ax=None, ref_spec_model=None, kwargs_ref=None, ref_label=None, color_ref='red')#
plot_residuals(ax=None, kwargs=None)#
prepare_analysis()#
prepare_geometry(reader)#
prepare_makers()#
run(peak='P1')#
set_reference_model(reference_model=None)#
show_fitting_results()#