- Update to 4.17.0
* This release of Sherpa includes various enhancements,
documentation updates, bug fixes, and infrastructure changes.
## enhancements:
* add calc_model and calc_source functions to return an evaluated
model/source array
* added wstat to plot_pvalue for the likelihood ratio test
* changed XSpec interface to use FunctionUtility C++ API instead
of XSFortran API
* improved support for PHA data starting at channel 0 and
handling of STAT_ERR and SYS_ERR PHA columns which are set to 0
* improved guess for complex models
* improved filtering handling
* several updates to enhance plotting capabilities and layout
## documentation changes:
* added paper citations to front page of Sherpa Read the Docs
documentation
* cleaned up various typos and URL references
* added examples such as use of set_x/y_label
## infrastructure and testing:
* improved test coverage
* many updates to CI
* drop support for Python 3.9 and numpy <1.24
* initial/experimental support for Python 3.12
## bug fixes:
* fixed an issue with plotting 1D data with asymmetric errs after
filter
* include the default identifier in save_all output if it has
been changed
- Drop numpy2.patch
- Add sherpa-pr2188-np2docstrings.patch gh#sherpa/sherpa#2188
- Add sherpa-suse-libdir.patch
OBS-URL: https://build.opensuse.org/request/show/1228824
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sherpa?expand=0&rev=23
* This release of Sherpa includes various enhancements,
documentation updates, bug fixes, and infrastructure changes.
## enhancements:
* add calc_model and calc_source functions to return an evaluated
model/source array
* added wstat to plot_pvalue for the likelihood ratio test
* changed XSpec interface to use FunctionUtility C++ API instead
of XSFortran API
* improved support for PHA data starting at channel 0 and
handling of STAT_ERR and SYS_ERR PHA columns which are set to 0
* improved guess for complex models
* improved filtering handling
* several updates to enhance plotting capabilities and layout
## documentation changes:
* added paper citations to front page of Sherpa Read the Docs
documentation
* cleaned up various typos and URL references
* added examples such as use of set_x/y_label
## infrastructure and testing:
* improved test coverage
* many updates to CI
* drop support for Python 3.9 and numpy <1.24
* initial/experimental support for Python 3.12
## bug fixes:
* fixed an issue with plotting 1D data with asymmetric errs after
filter
* include the default identifier in save_all output if it has
been changed
- Drop numpy2.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=46
- Update to 4.16.1:
* enhancements:
+ minor plotting changes; add support for splitting model expression into
+ additive components and plot the results; support of log scale axes for
+ confidence plots; improved error messages for unavailable plot backends
+ improved RMF plot display to allow choice of energy units
* documentation changes:
+ updates to fake_pha documentation
+ updates to install.rst to fix incorrect links and outdated version references
+ updated read the docs documentation to match current code
* bug fixes:
+ fixed multi-panel plot issue with Bokeh backend
OBS-URL: https://build.opensuse.org/request/show/1177590
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=42
- Update to 4.16.0:
* enhancements:
+ the grouping commands like group_counts and group_snr now default to
only grouping within the noticed range of channels, which is a change
in behaviour
+ new plotting backend: Users can now choose between matplotlib and
bokeh (experimental) support use of arbitrary python functions when
linking model parameters
+ updates to fake_pha, save_all, allowing to write out RMF/ARF files
+ get_plot_prefs and get_contour_prefs call to simplify access to the
plot and contour preferences
+ implementation of RMFPlot and DataIMGPlot classes and associated UI
functions (plot_rmf, get_rmf_plot)
+ update support for XSPEC to include version 12.13.1, allow XSPEC
table models which include the ESCALE parameter, and provide
experimental support for writing out XSPEC table models.
* changes to use the NumPy random generator API
* bug fixes:
+ PHA source plot Y axis scaling (#1825)
+ fix model display for grouped data (#1779, #1784)
+ Change in the ordering of operations when grouping background PHA
datasets. (#1881)
- Drop patch numpy125.patch and numpy125-CI.patch: Included upstream.
- Skip a misbehaving test.
OBS-URL: https://build.opensuse.org/request/show/1133227
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sherpa?expand=0&rev=18
* enhancements:
+ the grouping commands like group_counts and group_snr now default to
only grouping within the noticed range of channels, which is a change
in behaviour
+ new plotting backend: Users can now choose between matplotlib and
bokeh (experimental) support use of arbitrary python functions when
linking model parameters
+ updates to fake_pha, save_all, allowing to write out RMF/ARF files
+ get_plot_prefs and get_contour_prefs call to simplify access to the
plot and contour preferences
+ implementation of RMFPlot and DataIMGPlot classes and associated UI
functions (plot_rmf, get_rmf_plot)
+ update support for XSPEC to include version 12.13.1, allow XSPEC
table models which include the ESCALE parameter, and provide
experimental support for writing out XSPEC table models.
* changes to use the NumPy random generator API
* bug fixes:
+ PHA source plot Y axis scaling (#1825)
+ fix model display for grouped data (#1779, #1784)
+ Change in the ordering of operations when grouping background PHA
datasets. (#1881)
- Drop patch numpy125.patch and numpy125-CI.patch: Included upstream.
- Skip a misbehaving test.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=33
- update to 4.15.1:
* further improvements to filtering/grouping including
reporting a filter change in the UI
* fake_pha can be called with a list of ARF/RMF names
* added linewidth option for line and histogram plots
* documentation changes:
* fixed broken URLs
* improved documentation for templates, plot_pvalue
* added documentation testing with doctestplus
* Infrastructure changes:
* dropped support for Python 3.8
* experimental support of Python 3.11
* supported versions of Xspec are 12.12.0 - 12.13.0
* bug fixes:
* various updates to notice/ignore and group/ungroup code
* fixed issue with show_bkg
* fixed issue when binning values into a 1D histogram
* fixed cache errors with the TableModel class
OBS-URL: https://build.opensuse.org/request/show/1089585
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sherpa?expand=0&rev=16
* further improvements to filtering/grouping including
reporting a filter change in the UI
* fake_pha can be called with a list of ARF/RMF names
* added linewidth option for line and histogram plots
* documentation changes:
* fixed broken URLs
* improved documentation for templates, plot_pvalue
* added documentation testing with doctestplus
* Infrastructure changes:
* dropped support for Python 3.8
* experimental support of Python 3.11
* supported versions of Xspec are 12.12.0 - 12.13.0
* bug fixes:
* various updates to notice/ignore and group/ungroup code
* fixed issue with show_bkg
* fixed issue when binning values into a 1D histogram
* fixed cache errors with the TableModel class
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=29
- Update to 4.15.0
* This release of Sherpa includes various enhancements,
documentation updates, bug fixes, and infrastructure changes.
## Enhancements:
* Improved validation of arguments when creating Data objects:
- arrays sent to Data objects are now converted to ndarrays
- the independent axis is now made read-only
- the size of a data object is now fixed.
* Filter setting with notice/ignore are reported to the screen
for the users of the UI layer.
* Increased test coverage for plotting
## Documentation changes:
* updated readthedocs to use pip and pytest instead of setup.py
* several updates to documentation, including updates to
fake_pha, calc_ftest, calc_mlr
## Infrastructure changes:
* Drop support for Python 3.7
* Updates to start creating Python 3.10 Conda packages.
* Use Numpy 1.20 for Python 3.8/3.9 and Numpy 1.21 for Python
3.10.
* Moves toward PEP-517 with some distutils cleanup and more
configuration moved from setup.py to setup.cfg
* Various improvements to the GitHub Actions and GitLab workflows
## Bug fixes:
* Ensure chi2xspecvar errors match XSPEC when 0 counts are
present during background subtraction
* Remove model instances from the global symbol table when clean
is called
* Addresses new warnings in the tests for Matplotlib 3.6.0 and
AstroPy 5.1
OBS-URL: https://build.opensuse.org/request/show/1059941
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=27
- Update to 4.14.1
* enhancements:
- various plotting backend improvements
- various i/o backend improvements
- data object class improvements
- basic support for Xspec 12.12.1
- beta support for python 3.10
* documentation changes:
- updated build with CIAO documentation
- Add a missing class (DataOgipResponse) to the documentation
- Improves the docstrings for DataPHA
- fixed typos in plot docs
- clean up readthedocs issues such as missing bullets
* Infrastructure changes:
- updates for compatibility with Clang 12.0
- updates to the regression tests
* bug fixes:
- Improve the FITS headers created when writing out a PHA file (to better match OGIP standards)
- addresses delete_model_component call failing if a key does not exist
- fixed issue with writing a PHA dataset as a table rather than a PHA file
- ensure FITS column access is case insensitive
- image handling and image coordinates
- Drop sherpa-pr1318-py310tests.patch fixed upstream
- Drop sherpa-pr1319-distutils-hack.patch fixed upstream
OBS-URL: https://build.opensuse.org/request/show/981947
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=23
- Update to 4.14.0:
* enhancements:
- filtering and grouping area for binned (1D) spectral data has been improved
with changes to the default behavior and many bug fixes resulting in changes
to the statistics, degrees-of-freedom and energy flux in comparison to the
previous version for the same data with the same filter.
- updates to allow users to change the hard limits of XSPEC model parameters
- the sample_flux routine now returns correct information for the clip column
* documentation changes:
- improved PHA simulation documentation
- improved Filtering and grouping of PHA data documentation
- added sherpa.image module documentation
- added section on running tests to developer docs
* Infrastructure Changes:
- updates to support Apple ARM
- update to support Xspec version 12.12
- update fftw from version 3.3.8 to 3.3.9
- clean up of compiler and sphinx warnings
- changes to support gcc 9.3.0 in conda defaults
- updates to support python 3.9 including readline 8.1 upgrade, numpy minimum
1.19 (numpy 1.18 minimum for python 3.7/8)
- test infrastructure clean up and updates
* bug fixes:
- updates to fix several 'unable to parse region string: None' errors
- fix issue where save_all() of a loaded image with no region filter would fail
on reload
- fixed issue with plot_model() being called before notice or ignore could
lead to filters not getting applied
- fix to error out instead of crash when grouping data using an unsupported
method
OBS-URL: https://build.opensuse.org/request/show/935920
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=20
- Update to 4.13.1:
* documentation changes:
- updates to documentation for TableModel, Notice2D, cache
support for evaluating models, and low level optimization code
- jupyter notebook uopdates
* Infrastructure Changes:
- the master branch has been migrated from master to main
- updates to support numpy 1.20
- updates to support astropy 4.2.1
- updates to support matplotlib 3.4
- test infrastructure clean up and updates
* bug fixes:
- fix an issue with cache evaluation on 1D models using
integrated bins
- fix for aarch64 build issue
- fix to sherpa citation command
- fix to honor clearwindow setting for plot_source
- fix errors from save_data when the output file exists
- fix build issues using gcc 7.3 with -Werror=format-security
compilation flag
- fix for reg_proj and reg_unc erroring out when the min or max
arguments are tuples rather than lists
- Drop upstreamed patches:
* sherpa-fix-aarch64.patch
* sherpa-numpy-1.20.patch
* sherpa-mpl-3.4.patch
OBS-URL: https://build.opensuse.org/request/show/899441
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=17