There is a newer version of this record available.

Software Open Access

sherpa/sherpa: Sherpa 4.14.0

Doug Burke; Omar Laurino; wmclaugh; dtnguyen2; Hans Moritz Günther; Marie-Terrell; Aneta Siemiginowska; Jamie Budynkiewicz; Tom Aldcroft; Christoph Deil; Brigitta Sipőcz; Johannes Buchner; Iva Laginja; Katrin Leinweber; nplee; Todd


DCAT Export

<?xml version='1.0' encoding='utf-8'?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:adms="http://www.w3.org/ns/adms#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dct="http://purl.org/dc/terms/" xmlns:dctype="http://purl.org/dc/dcmitype/" xmlns:dcat="http://www.w3.org/ns/dcat#" xmlns:duv="http://www.w3.org/ns/duv#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:frapo="http://purl.org/cerif/frapo/" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:gsp="http://www.opengis.net/ont/geosparql#" xmlns:locn="http://www.w3.org/ns/locn#" xmlns:org="http://www.w3.org/ns/org#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:prov="http://www.w3.org/ns/prov#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:schema="http://schema.org/" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:vcard="http://www.w3.org/2006/vcard/ns#" xmlns:wdrs="http://www.w3.org/2007/05/powder-s#">
  <rdf:Description rdf:about="https://doi.org/10.5281/zenodo.5554957">
    <rdf:type rdf:resource="http://www.w3.org/ns/dcat#Dataset"/>
    <dct:type rdf:resource="http://purl.org/dc/dcmitype/Software"/>
    <dct:identifier rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">https://doi.org/10.5281/zenodo.5554957</dct:identifier>
    <foaf:page rdf:resource="https://doi.org/10.5281/zenodo.5554957"/>
    <dct:creator>
      <rdf:Description>
        <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Agent"/>
        <foaf:name>Doug Burke</foaf:name>
      </rdf:Description>
    </dct:creator>
    <dct:creator>
      <rdf:Description>
        <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Agent"/>
        <foaf:name>Omar Laurino</foaf:name>
        <org:memberOf>
          <foaf:Organization>
            <foaf:name>Smithsonian Astrophysical Observatory</foaf:name>
          </foaf:Organization>
        </org:memberOf>
      </rdf:Description>
    </dct:creator>
    <dct:creator>
      <rdf:Description>
        <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Agent"/>
        <foaf:name>wmclaugh</foaf:name>
      </rdf:Description>
    </dct:creator>
    <dct:creator>
      <rdf:Description>
        <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Agent"/>
        <foaf:name>dtnguyen2</foaf:name>
      </rdf:Description>
    </dct:creator>
    <dct:creator>
      <rdf:Description>
        <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Agent"/>
        <foaf:name>Hans Moritz Günther</foaf:name>
        <org:memberOf>
          <foaf:Organization>
            <foaf:name>MIT</foaf:name>
          </foaf:Organization>
        </org:memberOf>
      </rdf:Description>
    </dct:creator>
    <dct:creator>
      <rdf:Description>
        <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Agent"/>
        <foaf:name>Marie-Terrell</foaf:name>
      </rdf:Description>
    </dct:creator>
    <dct:creator>
      <rdf:Description>
        <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Agent"/>
        <foaf:name>Aneta Siemiginowska</foaf:name>
      </rdf:Description>
    </dct:creator>
    <dct:creator>
      <rdf:Description>
        <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Agent"/>
        <foaf:name>Jamie Budynkiewicz</foaf:name>
        <org:memberOf>
          <foaf:Organization>
            <foaf:name>Smithsonian Astrophysical Observatory</foaf:name>
          </foaf:Organization>
        </org:memberOf>
      </rdf:Description>
    </dct:creator>
    <dct:creator>
      <rdf:Description>
        <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Agent"/>
        <foaf:name>Tom Aldcroft</foaf:name>
        <org:memberOf>
          <foaf:Organization>
            <foaf:name>Center for Astrophysics | Harvard &amp; Smithsonian</foaf:name>
          </foaf:Organization>
        </org:memberOf>
      </rdf:Description>
    </dct:creator>
    <dct:creator>
      <rdf:Description>
        <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Agent"/>
        <foaf:name>Christoph Deil</foaf:name>
        <org:memberOf>
          <foaf:Organization>
            <foaf:name>HeidelbergCement</foaf:name>
          </foaf:Organization>
        </org:memberOf>
      </rdf:Description>
    </dct:creator>
    <dct:creator>
      <rdf:Description>
        <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Agent"/>
        <foaf:name>Brigitta Sipőcz</foaf:name>
        <org:memberOf>
          <foaf:Organization>
            <foaf:name>Caltech/IPAC</foaf:name>
          </foaf:Organization>
        </org:memberOf>
      </rdf:Description>
    </dct:creator>
    <dct:creator>
      <rdf:Description>
        <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Agent"/>
        <foaf:name>Johannes Buchner</foaf:name>
      </rdf:Description>
    </dct:creator>
    <dct:creator>
      <rdf:Description>
        <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Agent"/>
        <foaf:name>Iva Laginja</foaf:name>
        <org:memberOf>
          <foaf:Organization>
            <foaf:name>@spacetelescope</foaf:name>
          </foaf:Organization>
        </org:memberOf>
      </rdf:Description>
    </dct:creator>
    <dct:creator>
      <rdf:Description>
        <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Agent"/>
        <foaf:name>Katrin Leinweber</foaf:name>
        <org:memberOf>
          <foaf:Organization>
            <foaf:name>@gitlabhq</foaf:name>
          </foaf:Organization>
        </org:memberOf>
      </rdf:Description>
    </dct:creator>
    <dct:creator>
      <rdf:Description>
        <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Agent"/>
        <foaf:name>nplee</foaf:name>
      </rdf:Description>
    </dct:creator>
    <dct:creator>
      <rdf:Description>
        <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Agent"/>
        <foaf:name>Todd</foaf:name>
      </rdf:Description>
    </dct:creator>
    <dct:title>sherpa/sherpa: Sherpa 4.14.0</dct:title>
    <dct:publisher>
      <foaf:Agent>
        <foaf:name>Zenodo</foaf:name>
      </foaf:Agent>
    </dct:publisher>
    <dct:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#gYear">2021</dct:issued>
    <dct:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2021-10-07</dct:issued>
    <owl:sameAs rdf:resource="https://zenodo.org/record/5554957"/>
    <adms:identifier>
      <adms:Identifier>
        <skos:notation rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">https://zenodo.org/record/5554957</skos:notation>
        <adms:schemeAgency>url</adms:schemeAgency>
      </adms:Identifier>
    </adms:identifier>
    <dct:relation rdf:resource="https://github.com/sherpa/sherpa/tree/4.14.0"/>
    <dct:isVersionOf rdf:resource="https://doi.org/10.5281/zenodo.593753"/>
    <owl:versionInfo>4.14.0</owl:versionInfo>
    <dct:description>Sherpa 4.14.0 &lt;p&gt;This release of Sherpa includes various documentation updates, bug fixes, enhancements, and infrastructure changes.&lt;/p&gt; &lt;ul&gt; &lt;li&gt;enhancements:&lt;ul&gt; &lt;li&gt;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.&lt;/li&gt; &lt;li&gt;updates to allow users to change the hard limits of XSPEC model parameters&lt;/li&gt; &lt;li&gt;the sample_flux routine now returns correct information for the clip column&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;li&gt;documentation changes:&lt;ul&gt; &lt;li&gt;improved PHA simulation documentation &lt;/li&gt; &lt;li&gt;improved Filtering and grouping of PHA data documentation&lt;/li&gt; &lt;li&gt;added sherpa.image module documentation&lt;/li&gt; &lt;li&gt;added section on running tests to developer docs&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;li&gt;Infrastructure Changes:&lt;ul&gt; &lt;li&gt;updates to support Apple ARM&lt;/li&gt; &lt;li&gt;update to support Xspec version 12.12 &lt;/li&gt; &lt;li&gt;update fftw from version 3.3.8 to 3.3.9&lt;/li&gt; &lt;li&gt;clean up of compiler and sphinx warnings&lt;/li&gt; &lt;li&gt;changes to support gcc 9.3.0 in conda defaults&lt;/li&gt; &lt;li&gt;updates to support python 3.9 including readline 8.1 upgrade, numpy minimum 1.19 (numpy 1.18 minimum for python 3.7/8)&lt;/li&gt; &lt;li&gt;test infrastructure clean up and updates&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;li&gt;bug fixes:&lt;ul&gt; &lt;li&gt;updates to fix several 'unable to parse region string: None' errors&lt;/li&gt; &lt;li&gt;fix issue where save_all() of a loaded image with no region filter would fail on reload&lt;/li&gt; &lt;li&gt;fixed issue with plot_model() being called before notice or ignore could lead to filters not getting applied&lt;/li&gt; &lt;li&gt;fix to error out instead of crash when grouping data using an unsupported method &lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt; Details 1031 - Update fwhm calculation &lt;pre&gt;&lt;code&gt;Update the estimation of FWHM for 1D profiles, and hence the guess method for Gauss1D and related routines. The 2D models use the same routine so see these changes. &lt;/code&gt;&lt;/pre&gt; 1073 - Allow fake_pha to be called with an identifier of None &lt;pre&gt;&lt;code&gt;The fake_pha command now treats id=None as the default id. This addresses #1064. &lt;/code&gt;&lt;/pre&gt; 1106 - The sample_flux routine now returns the correct information for the clip column &lt;pre&gt;&lt;code&gt;The sample_flux routine now returns correct information for the clip column (that is, it matches the clipping done by this routine). There may be changes to the reported error ranges because of this change. &lt;/code&gt;&lt;/pre&gt; 1107 - Add some grating related keywords for _repr&lt;em&gt;html&lt;/em&gt; for ARF, RMF, PHA &lt;pre&gt;&lt;code&gt;Add keywords to the default output in the _repr_html_ for some X-ray classes. &lt;/code&gt;&lt;/pre&gt; 1113 - XSPEC: support etable table models &lt;pre&gt;&lt;code&gt;Allow XSPEC ETABLE table model files to be read by load_xstable_model by setting the etable parameter. &lt;/code&gt;&lt;/pre&gt; 1118 - Improve test cases for source plots with PHA data &lt;pre&gt;&lt;code&gt;Add additional test cases for source plots with PHA data to check out rarely-used combinations. &lt;/code&gt;&lt;/pre&gt; 1127 - PHA filtering changes &lt;pre&gt;&lt;code&gt;Improve some corner cases for filtering PHA data, including fixing #921 (channel bounds are integers, not half-integers). &lt;/code&gt;&lt;/pre&gt; 1131 - Test: fix a test failure when XSPEC installed but no fits backend &lt;pre&gt;&lt;code&gt;Avoid running a test we know to fail for an uncommon combination of options. &lt;/code&gt;&lt;/pre&gt; 1134 - This is a doc-string only update for load_multi_XXX &lt;pre&gt;&lt;code&gt;The previous example implied that a spectrum may contain both positive and negative orders in the same spectrum. That can happen only after coadding - and in that case one would co-add the arfs as well. &lt;/code&gt;&lt;/pre&gt; 1135 - Added docstring and removed unused no-op class &lt;pre&gt;&lt;code&gt;Remove sherpa.astro.models.MultiResponseSumModel which did nothing and seems to be unused (except in a test that explicitly skip this class). &lt;/code&gt;&lt;/pre&gt; 1136 - Replace error message "too few columns" with a more generic word &lt;pre&gt;&lt;code&gt;Change the wording of an error message. Potentially breaking if someone tests for the wording of the error message in their code, but certainly more correct. &lt;/code&gt;&lt;/pre&gt; 1137 - Correct docstring for fake_pha &lt;pre&gt;&lt;code&gt;The old docstring claims that the background is just scaled and not simulated, but there is definitely a call to poisson_noise for the background in the code. &lt;/code&gt;&lt;/pre&gt; 1138 - Address NumPy 1.20 bool/int/float deprecation warnings &lt;pre&gt;&lt;code&gt;NumPy 1.20 notes that numpy.bool, numpy.int, and numpy.float will be removed and users should just use bool, int, and float instead, so these symbols have been changed. This is a follow on to #1092 &lt;/code&gt;&lt;/pre&gt; 1140 - Fix some remaining master/main renames &lt;pre&gt;&lt;code&gt;clean up references to master with main &lt;/code&gt;&lt;/pre&gt; 1143 - add basic test and documentation for Integrate1D &lt;pre&gt;&lt;code&gt;Add basic testing of the integrate1d model class and improve its documentation. &lt;/code&gt;&lt;/pre&gt; 1144 - A minor cleanup of estmethods &lt;pre&gt;&lt;code&gt;A minor cleanup of the sherpa.estmethods code. &lt;/code&gt;&lt;/pre&gt; 1147 - Tests: support use of data directory being local, not absolute &lt;pre&gt;&lt;code&gt;Allow a test to pass when given a relative path for the test data directory. &lt;/code&gt;&lt;/pre&gt; 1154 - Update docs on RTD builds &lt;pre&gt;&lt;code&gt;Update docs on how the docs are build in CI &lt;/code&gt;&lt;/pre&gt; 1155 - Remove Meta class for fits hdu headers &lt;pre&gt;&lt;code&gt;Remove Meta class for header information that is used only rudimentary and acts almost, but not quite, like a dict &lt;/code&gt;&lt;/pre&gt; 1163 - XMM/RGS triggers a notice/ignore bug because channels are in reverse-energy order in RMF &lt;pre&gt;&lt;code&gt;Recent work on the ignore / notice logic in #1127 implicitly assumes that the energy grid in PHA/ARF/RMF files is in increasing order, which does not hold true for XMM/RGS data &lt;/code&gt;&lt;/pre&gt; 1164 - Fix plots with wavelength general:visualization type:bug &lt;pre&gt;&lt;code&gt;For some data files, plots with a reversed grid (i.e. plots in wavelength) were drawn with disjoint lines since #906. &lt;/code&gt;&lt;/pre&gt; 1165 - Add a section on running the tests to the developer docs &lt;pre&gt;&lt;code&gt;Add a section on running the tests to the developer docs &lt;/code&gt;&lt;/pre&gt; 1168 - Logging tweaks &lt;pre&gt;&lt;code&gt;Include the sherpa.utils.logging module in the documentation and update a test to use the caplog feature of pytest (the code had been written to work with python 2.7 version of unittest). &lt;/code&gt;&lt;/pre&gt; 1170 - Update Python and particularly number versions in documentation &lt;pre&gt;&lt;code&gt;Updates to doc pages that list dangerously old numpy versions &lt;/code&gt;&lt;/pre&gt; 1171- Improve the grouping/filtering tests &lt;pre&gt;&lt;code&gt;Add a number of tests for corner cases of filtering and grouping of PHA data. &lt;/code&gt;&lt;/pre&gt; 1172 - Improve data pha docs &lt;pre&gt;&lt;code&gt;Improve the documentation of the filtering and grouping of PHA data. &lt;/code&gt;&lt;/pre&gt; 1173 - Improve DataPha documentation &lt;pre&gt;&lt;code&gt;Minor improvements to the documentation of the DataPHA class. &lt;/code&gt;&lt;/pre&gt; 1175 - Store UI contour plots in a dictionary, not directly &lt;pre&gt;&lt;code&gt;Change the internal storage handling of contour objects &lt;/code&gt;&lt;/pre&gt; 1177 - minor rework of image handling for ui layer &lt;pre&gt;&lt;code&gt;Change the internal storage handling of image objects and improved testing &lt;/code&gt;&lt;/pre&gt; 1178 - Define physical constant hc in fewer places &lt;pre&gt;&lt;code&gt;hc (as in "Planck constant * speed of light") is a physical constant that does not depend on the DataPHA and thus it should not be defined as a class attribute. &lt;/code&gt;&lt;/pre&gt; 1180 - Minor improvements to model/parameter documentation &lt;pre&gt;&lt;code&gt;Minor fixes and improvements to the documentation (both docstrings and RTD) for the model- and parameter-related code. &lt;/code&gt;&lt;/pre&gt; 1182 - Simulations with multiple responses &lt;pre&gt;&lt;code&gt;Enable simulations with multiple ARF/RMF present (e.g. LETG/HRC). &lt;/code&gt;&lt;/pre&gt; 1183 - Check parameter link behavior &lt;pre&gt;&lt;code&gt;Minor tweaks to the parameter tests. &lt;/code&gt;&lt;/pre&gt; 1184 - Better pha model component plotting (fix #1020) &lt;pre&gt;&lt;code&gt;The use of plot_model_component and get_model_component will now automatically add the response for PHA data sets, if there is one. Model expressions which contain a response will not be changed. Fixes #1020. &lt;/code&gt;&lt;/pre&gt; 1187 - Conda GCC 9.3.0 update issue &lt;pre&gt;&lt;code&gt;update to support environment changes due to conda defaults updates for gcc 9.3.0 &lt;/code&gt;&lt;/pre&gt; 1192 - Remove Python 3.6 and add Python 3.9 &lt;pre&gt;&lt;code&gt;updates to switch python support to python 3.7-3.9 &lt;/code&gt;&lt;/pre&gt; 1194 - datastack: Improve show_stack and add _repr&lt;em&gt;html&lt;/em&gt; for stack &lt;pre&gt;&lt;code&gt;Improve datastack display (via show_stack and in the notebook) for datastacks. &lt;/code&gt;&lt;/pre&gt; 1198 - XSPEC test cleanup &lt;pre&gt;&lt;code&gt;Very minor improvement to the XSPEC test suite. &lt;/code&gt;&lt;/pre&gt; 1199 - Move the regrid code out into a separate method &lt;pre&gt;&lt;code&gt;Very minor code reorganization for the regrid code. &lt;/code&gt;&lt;/pre&gt; 1203 - Update GitLab Conda recipe to numpy 1.19 &lt;pre&gt;&lt;code&gt;updates gitlab conda recipe to python 1.19+ and adds run time pin &lt;/code&gt;&lt;/pre&gt; 1204 - region lib updates for CIAO 4.14 &lt;pre&gt;&lt;code&gt;updates to fold in changes to CIAO region lib for CIAO 4.14. Specifically, fixes for SM-89: bug in pie shape (extent/inside logic), SL-243: region - deprecate obsoleted Warning. &lt;/code&gt;&lt;/pre&gt; 1205 - Remove the SherpaTestCase class &lt;pre&gt;&lt;code&gt;Remove the SherpaTestCase class from sherpa.utils.testing and switch the tests that used it to use pytest functionality where appropriate. &lt;/code&gt;&lt;/pre&gt; 1208 - Fix get_xerr for Data1DInt when all data is filtered &lt;pre&gt;&lt;code&gt;The get_xerr method of Data1DInt would fail if all bins had been ignored and it now returns the empty list. &lt;/code&gt;&lt;/pre&gt; 1215 - Restrict the values used in PHA notice/filter calls &lt;pre&gt;&lt;code&gt;Ensure that the low and high limits for notice and ignore calls for DataPHA objects are sensible (hi &amp;gt;= lo and that for energy or wavelength filters they are &amp;gt;= 0). When filtering DataPHA objects in channel units the lo and hi arguments must be integers otherwise an error is raised. &lt;/code&gt;&lt;/pre&gt; 1216 - filter improvements for DataPHA and Data1DInt &lt;pre&gt;&lt;code&gt;Energy and wavelength filters (with notice and ignore) for PHA data are now treated as lo &amp;lt;= x &amp;lt; hi in all cases, and channel filters are lo &amp;lt;= x &amp;lt;= hi (where the channel values must be integers). For Data1DInt cases the notice and ignore filters are treated as lo &amp;lt;= x &amp;lt; hi. This changes address a number of corner cases. This can result in slightly different fit results because the data used in the fit can be changed and hence changing the number of degrees of freedom (by one or two depending on whether the first and last bins have been removed). &lt;/code&gt;&lt;/pre&gt; 1218 - Update fftw from version 3.3.8 to 3.3.9 &lt;pre&gt;&lt;code&gt;This change updates the version of the fftw module in sherpa's external dependencies (extern) directory to utilize version 3.3.9 (www.fftw.org) instead of the previous version 3.3.8 &lt;/code&gt;&lt;/pre&gt; 1219 - Fix filter expressions &lt;pre&gt;&lt;code&gt;Filter expressions for Data1DInt and DataPHA cases now report the start and end value of each set of grouped data rather than use the end points. For PHA data sets users now see the same ranges displayed whether the data is grouped or not. The actual filter remains the same even if the filter expressions has changed slightly. &lt;/code&gt;&lt;/pre&gt; 1223 - XSPEC 12.12.0 support &lt;pre&gt;&lt;code&gt;Support the new additive and multiplicative models in XSPEC 12.12.0 - XSgrbjet, XSwdem, XSvwdem, XSvvwdem are additive and XSzxipab is multiplicative - and note the additional abundance tables that are available when running with XSPEC 12.12.0 (lpgp and lpgs). &lt;/code&gt;&lt;/pre&gt; 1227 - Support AstroPy 4.3 for tests &lt;pre&gt;&lt;code&gt;The AstroPy FITS reader is less tolerant of invalid FITS files in AstroPy 4.3 which trips one of our tests. The test has been updated with a FITS file that doesn't trigger the error case. There is no functional change in this commit. &lt;/code&gt;&lt;/pre&gt; 1228 - Fix three parameter names for XSPEC models &lt;pre&gt;&lt;code&gt;Fix three XSPEC models which had some internal confusion over parameter names: XSzkerrbb should have uses fcol but had instead used hd, and XSzashift and XSzmshift used Redshift instead of Velocity. The old names have been kept as aliases. &lt;/code&gt;&lt;/pre&gt; 1230 - Update submodule to pick up submodule README &lt;pre&gt;&lt;code&gt;Updates submodule to pick up the submodule README &lt;/code&gt;&lt;/pre&gt; 1231 - Remove &lt;strong&gt;init&lt;/strong&gt;.py from tests directory &lt;pre&gt;&lt;code&gt;Clean up of a test directory. There is no functional change in this commit. &lt;/code&gt;&lt;/pre&gt; 1236 - Remove compiler warnings &lt;pre&gt;&lt;code&gt;Avoid compiler warnings from clang, fixing #1232 and several other warnings. &lt;/code&gt;&lt;/pre&gt; 1241 - to get sherpa to run Apple M1 (arm) &lt;pre&gt;&lt;code&gt;Initial support of sherpa for ARM build &lt;/code&gt;&lt;/pre&gt; 1244 - Fix "unable to parse region string: None" errors (issue #1214) &lt;pre&gt;&lt;code&gt;In certain circumstances (such as plot_pvalue with an explicit 2D PSF convolution operator read from a file) the code would fail with the error unable to parse region string: None (issue #1214). This PR fixes this problem and several minor related issues. &lt;/code&gt;&lt;/pre&gt; 1246 - Image region filters are now specified correctly (Fix #1245) &lt;pre&gt;&lt;code&gt;Update the image filter code so that the region description matches what the filter actually is: rather than use &amp;amp; to combine regions we now use | as it is a logical or rather than logical and. This is mainly going to affect users who: have used the output of get_filter() as input to calc_data_sum2d, have very-complex spatial filters, or are restoring Sherpa sessions created by save or save_all. &lt;/code&gt;&lt;/pre&gt; 1247 - Allow save_all to work well with images with no filters (Fix #437) &lt;pre&gt;&lt;code&gt;Fix a problem with the output of the save_all command if an image had been loaded but no region filter applied (fix #437): the output file would contain a notice2d_id call with a filter of "" which would fail if you tried to load the file back in. It now no-longer creates this line. &lt;/code&gt;&lt;/pre&gt; 1248 - Docs: note that set_stat can be sent a stats object &lt;pre&gt;&lt;code&gt;Update the documentation for set_stat to note you can send in a stats object &lt;/code&gt;&lt;/pre&gt; 1250 - Stop odd interaction between plot_model and PHA filters (Fix #1024) &lt;pre&gt;&lt;code&gt;plot_model(), if done before calling notice or ignore, could lead to strange filters (e.g. filter not getting applied). This has been fixed. Fixes #1024 &lt;/code&gt;&lt;/pre&gt; 1253 - More numpy 1.20 warning fixes &lt;pre&gt;&lt;code&gt;Avoid warnings from NumPy 1.20 about using the deprecated np.int symbol. &lt;/code&gt;&lt;/pre&gt; 1254 - FIX: #1235 change XSPEC chatter to 10 from 0 &lt;pre&gt;&lt;code&gt;Change the default X-Spec chatter level from 0 to 10. This may result in screen output the first time an XSPEC model is evaluated (e.g. from a plot_model or fit call). There have been a number of cases where APEC models appeared to be creating no output because of missing data files (due to old ~/.xspec/Xspec.init settings) which would have been more obvious with this change. To get back to the previous behavior users can call set_xschatter(0). &lt;/code&gt;&lt;/pre&gt; 1259 - XSPEC parameter changes - you can change the hard limits of most XSPEC parameters &lt;pre&gt;&lt;code&gt;XSPEC model parameters now use the same limits for soft and hard (the hard limit from the model.dat file). This is handled by the XSBaseParameter class which is used for XSPEC table models. The XSParameter class, which extends this and is used by most other parameters, allows the user to change the hard limits of the model. This follows XSPEC, and allows using some models which are documented as supporting a value outside the normal parameter range (normally by setting the value to a negative value). Note that this is potentially dangerous (it could crash the program) so should be used carefully. It is strongly suggested that any parameter set to a value outside of the original limits is also frozen. &lt;/code&gt;&lt;/pre&gt; 1260 - Add a module to parse XSPEC model.dat and helper scripts #1260 &lt;pre&gt;&lt;code&gt;Add support for parsing XSPEC model.dat files (useful for updating the XSPEC module or if you want to use XSPEC local models). &lt;/code&gt;&lt;/pre&gt; 1261 - update to match recent XSPEC model.dat settings &lt;pre&gt;&lt;code&gt;Update the XSPEC models to match the latest model.dat file (from HEASOFT 6.29 / XSPEC 12.12.0). This primarily changes the hard limits of the models, but there are some changes to the default parameter values as well, as well as some unit changes, including adding and removing units. &lt;/code&gt;&lt;/pre&gt; 1264 - Fix crash from grouping data using an unsupported method &lt;pre&gt;&lt;code&gt;It was possible to cause Sherpa to crash by passing an invalid function as the groupfunc argument to apply_filter and apply_group. The code now errors out instead. There are improvements to the documentation (docstring and RTD) for PHA filtering and grouping. &lt;/code&gt;&lt;/pre&gt; 1268 - Doc: switch default sphinx role &lt;pre&gt;&lt;code&gt;Multiply the number of working references on readthedocs, while at the same time reduce verbosity in the docstrings. &lt;/code&gt;&lt;/pre&gt; 1270 - Cleanup setup &lt;pre&gt;&lt;code&gt;Update the Python supported status in the package metadata (drop 3.5, add 3.8) and bump the minimum version to 3.6. &lt;/code&gt;&lt;/pre&gt; 1273 - crates backend strip preceding/trailing whitespace when determining ascii file colnames (Fix #1262) &lt;pre&gt;&lt;code&gt;This change modifies the crates backend ascii file handling to resolve issue #1262 where a test added in PR #1253 causes the tests to fail. This change may potential result in behavior changes for crates use on ascii data files (see caveat section for details). &lt;/code&gt;&lt;/pre&gt; 1276 - Fix Inconsistent behavior in save_arrays when optional parameter ascii = True/False (Fixes issue #1251) &lt;pre&gt;&lt;code&gt;Updates the data I/O so that write_arrays behaves consistently whether writing ascii or fits files via the pyfits backend. &lt;/code&gt;&lt;/pre&gt; 1279 - rm the platform cause no longer need it &lt;pre&gt;&lt;code&gt;rm the platform module since it is not needed for ARM support &lt;/code&gt;&lt;/pre&gt; 1281 - RTD: include parse_xspec_model_description &lt;pre&gt;&lt;code&gt;Fix a link on the Read The Docs pages from PR #1260 &lt;/code&gt;&lt;/pre&gt; 1282 - Add Zenodo details for 4.13.1 &lt;pre&gt;&lt;code&gt;Include the Zenodo details for the 4.13.1 release into the hard-coded list of releases. &lt;/code&gt;&lt;/pre&gt; 1285 - Added an option to reflect minim about the boundary &lt;pre&gt;&lt;code&gt;This PR adds the option on how the optimization minim will behave if the free parameter is beyond the limit. The default parameter reflect is True (will reflect by an equal amount about the limit). If reflect is set to False then model function will return DBL_MAX (~1e308) and therefore it will not be included in the simplex. &lt;/code&gt;&lt;/pre&gt; 1287 - Remove C++ warning when compiling the pileup code &lt;pre&gt;&lt;code&gt;Use unique_ptr rather than auto_ptr in the pileup code to avoid C++ warnings. Fix #505 &lt;/code&gt;&lt;/pre&gt; 1288 - Improve the PHA simulation documentation &lt;pre&gt;&lt;code&gt;Fix up some links in the RTD documentation for simulating PHA data. &lt;/code&gt;&lt;/pre&gt; 1290 - Fix the string output of CDFPlot &lt;pre&gt;&lt;code&gt;Corrected the order of the points, x, and y values when displaying a CDFPlot object, improve support for a list argument, and made minor additions to the documentation in the sherpa.plot module. &lt;/code&gt;&lt;/pre&gt; 1291 - Comment: add link to the OSTI.GOV URL for the optimizing document &lt;pre&gt;&lt;code&gt;Add a reference to the OSTI.GOV technical report in the comments in the C++ code used for testing the optimization functions. &lt;/code&gt;&lt;/pre&gt; 1292 - Update tests that were changed by #1246 &lt;pre&gt;&lt;code&gt;Fix tests that started to fail once #1246 was merged. &lt;/code&gt;&lt;/pre&gt; 1293 -RTD: add a "how to optimize a function" example &lt;pre&gt;&lt;code&gt;Add a section to the ReadTheDocs site explaining how to "optimize a function" as this is something we can do but only really with the low-level code. &lt;/code&gt;&lt;/pre&gt; 1294 - RTD: Fix some sphinx warnings (sherpa.models.regrid) &lt;pre&gt;&lt;code&gt;Fix a minor warning when generating t</dct:description>
    <dct:accessRights rdf:resource="http://publications.europa.eu/resource/authority/access-right/PUBLIC"/>
    <dct:accessRights>
      <dct:RightsStatement rdf:about="info:eu-repo/semantics/openAccess">
        <rdfs:label>Open Access</rdfs:label>
      </dct:RightsStatement>
    </dct:accessRights>
    <dcat:distribution>
      <dcat:Distribution>
        <dcat:accessURL rdf:resource="https://doi.org/10.5281/zenodo.5554957"/>
      </dcat:Distribution>
    </dcat:distribution>
    <dcat:distribution>
      <dcat:Distribution>
        <dcat:accessURL rdf:resource="https://doi.org/10.5281/zenodo.5554957"/>
        <dcat:byteSize>15477074</dcat:byteSize>
        <dcat:downloadURL rdf:resource="https://zenodo.org/record/5554957/files/sherpa/sherpa-4.14.0.zip"/>
        <dcat:mediaType>application/zip</dcat:mediaType>
      </dcat:Distribution>
    </dcat:distribution>
  </rdf:Description>
</rdf:RDF>
2,737
127
views
downloads
All versions This version
Views 2,737152
Downloads 1274
Data volume 1.6 GB61.9 MB
Unique views 2,156134
Unique downloads 914

Share

Cite as