threeML 2.4.2.dev1__tar.gz → 2.4.2.dev2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {threeML-2.4.2.dev1/threeML.egg-info → threeml-2.4.2.dev2}/PKG-INFO +4 -4
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/setup.cfg +3 -3
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/_version.py +3 -3
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/analysis_results.py +2 -2
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/classicMLE/joint_likelihood.py +2 -3
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/calculate_flux.py +43 -26
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/plotting/cmap_cycle.py +2 -1
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/plotting/post_process_data_plots.py +2 -2
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/minimizer/tutorial_material.py +2 -1
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_bayesian.py +1 -1
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/OGIP/response.py +2 -2
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/data_builders/fermi/lat_transient_builder.py +7 -3
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/progress_bar.py +2 -3
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2/threeML.egg-info}/PKG-INFO +4 -4
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML.egg-info/requires.txt +3 -3
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/LICENSE +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/MANIFEST.in +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/README.md +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/setup.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/__init__.py +4 -4
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/bayesian/__init__.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/bayesian/autoemcee_sampler.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/bayesian/bayesian_analysis.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/bayesian/dynesty_sampler.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/bayesian/emcee_sampler.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/bayesian/multinest_sampler.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/bayesian/nautilus_sampler.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/bayesian/sampler_base.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/bayesian/tutorial_material.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/bayesian/ultranest_sampler.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/bayesian/zeus_sampler.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/catalogs/Fermi.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/catalogs/FermiGBM.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/catalogs/FermiLAT.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/catalogs/FermiLLE.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/catalogs/Swift.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/catalogs/VirtualObservatoryCatalog.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/catalogs/__init__.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/catalogs/catalog_utils.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/classicMLE/__init__.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/classicMLE/goodness_of_fit.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/classicMLE/joint_likelihood_set.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/classicMLE/likelihood_ratio_test.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/config/__init__.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/config/catalog_structure.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/config/config.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/config/config_structure.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/config/config_utils.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/config/fitting_structure.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/config/plotting_structure.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/config/plugin_structure.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/config/point_source_structure.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/bat/gbm_bat_joint_BAT.pha +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/bat/gbm_bat_joint_BAT.rsp +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/bn090217206/bn090217206_b1_bkgspectra.bak +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/bn090217206/bn090217206_b1_srcspectra.pha +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/bn090217206/bn090217206_b1_weightedrsp.rsp +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/bn090217206/bn090217206_n6_bkgspectra.bak +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/bn090217206/bn090217206_n6_srcspectra.pha +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/bn090217206/bn090217206_n6_weightedrsp.rsp +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/bn090217206/bn090217206_n9_bkgspectra.bak +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/bn090217206/bn090217206_n9_srcspectra.pha +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/bn090217206/bn090217206_n9_weightedrsp.rsp +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/example_integral.pha +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/example_integral.rsp +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/example_integral_spi.pha +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/example_integral_spi.rsp +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/gbm/bn080916009/glg_cspec_b0_bn080916009_v00.rsp2 +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/gbm/bn080916009/glg_cspec_n3_bn080916009_v00.rsp2 +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/gbm/bn080916009/glg_cspec_n3_bn080916009_v01.pha +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/gbm/bn080916009/glg_tte_b0_bn080916009_v01.fit.gz +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/gbm/bn080916009/glg_tte_n3_bn080916009_v01.fit.gz +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/gbm/gbm_bat_joint_BGO_00.bak +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/gbm/gbm_bat_joint_BGO_00.pha +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/gbm/gbm_bat_joint_BGO_00.rsp +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/gbm/gbm_bat_joint_NAI_06.bak +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/gbm/gbm_bat_joint_NAI_06.pha +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/gbm/gbm_bat_joint_NAI_06.rsp +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/glg_cspec_n3_bn080916009_v00.rsp2 +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/glg_cspec_n3_bn080916009_v01.pha +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/glg_cspec_n3_bn080916009_v07.rsp +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/glg_tte_n3_bn080916009_v01.fit.gz +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/gll_cspec_bn080916009_v10.rsp +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/gll_lle_bn080916009_v10.fit +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/gll_pt_bn080916009_v10.fit +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/lat/bn090217206_LAT_xmlmodel.xml +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/lat/gll_cspec_bn080916009_v10.pha +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/lat/gll_cspec_bn080916009_v10.rsp +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/lat/gll_ft1_tr_bn090217206_v00_filt.fit +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/lat/gll_ft1_tr_bn090217206_v00_filt_expomap.fit +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/lat/gll_ft1_tr_bn090217206_v00_filt_ltcube.fit.gz +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/lat/gll_lle_bn080916009_v10.fit +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/lat/gll_pt_bn080916009_v10.fit +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/multi_analysis/awt.arf +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/multi_analysis/awt.pi +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/multi_analysis/awt.rmf +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/multi_analysis/awt_fit.fit +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/multi_analysis/awtback.pi +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/multi_analysis/awtsource.pi +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/ogip_powerlaw.bak +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/ogip_powerlaw.pha +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/ogip_powerlaw.rsp +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/test.pha +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/test_bak.pha +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/xrt/interval0wtback.pi +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/xrt/interval0wtsource.pi +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/xrt/xrt.arf +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/xrt/xrt.rmf +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/xrt/xrt_bkg.pha +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/xrt/xrt_src.pha +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/xy_powerlaw.txt +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/default_style.yml +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/doc_config.yml +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/fermipy_basic_config.yml +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/ogip_test_gbm_b0.rsp2 +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/ogip_test_gbm_n6.rsp +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/ogip_test_xmm_pn.arf +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/ogip_test_xmm_pn.rmf +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/optical_filters/filter_library.h5 +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/threeml.mplstyle +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/threeml_docs.mplstyle +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/xmm/pnS004-A2443_reg2.arf +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/xmm/pnS004-A2443_reg2.fak +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/xmm/pnS004-A2443_reg2.rmf +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data_list.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/exceptions/__init__.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/exceptions/custom_exceptions.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/__init__.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/cern_root_utils/__init__.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/cern_root_utils/io_utils.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/cern_root_utils/tobject_to_numpy.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/configuration.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/detect_notebook.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/dict_with_pretty_print.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/download_from_ftp.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/download_from_http.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/file_utils.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/fits_file.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/get_heasarc_table_as_pandas.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/hdf5_utils.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/logging.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/network.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/package_data.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/plotting/__init__.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/plotting/data_residual_plot.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/plotting/get_style.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/plotting/light_curve_plots.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/plotting/model_plot.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/plotting/model_plot_2D.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/plotting/model_plot_tags.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/plotting/step_plot.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/results_table.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/rich_display.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/serialization.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/suppress_stdout.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/table.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/io/uncertainty_formatter.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/minimizer/ROOT_minimizer.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/minimizer/__init__.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/minimizer/grid_minimizer.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/minimizer/minimization.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/minimizer/minuit_minimizer.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/minimizer/multinest_minimizer.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/minimizer/pagmo_minimizer.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/minimizer/scipy_minimizer.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/parallel/__init__.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/parallel/parallel_client.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/plugin_prototype.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/plugins/BinnedProfileLike.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/plugins/DispersionSpectrumLike.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/plugins/FermiLATLike.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/plugins/FermipyLike.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/plugins/HAWCLike.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/plugins/OGIPLike.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/plugins/PhotometryLike.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/plugins/SpectrumLike.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/plugins/SwiftXRTLike.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/plugins/UnbinnedPoissonLike.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/plugins/UnresolvedExtendedXYLike.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/plugins/XYLike.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/plugins/__init__.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/plugins/experimental/CastroLike.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/plugins/experimental/SherpaLike.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/plugins/experimental/VERITASLike.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/plugins/experimental/__init__.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/random_variates.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/__init__.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/conftest.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/generate_pha.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_AAA_against_xspec.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_FermiLATLike.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_FermipyLike.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_UnresolvedExtendedXYLike.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_XYLike.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_analysis_results.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_basic.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_catalogs.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_configuration.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_download_GBM_data.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_download_LAT_data.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_event_list.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_file_utils.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_fits_file.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_fitted_point_sources.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_generic.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_get_package_data.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_goodness_of_fit.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_hawc.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_histogram.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_joint_likelihood_set.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_minimizers.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_model_from_catalog.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_ogip.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_photometry_utils.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_plotting.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_plugin_loading.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_power_of_two_utils.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_response.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_spectrum_class.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_spectrumlike.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_time_energy_fit.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_time_interval.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_time_series.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_unbinned_poisson_like.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/test/test_verbosity.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/OGIP/__init__.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/OGIP/pha.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/__init__.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/bayesian_blocks.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/binner.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/cartesian.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/data_builders/__init__.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/data_builders/fermi/__init__.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/data_builders/fermi/gbm_data.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/data_builders/fermi/lat_data.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/data_builders/fermi/test.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/data_builders/time_series_builder.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/data_download/Fermi_GBM/__init__.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/data_download/Fermi_GBM/download_GBM_data.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/data_download/Fermi_LAT/__init__.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/data_download/Fermi_LAT/download_LAT_data.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/data_download/Fermi_LAT/download_LLE_data.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/data_download/__init__.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/differentiation.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/fermi_relative_mission_time.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/fitted_objects/__init__.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/fitted_objects/fitted_point_sources.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/fitted_objects/fitted_source_handler.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/histogram.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/interval.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/numba_utils.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/photometry/__init__.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/photometry/filter_library.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/photometry/filter_set.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/photometry/photometric_observation.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/polarization/__init__.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/polarization/binned_polarization.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/power_of_two_utils.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/spectrum/__init__.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/spectrum/binned_spectrum.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/spectrum/binned_spectrum_set.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/spectrum/pha_spectrum.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/spectrum/share_spectrum.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/spectrum/spectrum_likelihood.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/statistics/__init__.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/statistics/gammaln.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/statistics/likelihood_functions.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/statistics/stats_tools.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/step_parameter_generator.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/string_utils.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/time_interval.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/time_series/__init__.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/time_series/binned_spectrum_series.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/time_series/event_list.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/time_series/polynomial.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/time_series/time_series.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/unique_deterministic_tag.py +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML.egg-info/SOURCES.txt +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML.egg-info/dependency_links.txt +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML.egg-info/top_level.txt +0 -0
- {threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/versioneer.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: threeML
|
|
3
|
-
Version: 2.4.2.
|
|
3
|
+
Version: 2.4.2.dev2
|
|
4
4
|
Summary: The Multi-Mission Maximum Likelihood framework
|
|
5
5
|
Home-page: https://github.com/threeml/threeML
|
|
6
6
|
Author: Giacomo Vianello
|
|
@@ -21,8 +21,8 @@ License-File: LICENSE
|
|
|
21
21
|
Requires-Dist: numpy>=1.16
|
|
22
22
|
Requires-Dist: scipy>=1.4
|
|
23
23
|
Requires-Dist: emcee>=3
|
|
24
|
-
Requires-Dist: astropy
|
|
25
|
-
Requires-Dist: matplotlib
|
|
24
|
+
Requires-Dist: astropy
|
|
25
|
+
Requires-Dist: matplotlib<3.9
|
|
26
26
|
Requires-Dist: uncertainties
|
|
27
27
|
Requires-Dist: pyyaml>=5.1
|
|
28
28
|
Requires-Dist: dill
|
|
@@ -38,7 +38,7 @@ Requires-Dist: ipyparallel
|
|
|
38
38
|
Requires-Dist: joblib
|
|
39
39
|
Requires-Dist: numexpr
|
|
40
40
|
Requires-Dist: dynesty
|
|
41
|
-
Requires-Dist: numba
|
|
41
|
+
Requires-Dist: numba
|
|
42
42
|
Requires-Dist: numdifftools
|
|
43
43
|
Requires-Dist: tqdm>=4.56.0
|
|
44
44
|
Requires-Dist: colorama
|
|
@@ -28,8 +28,8 @@ install_requires =
|
|
|
28
28
|
numpy>=1.16
|
|
29
29
|
scipy>=1.4
|
|
30
30
|
emcee>=3
|
|
31
|
-
astropy
|
|
32
|
-
matplotlib
|
|
31
|
+
astropy
|
|
32
|
+
matplotlib<3.9
|
|
33
33
|
uncertainties
|
|
34
34
|
pyyaml>=5.1
|
|
35
35
|
dill
|
|
@@ -45,7 +45,7 @@ install_requires =
|
|
|
45
45
|
joblib
|
|
46
46
|
numexpr
|
|
47
47
|
dynesty
|
|
48
|
-
numba
|
|
48
|
+
numba
|
|
49
49
|
numdifftools
|
|
50
50
|
tqdm>=4.56.0
|
|
51
51
|
colorama
|
|
@@ -9,11 +9,11 @@ import json
|
|
|
9
9
|
|
|
10
10
|
version_json = '''
|
|
11
11
|
{
|
|
12
|
-
"date": "2024-
|
|
12
|
+
"date": "2024-05-16T11:29:54-0700",
|
|
13
13
|
"dirty": false,
|
|
14
14
|
"error": null,
|
|
15
|
-
"full-revisionid": "
|
|
16
|
-
"version": "2.4.2.
|
|
15
|
+
"full-revisionid": "5d82ece955c4d85922bd89a38525920eceb160a5",
|
|
16
|
+
"version": "2.4.2.dev2"
|
|
17
17
|
}
|
|
18
18
|
''' # END VERSION_JSON
|
|
19
19
|
|
|
@@ -14,7 +14,7 @@ import astromodels
|
|
|
14
14
|
import astropy.units as u
|
|
15
15
|
import h5py
|
|
16
16
|
import matplotlib.pyplot as plt
|
|
17
|
-
|
|
17
|
+
from matplotlib import colormaps
|
|
18
18
|
import numpy as np
|
|
19
19
|
import pandas as pd
|
|
20
20
|
import yaml
|
|
@@ -1125,7 +1125,7 @@ class BayesianResults(_AnalysisResults):
|
|
|
1125
1125
|
|
|
1126
1126
|
corner_style = threeML_config.bayesian.corner_style
|
|
1127
1127
|
|
|
1128
|
-
cmap =
|
|
1128
|
+
cmap = colormaps[corner_style.cmap.value]
|
|
1129
1129
|
|
|
1130
1130
|
try:
|
|
1131
1131
|
cmap.with_extremes(
|
|
@@ -5,7 +5,7 @@ import sys
|
|
|
5
5
|
from builtins import object, range, zip
|
|
6
6
|
|
|
7
7
|
import astromodels.core.model
|
|
8
|
-
|
|
8
|
+
from matplotlib import colormaps
|
|
9
9
|
import matplotlib.pyplot as plt
|
|
10
10
|
import numpy as np
|
|
11
11
|
import pandas as pd
|
|
@@ -1255,8 +1255,7 @@ class JointLikelihood(object):
|
|
|
1255
1255
|
bounds.append(cc.max())
|
|
1256
1256
|
|
|
1257
1257
|
# Define the color palette
|
|
1258
|
-
palette = cm.
|
|
1259
|
-
threeML_config["mle"]["contour_cmap"].value) # cm.Pastel1
|
|
1258
|
+
palette = colormaps[threeML_config["mle"]["contour_cmap"].value] # cm.Pastel1
|
|
1260
1259
|
palette.set_over(threeML_config["mle"]["contour_background"])
|
|
1261
1260
|
palette.set_under(threeML_config["mle"]["contour_background"])
|
|
1262
1261
|
palette.set_bad(threeML_config["mle"]["contour_background"])
|
|
@@ -176,7 +176,7 @@ def _setup_analysis_dictionaries(
|
|
|
176
176
|
if (
|
|
177
177
|
not use_components
|
|
178
178
|
or ("total" in components_to_use)
|
|
179
|
-
or (
|
|
179
|
+
or ('main' in mle_analyses[key]["component_names"])
|
|
180
180
|
):
|
|
181
181
|
mle_analyses[key][
|
|
182
182
|
"fitted point source"
|
|
@@ -274,7 +274,7 @@ def _setup_analysis_dictionaries(
|
|
|
274
274
|
if (
|
|
275
275
|
not use_components
|
|
276
276
|
or ("total" in components_to_use)
|
|
277
|
-
or (
|
|
277
|
+
or ('main' in bayesian_analyses[key]["component_names"])
|
|
278
278
|
):
|
|
279
279
|
bayesian_analyses[key][
|
|
280
280
|
"fitted point source"
|
|
@@ -400,11 +400,17 @@ def _collect_sums_into_dictionaries(
|
|
|
400
400
|
"total" in components_to_use
|
|
401
401
|
):
|
|
402
402
|
use_total = True
|
|
403
|
+
|
|
404
|
+
if 'main' in list(analyses[key]["components"].keys()
|
|
405
|
+
):
|
|
406
|
+
use_total = True
|
|
403
407
|
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
+
else:
|
|
409
|
+
|
|
410
|
+
for component in list(analyses[key]["components"].keys()):
|
|
411
|
+
component_sum_dict.setdefault(component, []).append(
|
|
412
|
+
analyses[key]["components"][component]
|
|
413
|
+
)
|
|
408
414
|
|
|
409
415
|
else:
|
|
410
416
|
|
|
@@ -468,23 +474,29 @@ def _compute_output(analyses, _defaults, out):
|
|
|
468
474
|
"total" in _defaults["components_to_use"]
|
|
469
475
|
):
|
|
470
476
|
get_total = True
|
|
477
|
+
|
|
478
|
+
if 'main' in list(analyses[key]["components"].keys()
|
|
479
|
+
):
|
|
480
|
+
get_total = True
|
|
471
481
|
|
|
472
|
-
|
|
473
|
-
# extract the information and plot it
|
|
482
|
+
else:
|
|
474
483
|
|
|
475
|
-
|
|
484
|
+
for component in list(analyses[key]["components"].keys()):
|
|
485
|
+
# extract the information and plot it
|
|
486
|
+
|
|
487
|
+
samples = analyses[key]["components"][component]
|
|
476
488
|
|
|
477
|
-
|
|
489
|
+
label = f"{key}: {component}"
|
|
478
490
|
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
491
|
+
_append_best_fit_and_errors(
|
|
492
|
+
samples,
|
|
493
|
+
_defaults,
|
|
494
|
+
label,
|
|
495
|
+
fluxes,
|
|
496
|
+
p_errors,
|
|
497
|
+
n_errors,
|
|
498
|
+
labels,
|
|
499
|
+
)
|
|
488
500
|
|
|
489
501
|
else:
|
|
490
502
|
|
|
@@ -493,13 +505,18 @@ def _compute_output(analyses, _defaults, out):
|
|
|
493
505
|
if get_total:
|
|
494
506
|
# it ends up that we need to plot the total spectrum
|
|
495
507
|
# which is just a repeat of the process
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
508
|
+
|
|
509
|
+
try:
|
|
510
|
+
samples = analyses[key]["fitted point source"]
|
|
511
|
+
except:
|
|
512
|
+
log.error("%s component(s) not available in source %s" %\
|
|
513
|
+
(_defaults["components_to_use"], key))
|
|
514
|
+
else:
|
|
515
|
+
label = f"{key}: total"
|
|
499
516
|
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
517
|
+
_append_best_fit_and_errors(
|
|
518
|
+
samples, _defaults, label, fluxes, p_errors, n_errors, labels
|
|
519
|
+
)
|
|
503
520
|
|
|
504
521
|
if fluxes:
|
|
505
522
|
# now make a data frame
|
|
@@ -600,7 +617,7 @@ def calculate_point_source_flux(*args, **kwargs):
|
|
|
600
617
|
log.error(
|
|
601
618
|
"The use of calculate_point_source_flux is deprecated. Please use the .get_point_source_flux()"
|
|
602
619
|
" method of the JointLikelihood.results or the BayesianAnalysis.results member. For example:"
|
|
603
|
-
" jl.results.
|
|
620
|
+
" jl.results.get_flux()."
|
|
604
621
|
)
|
|
605
622
|
|
|
606
623
|
return _calculate_point_source_flux(*args, **kwargs)
|
|
@@ -3,6 +3,7 @@ from builtins import range
|
|
|
3
3
|
__author__ = "grburgess"
|
|
4
4
|
|
|
5
5
|
import matplotlib.pyplot as plt
|
|
6
|
+
from matplotlib import colormaps
|
|
6
7
|
import numpy as np
|
|
7
8
|
|
|
8
9
|
|
|
@@ -44,7 +45,7 @@ def cmap_intervals(length=50, cmap="YlOrBr", start=None, stop=None):
|
|
|
44
45
|
successive lines because successive colors are very similar.
|
|
45
46
|
:param cmap: str name of a matplotlib colormap (see matplotlib.pyplot.cm)
|
|
46
47
|
"""
|
|
47
|
-
cm =
|
|
48
|
+
cm = colormaps[cmap]
|
|
48
49
|
|
|
49
50
|
# qualitative color maps
|
|
50
51
|
if cmap in [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import matplotlib.pyplot as plt
|
|
2
|
-
|
|
2
|
+
from matplotlib import colormaps
|
|
3
3
|
import numpy as np
|
|
4
4
|
import threeML.plugins.PhotometryLike as photolike
|
|
5
5
|
import threeML.plugins.SpectrumLike as speclike
|
|
@@ -592,7 +592,7 @@ def display_photometry_model_magnitudes(analysis, data=(), **kwargs):
|
|
|
592
592
|
step = bool(kwargs.pop("step"))
|
|
593
593
|
|
|
594
594
|
if "data_cmap" in kwargs:
|
|
595
|
-
data_cmap =
|
|
595
|
+
data_cmap = colormaps[kwargs.pop("data_cmap")]
|
|
596
596
|
data_colors = cmap_intervals(len(data_keys), data_cmap)
|
|
597
597
|
|
|
598
598
|
if "model_cmap" in kwargs:
|
|
@@ -3,6 +3,7 @@ from __future__ import division
|
|
|
3
3
|
from builtins import map, range, zip
|
|
4
4
|
|
|
5
5
|
import matplotlib.pyplot as plt
|
|
6
|
+
from matplotlib import colormaps
|
|
6
7
|
import numpy as np
|
|
7
8
|
from astromodels import (Function1D, FunctionMeta, Gaussian, Model,
|
|
8
9
|
PointSource, use_astromodels_memoization)
|
|
@@ -138,7 +139,7 @@ def plot_minimizer_path(jl, points=False):
|
|
|
138
139
|
|
|
139
140
|
# Color map
|
|
140
141
|
N = len(qx_sets)
|
|
141
|
-
cmap =
|
|
142
|
+
cmap = colormaps["gist_earth"].resampled(N + 1)
|
|
142
143
|
|
|
143
144
|
for i, (qx, qy) in enumerate(zip(qx_sets, qy_sets)):
|
|
144
145
|
|
|
@@ -178,7 +178,7 @@ def test_dynesty_nested(bayes_fitter, completed_bn090217206_bayesian_analysis):
|
|
|
178
178
|
|
|
179
179
|
bayes.set_sampler("dynesty_nested")
|
|
180
180
|
|
|
181
|
-
bayes.sampler.setup(n_live_points=
|
|
181
|
+
bayes.sampler.setup(n_live_points=200, n_effective=10)
|
|
182
182
|
|
|
183
183
|
bayes.sample()
|
|
184
184
|
|
|
@@ -6,7 +6,7 @@ from typing import Any, Dict, List, Optional, Union
|
|
|
6
6
|
|
|
7
7
|
import astropy.io.fits as pyfits
|
|
8
8
|
import astropy.units as u
|
|
9
|
-
|
|
9
|
+
from matplotlib import colormaps
|
|
10
10
|
import matplotlib.pyplot as plt
|
|
11
11
|
import numba as nb
|
|
12
12
|
import numpy as np
|
|
@@ -322,7 +322,7 @@ class InstrumentResponse(object):
|
|
|
322
322
|
vmin = self._matrix[self._matrix > 0].min()
|
|
323
323
|
|
|
324
324
|
cmap = copy.deepcopy(
|
|
325
|
-
|
|
325
|
+
colormaps[threeML_config.plugins.ogip.response_cmap.value]
|
|
326
326
|
)
|
|
327
327
|
|
|
328
328
|
cmap.set_under(threeML_config.plugins.ogip.response_zero_color)
|
{threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/utils/data_builders/fermi/lat_transient_builder.py
RENAMED
|
@@ -629,9 +629,13 @@ class TransientLATDataBuilder(object):
|
|
|
629
629
|
os.path.join(gtapp_mp_dir, 'gtltcube_mp.py'),
|
|
630
630
|
os.path.join(gtapp_mp_dir, 'gttsmap_mp.py'),
|
|
631
631
|
]
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
632
|
+
|
|
633
|
+
try:
|
|
634
|
+
for _e in executables:
|
|
635
|
+
log.info('Changing permission to %s' % _e)
|
|
636
|
+
os.chmod(_e, 0o755)
|
|
637
|
+
except PermissionError:
|
|
638
|
+
pass
|
|
635
639
|
|
|
636
640
|
log.info('About to run the following command:\n%s' % cmd)
|
|
637
641
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from matplotlib import
|
|
1
|
+
from matplotlib import colormaps
|
|
2
2
|
from matplotlib.colors import to_hex
|
|
3
3
|
import numpy as np
|
|
4
4
|
|
|
@@ -21,8 +21,7 @@ class _Get_Color(object):
|
|
|
21
21
|
|
|
22
22
|
def __init__(self, n_colors=5):
|
|
23
23
|
|
|
24
|
-
cmap =
|
|
25
|
-
threeML_config.interface.multi_progress_cmap)
|
|
24
|
+
cmap = colormaps[threeML_config.interface.multi_progress_cmap]
|
|
26
25
|
|
|
27
26
|
self._colors = [to_hex(c) for c in cmap(np.linspace(0,1,n_colors))]
|
|
28
27
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: threeML
|
|
3
|
-
Version: 2.4.2.
|
|
3
|
+
Version: 2.4.2.dev2
|
|
4
4
|
Summary: The Multi-Mission Maximum Likelihood framework
|
|
5
5
|
Home-page: https://github.com/threeml/threeML
|
|
6
6
|
Author: Giacomo Vianello
|
|
@@ -21,8 +21,8 @@ License-File: LICENSE
|
|
|
21
21
|
Requires-Dist: numpy>=1.16
|
|
22
22
|
Requires-Dist: scipy>=1.4
|
|
23
23
|
Requires-Dist: emcee>=3
|
|
24
|
-
Requires-Dist: astropy
|
|
25
|
-
Requires-Dist: matplotlib
|
|
24
|
+
Requires-Dist: astropy
|
|
25
|
+
Requires-Dist: matplotlib<3.9
|
|
26
26
|
Requires-Dist: uncertainties
|
|
27
27
|
Requires-Dist: pyyaml>=5.1
|
|
28
28
|
Requires-Dist: dill
|
|
@@ -38,7 +38,7 @@ Requires-Dist: ipyparallel
|
|
|
38
38
|
Requires-Dist: joblib
|
|
39
39
|
Requires-Dist: numexpr
|
|
40
40
|
Requires-Dist: dynesty
|
|
41
|
-
Requires-Dist: numba
|
|
41
|
+
Requires-Dist: numba
|
|
42
42
|
Requires-Dist: numdifftools
|
|
43
43
|
Requires-Dist: tqdm>=4.56.0
|
|
44
44
|
Requires-Dist: colorama
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
numpy>=1.16
|
|
2
2
|
scipy>=1.4
|
|
3
3
|
emcee>=3
|
|
4
|
-
astropy
|
|
5
|
-
matplotlib
|
|
4
|
+
astropy
|
|
5
|
+
matplotlib<3.9
|
|
6
6
|
uncertainties
|
|
7
7
|
pyyaml>=5.1
|
|
8
8
|
dill
|
|
@@ -18,7 +18,7 @@ ipyparallel
|
|
|
18
18
|
joblib
|
|
19
19
|
numexpr
|
|
20
20
|
dynesty
|
|
21
|
-
numba
|
|
21
|
+
numba
|
|
22
22
|
numdifftools
|
|
23
23
|
tqdm>=4.56.0
|
|
24
24
|
colorama
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -22,6 +22,10 @@ except ImportError:
|
|
|
22
22
|
from pathlib import Path
|
|
23
23
|
|
|
24
24
|
from threeML.io.logging import setup_logger
|
|
25
|
+
|
|
26
|
+
# Import everything from astromodels
|
|
27
|
+
from astromodels import *
|
|
28
|
+
|
|
25
29
|
from .config import (
|
|
26
30
|
threeML_config,
|
|
27
31
|
show_configuration,
|
|
@@ -62,10 +66,6 @@ del get_versions
|
|
|
62
66
|
import traceback
|
|
63
67
|
from importlib.machinery import SourceFileLoader
|
|
64
68
|
|
|
65
|
-
# Import everything from astromodels
|
|
66
|
-
from astromodels import *
|
|
67
|
-
|
|
68
|
-
|
|
69
69
|
# Finally import the serialization machinery
|
|
70
70
|
from .io.serialization import *
|
|
71
71
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/gbm/gbm_bat_joint_BGO_00.bak
RENAMED
|
File without changes
|
{threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/gbm/gbm_bat_joint_BGO_00.pha
RENAMED
|
File without changes
|
{threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/gbm/gbm_bat_joint_BGO_00.rsp
RENAMED
|
File without changes
|
{threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/gbm/gbm_bat_joint_NAI_06.bak
RENAMED
|
File without changes
|
{threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/gbm/gbm_bat_joint_NAI_06.pha
RENAMED
|
File without changes
|
{threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/gbm/gbm_bat_joint_NAI_06.rsp
RENAMED
|
File without changes
|
{threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/glg_cspec_n3_bn080916009_v00.rsp2
RENAMED
|
File without changes
|
{threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/glg_cspec_n3_bn080916009_v01.pha
RENAMED
|
File without changes
|
{threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/glg_cspec_n3_bn080916009_v07.rsp
RENAMED
|
File without changes
|
{threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/glg_tte_n3_bn080916009_v01.fit.gz
RENAMED
|
File without changes
|
{threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/gll_cspec_bn080916009_v10.rsp
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/lat/bn090217206_LAT_xmlmodel.xml
RENAMED
|
File without changes
|
{threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/lat/gll_cspec_bn080916009_v10.pha
RENAMED
|
File without changes
|
{threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/lat/gll_cspec_bn080916009_v10.rsp
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/lat/gll_lle_bn080916009_v10.fit
RENAMED
|
File without changes
|
{threeML-2.4.2.dev1 → threeml-2.4.2.dev2}/threeML/data/datasets/lat/gll_pt_bn080916009_v10.fit
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|