bayspec package¶
Subpackages¶
- bayspec.data package
- Submodules
- bayspec.data.data module
DataData.dataData.namesData.all_configData.all_paramsData.alphaData.bin_startData.bin_stopData.bkg_countsData.bkg_counts_f64Data.bkg_ctsrateData.bkg_ctsrate_errorData.bkg_ctsspecData.bkg_ctsspec_errorData.bkg_efficiencyData.bkg_errorsData.bkg_errors_f64Data.bkg_re_countsData.bkg_re_ctsrateData.bkg_re_ctsrate_errorData.bkg_re_ctsspecData.bkg_re_ctsspec_errorData.bkg_re_errorsData.cfgData.cfg_infoData.corr_bkg_efficiencyData.corr_bkg_efficiency_f64Data.corr_rsp_drmData.corr_rsp_re_drmData.corr_src_efficiencyData.corr_src_efficiency_f64Data.dataData.deconv_ergspecData.deconv_ergspec_errorData.deconv_flxspecData.deconv_flxspec_errorData.deconv_phtspecData.deconv_phtspec_errorData.deconv_re_ergspecData.deconv_re_ergspec_errorData.deconv_re_flxspecData.deconv_re_flxspec_errorData.deconv_re_phtspecData.deconv_re_phtspec_errorData.ebinData.egridData.ewidthData.exprData.fit_withData.get_obj_name()Data.infoData.nbinData.net_counts_upperlimit()Data.net_ctsrateData.net_ctsrate_errorData.net_ctsrate_upperlimit()Data.net_ctsspecData.net_ctsspec_errorData.net_re_ctsrateData.net_re_ctsrate_errorData.net_re_ctsspecData.net_re_ctsspec_errorData.ngridData.npointsData.parData.par_infoData.pvaluesData.rsp_chbinData.rsp_chbin_meanData.rsp_chbin_tarrData.rsp_chbin_widthData.rsp_drmData.rsp_re_chbinData.rsp_re_chbin_meanData.rsp_re_chbin_tarrData.rsp_re_chbin_widthData.rsp_re_drmData.save()Data.src_countsData.src_counts_f64Data.src_ctsrateData.src_ctsrate_errorData.src_ctsspecData.src_ctsspec_errorData.src_efficiencyData.src_errorsData.src_errors_f64Data.src_re_countsData.src_re_ctsrateData.src_re_ctsrate_errorData.src_re_ctsspecData.src_re_ctsspec_errorData.src_re_errorsData.tarrData.tgrid
DataUnitDataUnit.alphaDataUnit.arfDataUnit.bkgDataUnit.bkg_countsDataUnit.bkg_ctsrateDataUnit.bkg_ctsrate_errorDataUnit.bkg_ctsspecDataUnit.bkg_ctsspec_errorDataUnit.bkg_efficiencyDataUnit.bkg_errorsDataUnit.bkg_re_countsDataUnit.bkg_re_ctsrateDataUnit.bkg_re_ctsrate_errorDataUnit.bkg_re_ctsspecDataUnit.bkg_re_ctsspec_errorDataUnit.bkg_re_errorsDataUnit.cfgDataUnit.completenessDataUnit.corr_bkg_efficiencyDataUnit.corr_rsp_drmDataUnit.corr_rsp_re_drmDataUnit.corr_src_efficiencyDataUnit.ebinDataUnit.egridDataUnit.ewidthDataUnit.get_obj_name()DataUnit.grpgDataUnit.infoDataUnit.nameDataUnit.nbinDataUnit.net_counts_upperlimit()DataUnit.net_ctsrateDataUnit.net_ctsrate_errorDataUnit.net_ctsrate_upperlimit()DataUnit.net_ctsspecDataUnit.net_ctsspec_errorDataUnit.net_re_ctsrateDataUnit.net_re_ctsrate_errorDataUnit.net_re_ctsspecDataUnit.net_re_ctsspec_errorDataUnit.ngridDataUnit.notcDataUnit.npointDataUnit.parDataUnit.pvaluesDataUnit.rebnDataUnit.rmfDataUnit.rspDataUnit.rsp_chbinDataUnit.rsp_chbin_meanDataUnit.rsp_chbin_tarrDataUnit.rsp_chbin_widthDataUnit.rsp_drmDataUnit.rsp_re_chbinDataUnit.rsp_re_chbin_meanDataUnit.rsp_re_chbin_tarrDataUnit.rsp_re_chbin_widthDataUnit.rsp_re_drmDataUnit.save()DataUnit.srcDataUnit.src_countsDataUnit.src_ctsrateDataUnit.src_ctsrate_errorDataUnit.src_ctsspecDataUnit.src_ctsspec_errorDataUnit.src_efficiencyDataUnit.src_errorsDataUnit.src_re_countsDataUnit.src_re_ctsrateDataUnit.src_re_ctsrate_errorDataUnit.src_re_ctsspecDataUnit.src_re_ctsspec_errorDataUnit.src_re_errorsDataUnit.statDataUnit.tarrDataUnit.tgridDataUnit.timeDataUnit.weight
- bayspec.data.response module
AuxiliaryBalrogResponseDisableMethodsMetaRedistributionResponseResponse.chbinResponse.phbinResponse.drmResponse.raResponse.decResponse.factorResponse.chbinResponse.chbin_meanResponse.chbin_widthResponse.decResponse.drmResponse.factorResponse.from_plain()Response.from_rmf_arf()Response.from_rsp()Response.from_rsp2()Response.get_obj_name()Response.infoResponse.nameResponse.phbinResponse.ra
- bayspec.data.spectrum module
BackgroundSourceSpectrumSpectrum.countsSpectrum.errorsSpectrum.exposureSpectrum.qualitySpectrum.groupingSpectrum.backscaleSpectrum.factorSpectrum.backscaleSpectrum.countsSpectrum.errorsSpectrum.exposureSpectrum.factorSpectrum.get_obj_name()Spectrum.groupingSpectrum.infoSpectrum.nameSpectrum.qualitySpectrum.set_zero()
- Module contents
- bayspec.infer package
- Submodules
- bayspec.infer.infer module
BayesInferInferInfer.pairsInfer.inference_typeInfer.all_configInfer.all_paramsInfer.all_statInfer.append()Infer.at_par()Infer.calc_loglike()Infer.calc_logprior()Infer.calc_logprior_sample()Infer.calc_logprob()Infer.calc_pseudo_residual()Infer.calc_stat()Infer.cdictsInfer.cfgInfer.cfg_infoInfer.clean_free_indexed_plabelsInfer.clean_free_plabelsInfer.data_chbin_meanInfer.data_chbin_widthInfer.data_ctsrateInfer.data_ctsrate_errorInfer.data_ctsspecInfer.data_ctsspec_errorInfer.data_ergspecInfer.data_ergspec_errorInfer.data_flxspecInfer.data_flxspec_errorInfer.data_phtspecInfer.data_phtspec_errorInfer.data_re_chbin_meanInfer.data_re_chbin_widthInfer.data_re_ctsrateInfer.data_re_ctsrate_errorInfer.data_re_ctsspecInfer.data_re_ctsspec_errorInfer.data_re_ergspecInfer.data_re_ergspec_errorInfer.data_re_flxspecInfer.data_re_flxspec_errorInfer.data_re_phtspecInfer.data_re_phtspec_errorInfer.dofInfer.foo()Infer.free_indexed_plabelsInfer.free_nparamsInfer.free_parInfer.free_par_infoInfer.free_paramsInfer.free_plabelsInfer.free_prangesInfer.free_pvaluesInfer.idpidInfer.link()Infer.loglikeInfer.loglike_funcInfer.loglike_listInfer.logpriorInfer.logprior_funcInfer.model_ctsrateInfer.model_ctsspecInfer.model_ergspecInfer.model_flxspecInfer.model_phtspecInfer.model_re_ctsrateInfer.model_re_ctsspecInfer.model_re_ergspecInfer.model_re_flxspecInfer.model_re_phtspecInfer.notable_par_infoInfer.npointInfer.npoint_listInfer.pairsInfer.parInfer.par_infoInfer.pdictsInfer.priorInfer.prior_listInfer.prior_transform()Infer.prior_transform_funcInfer.pseudo_residualInfer.pseudo_residual_listInfer.pvaluesInfer.re_residualInfer.residualInfer.save()Infer.statInfer.stat_infoInfer.stat_listInfer.unlink()Infer.weight_list
MaxLikeFit
- bayspec.infer.pair module
PairPair.dataPair.modelPair.conv_ctsratePair.conv_ctsrate_f64Pair.conv_ctsspecPair.conv_rate_to_fluxPair.conv_rate_to_fluxdensity()Pair.conv_re_ctsratePair.conv_re_ctsspecPair.cts_to_ergPair.cts_to_flxPair.cts_to_phtPair.dataPair.deconv_ergspecPair.deconv_ergspec_errorPair.deconv_flxspecPair.deconv_flxspec_errorPair.deconv_phtspecPair.deconv_phtspec_errorPair.deconv_re_ergspecPair.deconv_re_ergspec_errorPair.deconv_re_flxspecPair.deconv_re_flxspec_errorPair.deconv_re_phtspecPair.deconv_re_phtspec_errorPair.ergspec_at_rspPair.flxspec_at_rspPair.loglikePair.loglike_listPair.modelPair.npointPair.npoint_listPair.phtspec_at_rspPair.pseudo_residualPair.pseudo_residual_funcPair.pseudo_residual_listPair.rate_to_fluxPair.rate_to_fluxdensity()Pair.re_cts_to_ergPair.re_cts_to_flxPair.re_cts_to_phtPair.re_ergspec_at_rspPair.re_flxspec_at_rspPair.re_phtspec_at_rspPair.re_residualPair.residualPair.statPair.stat_funcPair.stat_listPair.weight_list
- bayspec.infer.posterior module
- bayspec.infer.statistic module
- Module contents
- bayspec.model package
- Subpackages
- Submodules
- bayspec.model.model module
AdditiveCompositeModelFrozenConstMathematicModelModel.exprModel.typeModel.commentModel.configModel.paramsModel.all_configModel.all_paramsModel.at_par()Model.best_ci_ergflux()Model.best_ci_ergflux_ratio()Model.best_ci_ergspec()Model.best_ci_flxspec()Model.best_ci_nouspec()Model.best_ci_phtflux()Model.best_ci_phtflux_ratio()Model.best_ci_phtspec()Model.best_ergflux()Model.best_ergflux_ratio()Model.best_ergspec()Model.best_flxspec()Model.best_nouspec()Model.best_phtflux()Model.best_phtflux_ratio()Model.best_phtspec()Model.cdictsModel.cfgModel.cfg_infoModel.conv_ctsrateModel.conv_ctsrate_f64Model.conv_ctsspecModel.conv_rate_to_fluxModel.conv_rate_to_fluxdensity()Model.conv_re_ctsrateModel.conv_re_ctsspecModel.convolve_data()Model.convolve_dataunit()Model.convolve_response()Model.cts_to_ergModel.cts_to_flxModel.cts_to_phtModel.ergflux()Model.ergflux_ratio_sample()Model.ergflux_sample()Model.ergspec()Model.ergspec_at_rspModel.ergspec_sample()Model.fdictsModel.fit_toModel.flxspec()Model.flxspec_at_rspModel.flxspec_sample()Model.func()Model.integ()Model.mdictsModel.mean_ergflux()Model.mean_ergflux_ratio()Model.mean_ergspec()Model.mean_flxspec()Model.mean_nouspec()Model.mean_phtflux()Model.mean_phtflux_ratio()Model.mean_phtspec()Model.median_ergflux()Model.median_ergflux_ratio()Model.median_ergspec()Model.median_flxspec()Model.median_nouspec()Model.median_phtflux()Model.median_phtflux_ratio()Model.median_phtspec()Model.nouspec()Model.nouspec_sample()Model.parModel.par_bestModel.par_best_ciModel.par_infoModel.par_meanModel.par_medianModel.par_sampleModel.par_truthModel.pdictsModel.phtflux()Model.phtflux_ratio_sample()Model.phtflux_sample()Model.phtspec()Model.phtspec_at_rspModel.phtspec_sample()Model.posterior_nsampleModel.posterior_sampleModel.pvaluesModel.rate_to_fluxModel.rate_to_fluxdensity()Model.re_cts_to_ergModel.re_cts_to_flxModel.re_cts_to_phtModel.re_ergspec_at_rspModel.re_flxspec_at_rspModel.re_phtspec_at_rspModel.sample_statistic()Model.save()Model.truth_ergflux()Model.truth_ergflux_ratio()Model.truth_ergspec()Model.truth_flxspec()Model.truth_nouspec()Model.truth_phtflux()Model.truth_phtflux_ratio()Model.truth_phtspec()
Multiplicative
- Module contents
- bayspec.util package
- Submodules
- bayspec.util.corner module
- bayspec.util.info module
InfoInfo.data_dictInfo.data_dictInfo.data_frameInfo.data_listInfo.data_list_dictInfo.dict_to_list()Info.dict_to_list_dict()Info.from_dict()Info.from_list()Info.from_list_dict()Info.html_styleInfo.html_tableInfo.list_dict_to_dict()Info.list_dict_to_list()Info.list_to_dict()Info.list_to_list_dict()Info.sanitized_data_dictInfo.text_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.