bayspec package¶
Subpackages¶
- bayspec.data package
- Submodules
- bayspec.data.data module
DataData.dataData.cfgData.parData.pvaluesData.all_configData.all_paramsData.cfg_infoData.par_infoData.infoData.save()Data.fit_withData.ebinData.ewidthData.nbinData.bin_startData.bin_stopData.tarrData.ngridData.egridData.tgridData.src_efficiencyData.bkg_efficiencyData.alphaData.src_countsData.src_counts_f64Data.src_re_countsData.src_errorsData.src_errors_f64Data.src_re_errorsData.bkg_countsData.bkg_counts_f64Data.bkg_re_countsData.bkg_errorsData.bkg_errors_f64Data.bkg_re_errorsData.rsp_chbinData.rsp_re_chbinData.rsp_chbin_meanData.rsp_re_chbin_meanData.rsp_chbin_widthData.rsp_re_chbin_widthData.rsp_chbin_tarrData.rsp_re_chbin_tarrData.rsp_drmData.rsp_re_drmData.corr_rsp_drmData.corr_rsp_re_drmData.corr_src_efficiencyData.corr_src_efficiency_f64Data.corr_bkg_efficiencyData.corr_bkg_efficiency_f64Data.src_ctsrateData.src_re_ctsrateData.src_ctsrate_errorData.src_re_ctsrate_errorData.src_ctsspecData.src_re_ctsspecData.src_ctsspec_errorData.src_re_ctsspec_errorData.bkg_ctsrateData.bkg_re_ctsrateData.bkg_ctsrate_errorData.bkg_re_ctsrate_errorData.bkg_ctsspecData.bkg_re_ctsspecData.bkg_ctsspec_errorData.bkg_re_ctsspec_errorData.net_ctsrateData.net_re_ctsrateData.net_ctsrate_errorData.net_re_ctsrate_errorData.net_ctsspecData.net_re_ctsspecData.net_ctsspec_errorData.net_re_ctsspec_errorData.npointsData.net_counts_upperlimit()Data.net_ctsrate_upperlimit()Data.deconv_phtspecData.deconv_re_phtspecData.deconv_phtspec_errorData.deconv_re_phtspec_errorData.deconv_flxspecData.deconv_re_flxspecData.deconv_flxspec_errorData.deconv_re_flxspec_errorData.deconv_ergspecData.deconv_re_ergspecData.deconv_ergspec_errorData.deconv_re_ergspec_errorData.exprData.get_obj_name()
DataUnitDataUnit.srcDataUnit.bkgDataUnit.rmfDataUnit.arfDataUnit.rspDataUnit.completenessDataUnit.statDataUnit.notcDataUnit.grpgDataUnit.rebnDataUnit.timeDataUnit.weightDataUnit.cfgDataUnit.parDataUnit.pvaluesDataUnit.infoDataUnit.save()DataUnit.ebinDataUnit.ewidthDataUnit.nbinDataUnit.tarrDataUnit.ngridDataUnit.egridDataUnit.tgridDataUnit.src_efficiencyDataUnit.bkg_efficiencyDataUnit.alphaDataUnit.src_countsDataUnit.src_re_countsDataUnit.src_errorsDataUnit.src_re_errorsDataUnit.bkg_countsDataUnit.bkg_re_countsDataUnit.bkg_errorsDataUnit.bkg_re_errorsDataUnit.rsp_chbinDataUnit.rsp_re_chbinDataUnit.rsp_chbin_meanDataUnit.rsp_re_chbin_meanDataUnit.rsp_chbin_widthDataUnit.rsp_re_chbin_widthDataUnit.rsp_chbin_tarrDataUnit.rsp_re_chbin_tarrDataUnit.rsp_drmDataUnit.rsp_re_drmDataUnit.corr_rsp_drmDataUnit.corr_rsp_re_drmDataUnit.corr_src_efficiencyDataUnit.corr_bkg_efficiencyDataUnit.src_ctsrateDataUnit.src_re_ctsrateDataUnit.src_ctsrate_errorDataUnit.src_re_ctsrate_errorDataUnit.src_ctsspecDataUnit.src_re_ctsspecDataUnit.src_ctsspec_errorDataUnit.src_re_ctsspec_errorDataUnit.bkg_ctsrateDataUnit.bkg_re_ctsrateDataUnit.bkg_ctsrate_errorDataUnit.bkg_re_ctsrate_errorDataUnit.bkg_ctsspecDataUnit.bkg_re_ctsspecDataUnit.bkg_ctsspec_errorDataUnit.bkg_re_ctsspec_errorDataUnit.net_ctsrateDataUnit.net_re_ctsrateDataUnit.net_ctsrate_errorDataUnit.net_re_ctsrate_errorDataUnit.net_ctsspecDataUnit.net_re_ctsspecDataUnit.net_ctsspec_errorDataUnit.net_re_ctsspec_errorDataUnit.npointDataUnit.net_counts_upperlimit()DataUnit.net_ctsrate_upperlimit()DataUnit.nameDataUnit.get_obj_name()
- bayspec.data.response module
- bayspec.data.spectrum module
- Module contents
- bayspec.infer package
- Submodules
- bayspec.infer.infer module
InferInfer.pairsInfer.append()Infer.cdictsInfer.pdictsInfer.cfgInfer.parInfer.pvaluesInfer.foo()Infer.idpidInfer.all_configInfer.all_paramsInfer.link()Infer.unlink()Infer.free_parInfer.free_paramsInfer.free_plabelsInfer.clean_free_plabelsInfer.free_indexed_plabelsInfer.clean_free_indexed_plabelsInfer.free_pvaluesInfer.free_prangesInfer.free_nparamsInfer.cfg_infoInfer.par_infoInfer.notable_par_infoInfer.free_par_infoInfer.save()Infer.data_chbin_meanInfer.data_re_chbin_meanInfer.data_chbin_widthInfer.data_re_chbin_widthInfer.data_ctsrateInfer.data_re_ctsrateInfer.data_ctsrate_errorInfer.data_re_ctsrate_errorInfer.data_ctsspecInfer.data_re_ctsspecInfer.data_ctsspec_errorInfer.data_re_ctsspec_errorInfer.data_phtspecInfer.data_re_phtspecInfer.data_phtspec_errorInfer.data_re_phtspec_errorInfer.data_flxspecInfer.data_re_flxspecInfer.data_flxspec_errorInfer.data_re_flxspec_errorInfer.data_ergspecInfer.data_re_ergspecInfer.data_ergspec_errorInfer.data_re_ergspec_errorInfer.model_ctsrateInfer.model_re_ctsrateInfer.model_ctsspecInfer.model_re_ctsspecInfer.model_phtspecInfer.model_re_phtspecInfer.model_flxspecInfer.model_re_flxspecInfer.model_ergspecInfer.model_re_ergspecInfer.residualInfer.re_residualInfer.prior_listInfer.priorInfer.logpriorInfer.stat_listInfer.pseudo_residual_listInfer.weight_listInfer.statInfer.pseudo_residualInfer.loglike_listInfer.loglikeInfer.npoint_listInfer.npointInfer.dofInfer.all_statInfer.stat_infoInfer.at_par()Infer.prior_transform_funcInfer.logprior_funcInfer.loglike_funcInfer.prior_transform()Infer.calc_logprior()Infer.calc_stat()Infer.calc_pseudo_residual()Infer.calc_loglike()Infer.calc_logprob()Infer.calc_logprior_sample()
BayesInferMaxLikeFit
- bayspec.infer.pair module
PairPair.dataPair.modelPair.conv_ctsratePair.conv_ctsrate_f64Pair.conv_re_ctsratePair.conv_ctsspecPair.conv_re_ctsspecPair.phtspec_at_rspPair.re_phtspec_at_rspPair.flxspec_at_rspPair.re_flxspec_at_rspPair.ergspec_at_rspPair.re_ergspec_at_rspPair.cts_to_phtPair.re_cts_to_phtPair.cts_to_flxPair.re_cts_to_flxPair.cts_to_ergPair.re_cts_to_ergPair.rate_to_fluxPair.conv_rate_to_fluxPair.rate_to_fluxdensity()Pair.conv_rate_to_fluxdensity()Pair.deconv_phtspecPair.deconv_re_phtspecPair.deconv_phtspec_errorPair.deconv_re_phtspec_errorPair.deconv_flxspecPair.deconv_re_flxspecPair.deconv_flxspec_errorPair.deconv_re_flxspec_errorPair.deconv_ergspecPair.deconv_re_ergspecPair.deconv_ergspec_errorPair.deconv_re_ergspec_errorPair.residualPair.re_residualPair.stat_funcPair.pseudo_residual_funcPair.stat_listPair.pseudo_residual_listPair.weight_listPair.statPair.pseudo_residualPair.loglike_listPair.loglikePair.npoint_listPair.npoint
- bayspec.infer.analyzer module
SampleAnalyzerSampleAnalyzer.sample_attributeSampleAnalyzer.analyzer_typeSampleAnalyzer.save_prefixSampleAnalyzer.inferSampleAnalyzer.sample_statisticSampleAnalyzer.par_meanSampleAnalyzer.par_medianSampleAnalyzer.par_bestSampleAnalyzer.par_best_ciSampleAnalyzer.par_truthSampleAnalyzer.par_quantile()SampleAnalyzer.par_interval()SampleAnalyzer.par_IsigmaSampleAnalyzer.par_IIsigmaSampleAnalyzer.par_IIIsigmaSampleAnalyzer.par_ninety_percentSampleAnalyzer.par_error()SampleAnalyzer.max_loglikeSampleAnalyzer.aicSampleAnalyzer.aiccSampleAnalyzer.bicSampleAnalyzer.lnZSampleAnalyzer.free_par_infoSampleAnalyzer.stat_infoSampleAnalyzer.all_ICSampleAnalyzer.IC_infoSampleAnalyzer.save()
PosteriorBootstrap
- bayspec.infer.statistic module
- Module contents
- bayspec.model package
- Subpackages
- Submodules
- bayspec.model.model module
ModelModel.func()Model.mdictsModel.fdictsModel.cdictsModel.pdictsModel.cfgModel.parModel.pvaluesModel.all_configModel.all_paramsModel.cfg_infoModel.par_infoModel.save()Model.fit_toModel.integ()Model.convolve_response()Model.convolve_dataunit()Model.convolve_data()Model.conv_ctsrateModel.conv_ctsrate_f64Model.conv_re_ctsrateModel.conv_ctsspecModel.conv_re_ctsspecModel.phtspec_at_rspModel.re_phtspec_at_rspModel.flxspec_at_rspModel.re_flxspec_at_rspModel.ergspec_at_rspModel.re_ergspec_at_rspModel.cts_to_phtModel.re_cts_to_phtModel.cts_to_flxModel.re_cts_to_flxModel.cts_to_ergModel.re_cts_to_ergModel.rate_to_fluxModel.conv_rate_to_fluxModel.rate_to_fluxdensity()Model.conv_rate_to_fluxdensity()Model.phtspec()Model.nouspec()Model.flxspec()Model.ergspec()Model.phtflux()Model.ergflux()Model.at_par()Model.par_meanModel.par_medianModel.par_bestModel.par_best_ciModel.par_truthModel.mean_phtspec()Model.median_phtspec()Model.best_phtspec()Model.best_ci_phtspec()Model.truth_phtspec()Model.mean_nouspec()Model.median_nouspec()Model.best_nouspec()Model.best_ci_nouspec()Model.truth_nouspec()Model.mean_flxspec()Model.median_flxspec()Model.best_flxspec()Model.best_ci_flxspec()Model.truth_flxspec()Model.mean_ergspec()Model.median_ergspec()Model.best_ergspec()Model.best_ci_ergspec()Model.truth_ergspec()Model.mean_phtflux()Model.median_phtflux()Model.best_phtflux()Model.best_ci_phtflux()Model.truth_phtflux()Model.mean_ergflux()Model.median_ergflux()Model.best_ergflux()Model.best_ci_ergflux()Model.truth_ergflux()Model.mean_phtflux_ratio()Model.median_phtflux_ratio()Model.best_phtflux_ratio()Model.best_ci_phtflux_ratio()Model.truth_phtflux_ratio()Model.mean_ergflux_ratio()Model.median_ergflux_ratio()Model.best_ergflux_ratio()Model.best_ci_ergflux_ratio()Model.truth_ergflux_ratio()Model.posterior_nsampleModel.posterior_sampleModel.sample_statistic()Model.par_sampleModel.phtspec_sample()Model.nouspec_sample()Model.flxspec_sample()Model.ergspec_sample()Model.phtflux_sample()Model.ergflux_sample()Model.phtflux_ratio_sample()Model.ergflux_ratio_sample()
AdditiveMultiplicativeMathematicFrozenConstCompositeModel
- Module contents
- bayspec.util package
- Submodules
- bayspec.util.corner module
- bayspec.util.info module
InfoInfo.data_dictInfo.data_listInfo.data_list_dictInfo.data_frameInfo.sanitized_data_dictInfo.from_dict()Info.from_list()Info.from_list_dict()Info.dict_to_list()Info.dict_to_list_dict()Info.list_to_dict()Info.list_to_list_dict()Info.list_dict_to_dict()Info.list_dict_to_list()Info.text_tableInfo.html_styleInfo.html_table
- bayspec.util.param module
- bayspec.util.plot module
- bayspec.util.post module
- bayspec.util.prior module
- bayspec.util.significance module
- bayspec.util.tools module
- Module contents
Module contents¶
bayspec – Bayesian spectral analysis for high-energy astrophysics.
Re-exports the four functional layers – util (priors, parameters,
posteriors, plotting), data (spectra, responses, data containers),
model (spectral model algebra), and infer (pairs, fits, analyzers) –
so that downstream code can from bayspec import ... directly.