<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-9628502</id><updated>2012-01-20T17:02:54.186-05:00</updated><category term='HEAsoft'/><category term='Admin'/><category term='extractor'/><category term='chandra'/><category term='Fortran'/><category term='LISA'/><category term='xspec'/><category term='xselect'/><category term='Preprints'/><category term='Web2.0'/><category term='Suzaku'/><category term='WebSpec'/><category term='Ubuntu'/><category term='statistics'/><category term='ASCA'/><category term='computing'/><category term='cfitsio'/><category term='XMM'/><title type='text'>XSPECtor</title><subtitle type='html'>Keith's blog on XSPEC, related software and anything else I need to remember</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default?start-index=101&amp;max-results=100'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>503</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9628502.post-8395898025321980304</id><published>2012-01-20T17:01:00.001-05:00</published><updated>2012-01-20T17:02:54.196-05:00</updated><title type='text'>Trapping a crash when plotting and a new tclout option</title><content type='html'>&lt;table align="center" border="0" cellpadding="0" cellspacing="0" width="680"&gt;&lt;tbody&gt;&lt;tr align="LEFT" valign="TOP"&gt;&lt;td width="90"&gt;&lt;b&gt;12.7.0t&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;Fix for a crash which may occur when attempting to &lt;b&gt;plot data&lt;/b&gt; for a                        spectrum which contains &lt;b&gt;no noticed channels&lt;/b&gt;.  Our thanks to Eduardo Ojero Pascual                        for pointing this out.                          Report added on Jan 03, 2012.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="LEFT" valign="TOP"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.7.0u&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;This adds a new &lt;b&gt;tclout&lt;/b&gt; option, &lt;b&gt;tclout rerror&lt;/b&gt;, which is                        necessary for retrieving the results of an &lt;b&gt;rerror&lt;/b&gt; command run                        on &lt;b&gt;gain parameters&lt;/b&gt;.  The syntax for this is:                       &lt;br /&gt;&lt;br /&gt;                          tclout rerror [&amp;lt; source number&amp;gt;:]&amp;lt; gain par number&amp;gt;                       &lt;br /&gt;&lt;br /&gt;                                               Our thanks to Matteo Guainazzi for bringing                        this to our attention.                        Report added on Jan 18, 2012.                        &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-8395898025321980304?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/8395898025321980304/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=8395898025321980304' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/8395898025321980304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/8395898025321980304'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2012/01/trapping-crash-when-plotting-and-new.html' title='Trapping a crash when plotting and a new tclout option'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-1458018591585781994</id><published>2011-12-24T11:16:00.001-05:00</published><updated>2011-12-24T11:18:43.936-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>A couple of patches to relatively obscure xspec bugs</title><content type='html'>&lt;table align="center" border="0" cellpadding="0" cellspacing="0" width="680"&gt;&lt;tbody&gt;&lt;tr align="LEFT" valign="TOP"&gt;&lt;td width="90"&gt;&lt;span style="color:red"&gt;&lt;b&gt;12.7.0r&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;                        &lt;td&gt;When using &lt;b&gt;C-stat&lt;/b&gt;, if spectra with no backgrounds and &lt;b&gt;different exposures&lt;/b&gt; and/or                         &lt;b&gt;areascales&lt;/b&gt; are collected into the &lt;b&gt;same data group&lt;/b&gt;, the renorming operation                        will miscalculate and can disrupt the fit.  Our thanks to Jeremy Sanders for pointing this out.                        Report added on Dec 06, 2011.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="LEFT" valign="TOP"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.7.0s&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;Fix for bug which caused errors in the &lt;b&gt;apec&lt;/b&gt; model when running                        &lt;b&gt;v1.x&lt;/b&gt; of AtomDB and the &lt;b&gt;wilm&lt;/b&gt; abundance option.                        Report added on Dec 08, 2011.                       &lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-1458018591585781994?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/1458018591585781994/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=1458018591585781994' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/1458018591585781994'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/1458018591585781994'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2011/12/couple-of-patches-to-relatively-obscure.html' title='A couple of patches to relatively obscure xspec bugs'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-5484908227650034403</id><published>2011-11-17T17:44:00.001-05:00</published><updated>2011-11-17T17:45:15.873-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>xspec patches 12.7.0p and q</title><content type='html'>&lt;table align="center" border="0" cellpadding="0" cellspacing="0" width="680"&gt;&lt;tbody&gt;&lt;tr align="LEFT" valign="TOP"&gt;&lt;td width="90"&gt;&lt;b&gt;12.7.0p&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;Fix for the obscure case of a model containing both 1) &lt;b&gt;frozen norm&lt;/b&gt; parameters                        AND 2) an &lt;b&gt;unfrozen norm&lt;/b&gt; for an additive component to the &lt;b&gt;left&lt;/b&gt; of a multiplicative component.                        When these conditions exist the &lt;b&gt;renorm&lt;/b&gt; operation may break, causing a fit to go astray.                        Our thanks to Hauke Worpel for pointing this out.                        Report added on Oct 28, 2011.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="LEFT" valign="TOP"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.7.0q&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;Enhancements for &lt;b&gt;PyXspec&lt;/b&gt;.  This adds the object attribute &lt;b&gt;Model.expression&lt;/b&gt;                        which stores the model expression string.  It also adds &lt;b&gt;AllModels.sources&lt;/b&gt;                        to the global AllModels container.  This is a dictionary object containing                        the current source numbers with their assigned active models.  Its key:value pairs are:                        [source number]:[model name]. Our thanks to Adam Mantz for these suggestions.                         Report added on Oct 28, 2011.                       &lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-5484908227650034403?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/5484908227650034403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=5484908227650034403' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/5484908227650034403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/5484908227650034403'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2011/11/xspec-patches-1270p-and-q.html' title='xspec patches 12.7.0p and q'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-2718828637386289549</id><published>2011-10-18T16:12:00.001-05:00</published><updated>2011-10-18T16:14:06.512-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>xspec patches 12.7.0l-o</title><content type='html'>&lt;table align="center" border="0" cellpadding="0" cellspacing="0" width="680"&gt;&lt;tbody&gt;&lt;tr align="LEFT" valign="TOP"&gt;&lt;td width="90"&gt;&lt;b&gt;12.7.0l&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;A crash can occur when trying to plot data while using a &lt;b&gt;dummy response&lt;/b&gt;                        with no channel array.  Our thanks to Randall Smith for pointing this out.                        Report added on Oct 05, 2011.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="LEFT" valign="TOP"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.7.0m&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;An enhancement for &lt;b&gt;PyXspec&lt;/b&gt;.  This adds the new function &lt;b&gt;AllModels.simpars()&lt;/b&gt;,                        which provides the same functionality as standard XSPEC's &lt;b&gt;tclout simpars&lt;/b&gt; command.  The                        simulated parameter values are returned as a tuple of floats.  Our thanks to Martin Sparre                        for this suggestion.                        Report added on Oct 05, 2011.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="LEFT" valign="TOP"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.7.0n&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;A fix for &lt;b&gt;PyXspec&lt;/b&gt;.  When a Parameter object's &lt;b&gt;frozen&lt;/b&gt; attribute is toggled                        (to either freeze or thaw the parameter), the fit statistic's degrees-of-freedom doesn't                        get updated until a new fit is performed.  It ought to be updated immediately.  Our thanks                        to Sebastien Guillot for pointing this out.                        Report added on Oct 05, 2011.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="LEFT" valign="TOP"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.7.0o&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;An enhancement for &lt;b&gt;PyXspec&lt;/b&gt;.  This adds the new attribute                        &lt;b&gt;Fit.covariance&lt;/b&gt;, which holds (in a tuple) the covariance matrix values from                        the most recent fit.  Our thanks to Sebastien Guillot for this suggestion.                        Report added on Oct 11, 2011.                        &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/issues/pfiles/fit.py"&gt;&lt;br /&gt;&lt;/a&gt;                                               &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-2718828637386289549?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/2718828637386289549/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=2718828637386289549' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/2718828637386289549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/2718828637386289549'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2011/10/xspec-patches-1270l-o.html' title='xspec patches 12.7.0l-o'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-4111680618632436152</id><published>2011-09-13T11:33:00.001-05:00</published><updated>2011-09-13T11:38:13.295-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>xspec patches 12.7.0i,j,k</title><content type='html'>&lt;table align="center" border="0" cellpadding="0" cellspacing="0" width="680"&gt;&lt;tbody&gt;&lt;tr align="LEFT" valign="TOP"&gt;&lt;td width="90"&gt;&lt;b&gt;12.7.0i&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;This fixes an obscure case where erroneous usage of "?" for &lt;b&gt;command summary&lt;/b&gt; display                        is causing a crash.  Our thanks to Sebastien Guillot for pointing this out.                        Report added on Sep 07, 2011.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="LEFT" valign="TOP"&gt;                        &lt;td width="90"&gt;&lt;span style="color:red"&gt;&lt;b&gt;12.7.0j&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;                        &lt;td&gt;Fix needed to allow &lt;b&gt;gain fit parameters&lt;/b&gt; to be used along with custom energy                        arrays supplied by the &lt;b&gt;energies&lt;/b&gt; command.  (This includes the &lt;b&gt;energies extend&lt;/b&gt;                        option.)  Our thanks to Dominic Walton for pointing this out.                         Report added on Sep 07, 2011.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="LEFT" valign="TOP"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.7.0k&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;For &lt;b&gt;PyXspec&lt;/b&gt; only.  This improves the output of the &lt;b&gt;Model.folded()&lt;/b&gt; class                        method for the case where there are &lt;b&gt;ignored&lt;/b&gt; channels.  Previously, bins in the folded                        model array were set to zero when they corresponded to ignored channels.  Now they are removed from                        the array altogether.  This ensures that the length of the folded model array always matches                        the number of noticed channels.  Our thanks to Nakisa Nooraee for pointing this out.                         Report added on Sep 08, 2011.                        &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/issues/pfiles/PyModel.cxx"&gt;&lt;br /&gt;&lt;/a&gt;                                               &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-4111680618632436152?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/4111680618632436152/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=4111680618632436152' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/4111680618632436152'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/4111680618632436152'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2011/09/xspec-patches-1270ijk.html' title='xspec patches 12.7.0i,j,k'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-1936224237709378542</id><published>2011-09-02T15:23:00.001-05:00</published><updated>2011-09-02T15:24:49.395-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>Two PyXspec patches</title><content type='html'>&lt;table align="center" border="0" cellpadding="0" cellspacing="0" width="680"&gt;&lt;tbody&gt;&lt;tr align="LEFT" valign="TOP"&gt;&lt;td width="90"&gt;&lt;b&gt;12.7.0g&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;Minor fix for when retrieving &lt;b&gt;plot arrays&lt;/b&gt; (using &lt;b&gt;tclout plot&lt;/b&gt; in standard                        XSPEC, or &lt;b&gt;Plot.x()&lt;/b&gt; and &lt;b&gt;Plot.y()&lt;/b&gt; in &lt;b&gt;PyXspec&lt;/b&gt;).  This removes the                        trailing zeros that padded the arrays when plot points were removed with the                        &lt;b&gt;ignore&lt;/b&gt; or &lt;b&gt;setplot rebin&lt;/b&gt; commands.  Our thanks to Alexander Gewering-Peine                        for pointing this out.                        Report added on Aug 12, 2011.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="LEFT" valign="TOP"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.7.0h&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;Fix for &lt;b&gt;PyXspec&lt;/b&gt; only.  Earlier patch 12.7.0f introduced a bug which                         occurs when a &lt;b&gt;non-norm&lt;/b&gt; parameter is modified and set to a &lt;b&gt;parameter link&lt;/b&gt;.                        In this case it does not perform the necessary automatic model recalculation.  Our thanks                        to Adam Mantz for pointing this out.                        Report added on Aug 25, 2011.                       &lt;br /&gt;&lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/issues/pfiles/PyModel.cxx"&gt;&lt;br /&gt;&lt;/a&gt;                                               &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-1936224237709378542?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/1936224237709378542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=1936224237709378542' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/1936224237709378542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/1936224237709378542'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2011/09/two-pyxspec-patches.html' title='Two PyXspec patches'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-2065581017455528185</id><published>2011-08-04T08:49:00.002-05:00</published><updated>2011-08-04T08:56:58.700-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>A model for fitting power spectra in xspec</title><content type='html'>A model from Adam Ingram and Chris Done for the power spectra from black hole binaries is now available from the &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/newmodels.html"&gt;new models page&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I've added a &lt;a href="https://astrophysics.gsfc.nasa.gov/XSPECwiki/fitting_timing_power_spectra_in_XSPEC"&gt;note&lt;/a&gt; based on &lt;a href="http://arxiv.org/abs/1108.0789"&gt;their paper&lt;/a&gt; to the &lt;a href="https://astrophysics.gsfc.nasa.gov/XSPECwiki/XSPECPage"&gt;XSPEC wiki&lt;/a&gt; which explains how to read power spectra into XSPEC.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-2065581017455528185?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/2065581017455528185/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=2065581017455528185' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/2065581017455528185'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/2065581017455528185'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2011/08/model-for-fitting-power-spectra-in.html' title='A model for fitting power spectra in xspec'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-5086050684820510541</id><published>2011-07-28T09:53:00.003-05:00</published><updated>2011-07-28T09:57:29.856-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>New models available</title><content type='html'>Two new sets of models are now available through the XSPEC extra models page (http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/newmodels.html)&lt;br /&gt;&lt;br /&gt;logpar and eplogpar are power-laws whose indices have a log parabolic energy dependence. These models are widely used in blazar research.&lt;br /&gt;&lt;br /&gt;optxagnf and optxagn are models for AGN which combine a colour temperature corrected disc and energetically coupled Comptonisation.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-5086050684820510541?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/5086050684820510541/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=5086050684820510541' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/5086050684820510541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/5086050684820510541'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2011/07/new-models-available.html' title='New models available'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-4835706897622044398</id><published>2011-07-21T11:11:00.002-05:00</published><updated>2011-07-21T11:14:40.749-05:00</updated><title type='text'>Update to PyXspec</title><content type='html'>A patch (12.7.0f) is &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/bugs.html"&gt;available&lt;/a&gt; which adds the ability to set multiple parameters at the same time in PyXspec. This can be a significant speed-up since the current version evaluates the model after each individual parameter change.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-4835706897622044398?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/4835706897622044398/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=4835706897622044398' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/4835706897622044398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/4835706897622044398'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2011/07/update-to-pyxspec.html' title='Update to PyXspec'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-5368210436287463088</id><published>2011-07-05T12:32:00.002-05:00</published><updated>2011-07-05T12:38:31.039-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>XSPEC and Chandra grating spectra</title><content type='html'>I have recently become aware (thanks to Lijun Gou and Mike Nowak) that the Chandra HETG ARF files include an EXPOSURE keyword which may differ from that in the spectrum (PHA2) file. If you are using XSPEC to analyze these spectra you should check whether the EXPOSURE values differ and if so replace that in the PHA2 file with the value from the ARF. The difference should only be significant if CC-mode was used.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-5368210436287463088?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/5368210436287463088/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=5368210436287463088' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/5368210436287463088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/5368210436287463088'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2011/07/xspec-and-chandra-grating-spectra.html' title='XSPEC and Chandra grating spectra'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-7908453706140586866</id><published>2011-07-05T11:35:00.002-05:00</published><updated>2011-07-05T11:43:01.339-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>A note on the gabs model</title><content type='html'>&lt;a href="http://www.astro.ufl.edu/%7Eoyk100/"&gt;Oleg Kargaltsev&lt;/a&gt; has pointed out that the gaussian absorption line (gabs) is badly documented. The third parameter is called Tau although it is not the optical depth. The &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/manual/XSmodelGabs.html"&gt;on-line help page&lt;/a&gt; has been amended and the gabs entry in model.dat will be changed so that the third parameter is just called Strength. In practice, if the optical depth is small then the third parameter is the equivalent width of the line.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-7908453706140586866?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/7908453706140586866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=7908453706140586866' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/7908453706140586866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/7908453706140586866'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2011/07/note-on-gabs-model.html' title='A note on the gabs model'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-399375068175181543</id><published>2011-06-28T15:51:00.004-05:00</published><updated>2011-06-28T15:57:42.515-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>Patch to replace AtomDB 2.0 with 2.0.1 in xspec</title><content type='html'>We have updated the current HEAsoft release downloads to replace AtomDB 2.0 with AtomDB 2.0.1 following the discovery of an error in the 2.0 RRC data. If you have already downloaded HEAsoft 6.11 (containing XSPEC 12.7.0) you can either get the fix from the HEAsoft issues page (&lt;a href="http://heasarcdev.gsfc.nasa.gov/lheasoft/issues.html"&gt;http://heasarcdev.gsfc.nasa.gov/lheasoft/issues.html&lt;/a&gt;) or patch 12.7.0e from the XSPEC bugs page (&lt;a href="http://xspec.gsfc.nasa.gov/docs/xanadu/xspec/bugs.html"&gt;http://xspec.gsfc.nasa.gov/docs/xanadu/xspec/bugs.html&lt;/a&gt;).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-399375068175181543?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/399375068175181543/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=399375068175181543' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/399375068175181543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/399375068175181543'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2011/06/patch-to-replace-atomdb-20-with-201-in.html' title='Patch to replace AtomDB 2.0 with 2.0.1 in xspec'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-1754251082988288563</id><published>2011-06-09T16:46:00.002-05:00</published><updated>2011-06-09T17:00:06.840-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>AtomDB v2.0 support added to xspec in v12.7</title><content type='html'>The new release of xspec uses AtomDB 2.0 for the various apec models. Since AtomDB 2.0 includes all elements to Zn there are a couple of issues to note.&lt;br /&gt;&lt;br /&gt;1. New models vvapec and bvvapec allow all AtomDB 2.o elements to be varied independently.&lt;br /&gt;&lt;br /&gt;2. By default the apec, bapec, vapec and bvapec models set to Solar the abundances of the elements included in AtomDB 2.0 but not in earlier versions (we refer to these as the trace elements). To set these abundances to zero use "xset APEC_TRACE_ABUND 0.0". The trace element abundances can be set to any value or linked to the abundance of one of the more common elements e.g. "xset APEC_TRACE_ABUND Fe".&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-1754251082988288563?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/1754251082988288563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=1754251082988288563' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/1754251082988288563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/1754251082988288563'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2011/06/atomdb-v20-support-added-to-xspec-in.html' title='AtomDB v2.0 support added to xspec in v12.7'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-4693807235796207190</id><published>2011-06-09T16:03:00.002-05:00</published><updated>2011-06-09T16:11:26.922-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>xspec v12.7 released</title><content type='html'>The latest xspec release is now available through the &lt;a href="http://heasarc.gsfc.nasa.gov/docs/software/lheasoft/download.html"&gt;HEAsoft download page&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The major new feature is the beta release of the Python xspec module. This is built and installed automatically on most platforms if the source code distribution is downloaded. PyXspec is not intended as a replacement for the current user interface but provides an alternative method for scripting xspec.&lt;br /&gt;&lt;br /&gt;To learn more see the &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/python/html/"&gt;PyXspec users' manual&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-4693807235796207190?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/4693807235796207190/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=4693807235796207190' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/4693807235796207190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/4693807235796207190'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2011/06/xspec-v127-released.html' title='xspec v12.7 released'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-7189100645827136418</id><published>2011-05-31T11:21:00.002-05:00</published><updated>2011-05-31T11:29:35.813-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>pexmon model</title><content type='html'>Paul Nandra's &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/models/pexmon.html"&gt;pexmon &lt;/a&gt;model has been added to the &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/newmodels.html"&gt;more models page&lt;/a&gt;. This is a modification of Paul's original code to work with recent versions of xspec.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-7189100645827136418?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/7189100645827136418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=7189100645827136418' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/7189100645827136418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/7189100645827136418'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2011/05/pexmon-model.html' title='pexmon model'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-3520550192003913946</id><published>2011-03-08T14:24:00.003-05:00</published><updated>2011-03-08T14:29:41.583-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>eqpair model and redshift convolution models</title><content type='html'>The next xspec release (due April-ish) will include eqpair as a standard model. At the prompting of Andrzej Zdziarski, I have added the ability to write out the temperature of the thermal electron distribution if chatter is set to 15. Andrzej notes that this provides an important self-consistency check.&lt;br /&gt;&lt;br /&gt;Also at Andrzej's suggestion the new version will include zashift and zmshift convolution models to redshift additive and multiplicative components, respectively.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-3520550192003913946?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/3520550192003913946/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=3520550192003913946' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/3520550192003913946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/3520550192003913946'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2011/03/eqpair-model-and-redshift-convolution.html' title='eqpair model and redshift convolution models'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-2038796973859750554</id><published>2011-03-08T14:18:00.001-05:00</published><updated>2011-03-08T14:19:39.950-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>patch update</title><content type='html'>A couple of minor patches can be found at the &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/bugs.html"&gt;usual place&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;table width="680" align="center" border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr valign="TOP" align="LEFT"&gt;&lt;td width="90"&gt;&lt;b&gt;12.6.0y&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;Both the &lt;b&gt;writefits&lt;/b&gt; tcl script and the &lt;b&gt;tclout error&lt;/b&gt; command                        fail when dealing with a &lt;b&gt;scale&lt;/b&gt; or &lt;b&gt;switch&lt;/b&gt; parameter.  Our thanks                         to Juan Luna for pointing this out.                        Report added on Jan 31, 2011.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr valign="TOP" align="LEFT"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.6.0z&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;If a spectral data file has both &lt;b&gt;quality&lt;/b&gt; and &lt;b&gt;grouping&lt;/b&gt;                        columns, and &lt;b&gt;all&lt;/b&gt; of the channel qualities are marked as &lt;b&gt;bad&lt;/b&gt;, it will crash                        upon loading on Linux platforms.  Our thanks to Fabio Pintore for pointing this out.                         Report added on Feb 09, 2011.                        &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-2038796973859750554?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/2038796973859750554/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=2038796973859750554' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/2038796973859750554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/2038796973859750554'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2011/03/patch-update.html' title='patch update'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-596182087819223661</id><published>2011-01-13T10:42:00.002-05:00</published><updated>2011-01-13T10:53:25.421-05:00</updated><title type='text'>Minor enhancement of fakeit and fix to model weighting</title><content type='html'>New patches for xspec which can be found in the &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/bugs.html"&gt;usual place&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;table align="center" border="0" cellpadding="0" cellspacing="0" width="680"&gt;&lt;tbody&gt;&lt;tr align="LEFT" valign="TOP"&gt;&lt;td width="90"&gt;&lt;span style="color:red;"&gt;&lt;b&gt;12.6.0w&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;                        &lt;td&gt;This adds a new option for the &lt;b&gt;fakeit&lt;/b&gt; command.  When prompted                         for the exposure time and correction norm, you may now enter a 3rd argument                        to change the fake &lt;b&gt;background exposure time&lt;/b&gt;.  Previously this parameter was                        fixed by the exposure time in the original background file upon which the                        fake background was based.  For backwards compatibility, fakeit will produce                        the same behavior as before if this argument is not entered.  Our thanks to                        Francois Dufor for making this suggestion.                               Report added on Jan 11, 2011.                      &lt;br /&gt;&lt;br /&gt;                      &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="LEFT" valign="TOP"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.6.0x&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;When the &lt;b&gt;model weighting&lt;/b&gt; option of the &lt;b&gt;weight&lt;/b&gt; command is                        selected and applied to a spectrum with a &lt;b&gt;background&lt;/b&gt; file, the variance                        ought to include the background in addition to the model.  Our thanks to                        Giacomo Vianello for bringing this to our attention.                         Report added on Jan 11, 2011.                      &lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-596182087819223661?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/596182087819223661/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=596182087819223661' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/596182087819223661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/596182087819223661'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2011/01/minor-enhancement-of-fakeit-and-fix-to.html' title='Minor enhancement of fakeit and fix to model weighting'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-6736005547423550054</id><published>2010-11-03T11:30:00.002-05:00</published><updated>2010-11-03T11:32:23.473-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>xspec in python testers wanted</title><content type='html'>We have an alpha release of xspec for python available. This only supports a subset of commands as yet but we would like some volunteers to try it out and provide feedback on what they like and don't like as well as priorities for what to add next. Please e-mail us at the usual xspec12 address.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-6736005547423550054?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/6736005547423550054/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=6736005547423550054' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/6736005547423550054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/6736005547423550054'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2010/11/xspec-in-python-testers-wanted.html' title='xspec in python testers wanted'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-4783456464381296753</id><published>2010-10-22T12:49:00.002-05:00</published><updated>2010-10-22T12:51:52.762-05:00</updated><title type='text'>Minor fixes for MCMC code and new tclout version option</title><content type='html'>&lt;table align="center" border="0" cellpadding="0" cellspacing="0" width="680"&gt;&lt;tbody&gt;&lt;tr align="LEFT" valign="TOP"&gt;&lt;td width="90"&gt;&lt;b&gt;12.6.0t&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;Various improvements made to the &lt;b&gt;chain&lt;/b&gt; (MCMC) command:                        Removed misleading multiple chain output from the &lt;b&gt;chain stat&lt;/b&gt; command                        when only 1 chain is loaded.  Clarification added to the 1-D &lt;b&gt;plot margin&lt;/b&gt; label.                        If chains are loaded, &lt;b&gt;tclout simpar&lt;/b&gt; may now be used without a valid fit and                        even if no spectra are loaded.   Bug fix to the definition of the &lt;b&gt;Rubin-Gelman&lt;/b&gt;                        convergence measure.  Our thanks to Simon Vaughan for pointing these issues out.                        This patch also fixes a bug wherein a "Chain IO" error may appear due to the selection                        of row 0 when internally accessing random rows in chains.                        Report added on Oct 22, 2010.                      &lt;br /&gt;&lt;br /&gt;                      &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="LEFT" valign="TOP"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.6.0u&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;This adds a new &lt;b&gt;tclout version&lt;/b&gt; option, making it easier to access the                        XSPEC version string from inside of Tcl scripts.  Our thanks to Stefano Bianchi for                        this suggestion.                        Report added on Oct 22, 2010.                      &lt;br /&gt;&lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/issues/pfiles/xsTclout.cxx"&gt;&lt;/a&gt;                        &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-4783456464381296753?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/4783456464381296753/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=4783456464381296753' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/4783456464381296753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/4783456464381296753'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2010/10/minor-fixes-for-mcmc-code-and-new.html' title='Minor fixes for MCMC code and new tclout version option'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-6474213090041847844</id><published>2010-09-29T14:08:00.002-05:00</published><updated>2010-09-29T14:16:44.268-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>HEAsoft 6.10 available</title><content type='html'>The latest version of HEAsoft is available from &lt;a href="http://heasarc.gsfc.nasa.gov/docs/software/lheasoft/"&gt;the usual place&lt;/a&gt;. The only change to xspec is to include bug patches up to 12.6.0q. However, this release includes an update to QDP/PLT which fixes a problem when saving xspec plots to qdp files.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-6474213090041847844?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/6474213090041847844/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=6474213090041847844' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/6474213090041847844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/6474213090041847844'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2010/09/heasoft-610-available.html' title='HEAsoft 6.10 available'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-2053514460325564756</id><published>2010-09-28T16:37:00.003-05:00</published><updated>2010-09-28T16:42:31.345-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>TBnew</title><content type='html'>I've added a link on the &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/newmodels.html"&gt;xspec additional models page&lt;/a&gt; to &lt;a href="http://pulsar.sternwarte.uni-erlangen.de/wilms/research/tbabs/"&gt;Jörn Wilms' high-resolution ISM absorption model&lt;/a&gt;. This should be used by anyone analyzing grating spectra.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-2053514460325564756?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/2053514460325564756/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=2053514460325564756' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/2053514460325564756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/2053514460325564756'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2010/09/tbnew.html' title='TBnew'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-5608360543361877614</id><published>2010-07-28T10:56:00.003-05:00</published><updated>2010-07-28T11:01:33.784-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>A note on the pileup model</title><content type='html'>It is easy to misinterpret the "PSF fraction" parameter in the pileup model. A natural reading is to suppose that this means the fraction of the PSF which is included in the source extraction region. This is not correct. For the pileup model to work well the extraction region should be large enough to include essentially all the PSF. The "PSF fraction" parameter is actually the fraction of counts detected which should not be included in the pileup calculation. The manual will be modified to make this clearer. My thanks to Pat Broos for pointing out this potential confusion.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-5608360543361877614?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/5608360543361877614/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=5608360543361877614' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/5608360543361877614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/5608360543361877614'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2010/07/note-on-pileup-model.html' title='A note on the pileup model'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-6172922863079706696</id><published>2010-07-27T15:25:00.002-05:00</published><updated>2010-07-27T15:29:35.659-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>cplinear model</title><content type='html'>I have added &lt;a href="http://www.astro.psu.edu/index.php/directory/department-directory/astro-people?uid=psb6"&gt;Pat Broos&lt;/a&gt;' &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/models/cplinear.html"&gt;cplinear&lt;/a&gt; model to the &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/newmodels.html"&gt;additional models&lt;/a&gt; page. This is a non-physical model developed within the &lt;a href="http://www.astro.psu.edu/xray/docs/TARA/ae_users_guide.html"&gt;AE package&lt;/a&gt; to handle background in the low count case.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-6172922863079706696?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/6172922863079706696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=6172922863079706696' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/6172922863079706696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/6172922863079706696'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2010/07/cplinear-model.html' title='cplinear model'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-5982271924031787023</id><published>2010-07-12T22:14:00.002-05:00</published><updated>2010-07-12T22:17:48.281-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>Yaqoob &amp; Murphy toroidal reprocessor model</title><content type='html'>I've added a link to the &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/newmodels.html"&gt;additional models page&lt;/a&gt; for the Yaqoob &amp;amp; Murphy model for X-ray obscuration and reflection by a toroidal reprocessor, valid in the Compton-thick regime.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-5982271924031787023?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/5982271924031787023/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=5982271924031787023' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/5982271924031787023'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/5982271924031787023'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2010/07/yaqoob-murphy-toroidal-reprocessor.html' title='Yaqoob &amp; Murphy toroidal reprocessor model'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-5084677569563041574</id><published>2010-07-08T11:21:00.002-05:00</published><updated>2010-07-08T11:27:03.357-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>new local models</title><content type='html'>I have added two new local model pages to the &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/newmodels.html"&gt;collection&lt;/a&gt;. &lt;a href="http://science.gsfc.nasa.gov/sed/index.cfm?fuseAction=people.jumpBio&amp;amp;&amp;amp;iPhonebookId=11974"&gt;Maurice Leutenegger&lt;/a&gt; has supplied his &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/models/windprof.html"&gt;models for hot star winds&lt;/a&gt; and &lt;a href="http://www.physics.gatech.edu/people/faculty/dballantyne.html"&gt;David Ballantyne&lt;/a&gt; has provided table model files for the &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/models/bbrefl.html"&gt;reflection of a blackbody from a constant density ionized accretion disk&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-5084677569563041574?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/5084677569563041574/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=5084677569563041574' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/5084677569563041574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/5084677569563041574'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2010/07/new-local-models.html' title='new local models'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-111990851724672702</id><published>2010-05-26T14:02:00.001-05:00</published><updated>2010-05-26T14:04:00.645-05:00</updated><title type='text'>xspec patches from May</title><content type='html'>&lt;table align="center" border="0" cellpadding="0" cellspacing="0" width="680"&gt;&lt;tbody&gt;&lt;tr align="LEFT" valign="TOP"&gt;&lt;td width="90"&gt;&lt;b&gt;12.6.0i&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;When running an XSPEC script, if a call to a &lt;b&gt;user-defined  Tcl procedure&lt;/b&gt; immediately                         follows a call to an XSPEC &lt;b&gt;multi-line command&lt;/b&gt;  (such as &lt;b&gt;model&lt;/b&gt;, &lt;b&gt;fakeit&lt;/b&gt;, or &lt;b&gt;editmod&lt;/b&gt;),                        the procedure is not executed if its definition  is in a &lt;b&gt;nested&lt;/b&gt; script called from                         the current script file.  Our thanks to Paul  Nulsen for pointing this out.                        Report added on May 11, 2010.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="LEFT" valign="TOP"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.6.0j&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;A crash occurs when a &lt;b&gt;delcomp&lt;/b&gt;  operation is performed AND one or more parameters are &lt;b&gt;linked                        to multiple parameters&lt;/b&gt;.                        Our thanks to Jeremy Sanders for pointing this  out.                        Report added on May 19, 2010.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="LEFT" valign="TOP"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.6.0k&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;The &lt;b&gt;tclout modval&lt;/b&gt; option should output  a model's flux array even                        when &lt;b&gt;no spectra&lt;/b&gt; are loaded. (In this case  XSPEC will ignore the spectrum number parameter.)                        Our thanks to Veronica Biffi for pointing this  out.                        Report added on May 26, 2010.                       &lt;br /&gt;&lt;a href="http://128.183.240.223/docs/xanadu/xspec/issues/pfiles/xsTclout.cxx"&gt;&lt;/a&gt;                        &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-111990851724672702?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/111990851724672702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=111990851724672702' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/111990851724672702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/111990851724672702'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2010/05/xspec-patches-from-may.html' title='xspec patches from May'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-3012636481802998360</id><published>2010-05-04T09:33:00.002-05:00</published><updated>2010-05-04T09:36:50.516-05:00</updated><title type='text'>xspec patches from April</title><content type='html'>A few problems in 12.6 have been identified and patched. Information and patches are available on the xspec &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/issues/issues.html"&gt;bugs page&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;table align="center" border="0" cellpadding="0" cellspacing="0" width="680"&gt;&lt;tbody&gt;&lt;tr align="LEFT" valign="TOP"&gt;&lt;td width="90"&gt;&lt;b&gt;12.6.0c&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;The &lt;b&gt;setplot rebin&lt;/b&gt; option does not work  properly when used in                        &lt;b&gt;energy/wavelength mode&lt;/b&gt; AND channel  energies are listed in &lt;b&gt;descending order&lt;/b&gt;                        in the response EBOUNDS extension.  Our thanks to  Roderick Johnstone for pointing this out.                        Report added on Apr 01, 2010.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="LEFT" valign="TOP"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.6.0d&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;The chi-square does not change when running &lt;b&gt;steppar&lt;/b&gt;  on the                        &lt;b&gt;redshift z&lt;/b&gt; parameter of a &lt;b&gt;table model&lt;/b&gt;.    Our thanks to Jeremy Sanders for pointing this out.                          Report added on Apr 08, 2010.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="LEFT" valign="TOP"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.6.0e&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;This improves the &lt;b&gt;initpackage&lt;/b&gt; local  models tool so that it now                         recognizes &lt;b&gt;*.f03&lt;/b&gt; file extensions for &lt;b&gt;Fortran  2003&lt;/b&gt; code, and it also now                          allows &lt;b&gt;*.f90&lt;/b&gt; extensions.  Our thanks to  Pablo Cassatella for bringing this issue to our attention.                          Report added on Apr 15, 2010.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="LEFT" valign="TOP"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.6.0f&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;For better compatibility with previous XSPEC  releases, when &lt;b&gt;multi-panel plots&lt;/b&gt; are performed interactively                        with &lt;b&gt;iplot&lt;/b&gt;, the first panel should be  designated PLT's currently active window rather                        than the last panel.  Our thanks to Maria  Caballero-Garcia for pointing this out.                        Report added on Apr 21, 2010.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="LEFT" valign="TOP"&gt;                        &lt;td width="90"&gt;&lt;span style="color: red;"&gt;&lt;b&gt;12.6.0g&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;                        &lt;td&gt;This increases an internal buffer for  handling PLT command                        strings.  A larger size is now necessary when  producing &lt;b&gt;multi-panel plots&lt;/b&gt;                        which happen to contain a large number of plot  vectors.  Our thanks to Lijun Gou for pointing this out.                        Report added on Apr 30, 2010.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="LEFT" valign="TOP"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.6.0h&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;A couple of modifications to the behavior of &lt;b&gt;steppar&lt;/b&gt;  when not starting from a &lt;b&gt;best fit&lt;/b&gt;:                        The delta fit statistic column will now show  values relative to the original fit statistic, not the                        value it has after steppar performs an initial  renormalization.  Also when steppar detects a                        &lt;b&gt;new best fit&lt;/b&gt;, it will now prompt the user  only when the improvement exceeds the                        current setting of the fit's &lt;b&gt;critical delta&lt;/b&gt;  parameter.  Our thanks to Jeremy Sanders                        for this suggestion.  Report added on Apr 30,  2010.                       &lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-3012636481802998360?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/3012636481802998360/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=3012636481802998360' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/3012636481802998360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/3012636481802998360'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2010/05/xspec-patches-from-april.html' title='xspec patches from April'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-886758302332445968</id><published>2010-04-01T13:38:00.001-05:00</published><updated>2010-04-01T13:40:27.637-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xselect'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>xselect bug in new release</title><content type='html'>Aargh ! There is an error in xselect in the new HEAsoft release. It has been fixed this morning but anyone who has already downloaded the distribution will need to replace the xselect.mdb by one available on the &lt;a href="http://heasarc.gsfc.nasa.gov/docs/software/lheasoft/bugs.html"&gt;bugs page&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-886758302332445968?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/886758302332445968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=886758302332445968' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/886758302332445968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/886758302332445968'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2010/04/xselect-bug-in-new-release.html' title='xselect bug in new release'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-9203245357999409460</id><published>2010-03-31T13:15:00.003-05:00</published><updated>2010-03-31T13:17:25.768-05:00</updated><title type='text'>First two patches for xspec 12.6</title><content type='html'>We received two xspec bug reports whose fixes were too late to include in the latest release. Patches are in the &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/bugs.html"&gt;usual place&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;table align="center" border="0" cellpadding="0" cellspacing="0" width="680"&gt;&lt;tbody&gt;&lt;tr align="LEFT" valign="TOP"&gt;&lt;td width="90"&gt;&lt;b&gt;12.6.0a&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;XSPEC issues a fatal error if the &lt;b&gt;swind1&lt;/b&gt;  and &lt;b&gt;zxipcf&lt;/b&gt;                        models are both used within the same session.   Our thanks to Matteo Cerruti                        for pointing this out. Report added on Mar 29,  2010.                        &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="LEFT" valign="TOP"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.6.0b&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;When applying fractional &lt;b&gt;systematic errors&lt;/b&gt;  to multiple channels &lt;b&gt;grouped&lt;/b&gt; into                        a single bin, XSPEC should multiply by the square  of the sum of the binned channels                        rather than the sum of the squares of the  individual channels.  Our thanks to                         Mike Nowak for pointing this out.                        Report added on Mar 31, 2010.                        &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-9203245357999409460?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/9203245357999409460/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=9203245357999409460' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/9203245357999409460'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/9203245357999409460'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2010/03/first-two-patches-for-xspec-126.html' title='First two patches for xspec 12.6'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-7620466621433099337</id><published>2010-03-30T10:36:00.002-05:00</published><updated>2010-03-30T10:41:23.444-05:00</updated><title type='text'>xspec 12.6 released</title><content type='html'>&lt;a href="http://heasarc.gsfc.nasa.gov/docs/software/lheasoft/"&gt;HEAsoft 6.9&lt;/a&gt; is out including xspec v12.6. The release notes are below.&lt;br /&gt;&lt;br /&gt;One point to note is that there have been internal changes to the models using the Magzdiarz &amp;amp; Zdziarski Compton reflection code. If there are local models out there which use internals from the xspec models they may break. Let us know and we will fix them.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;New features in v12.6.0:&lt;br /&gt;&lt;br /&gt;The main improvements in version 12.6.0 are to XSPEC's plotting capabilities:&lt;br /&gt;&lt;br /&gt; - Multi-panel plotting is now supported for all combinations except&lt;br /&gt;   contour plots.  For example, "plot data model resid ratio" will&lt;br /&gt;   produce a 4-panel plot on a single page. Up to 6 panels can be&lt;br /&gt;   plotted in this manner.&lt;br /&gt;&lt;br /&gt; - There are many choices for axis units.  These can be selected&lt;br /&gt;   using the "setplot energy" and "setplot wave" commands. For&lt;br /&gt;   example, "setplot energy GeV" uses GeV on the x- and y-axes.&lt;br /&gt;   "setplot wave" also has a new "perhz" option for displaying&lt;br /&gt;   the Y-axis in 1/Hz units.&lt;br /&gt;  &lt;br /&gt; - The "setplot" command has a new "redshift &lt;z&gt;" option for shifting&lt;br /&gt;   displayed energies to the source frame.&lt;br /&gt;  &lt;br /&gt;Other new features:&lt;br /&gt;&lt;br /&gt; - New models :&lt;br /&gt;      ireflect is a convolution model based on the pexriv code.&lt;br /&gt;      sirf is a multiblackbody self-irradiated funnel&lt;br /&gt;&lt;br /&gt; - The normalizations on all power-law models (ie. powerlaw,&lt;br /&gt;   bknpow, bkn2pow, cutoffpl)can be changed to a flux over an&lt;br /&gt;   energy range by setting POW_EMIN and POW_EMAX keywords in "xset".&lt;br /&gt;   The powerlaw model then becomes equivalent to the pegpwlw model.&lt;br /&gt;&lt;br /&gt; - The Compton reflection models (b/p)exr(a/i)v and (i)reflect have&lt;br /&gt;   been restructured to use adaptive Gauss-Kronrod quadrature for&lt;br /&gt;   the Greens' function integrals. The precision to which the&lt;br /&gt;   integrals are calculated can be set allowing a trade-off between&lt;br /&gt;   speed and precision.&lt;br /&gt;  &lt;br /&gt; - The wrapper functions additiveTable and multiplicativeTable&lt;br /&gt;   give external C++ models access to XSPEC's table model interpolation&lt;br /&gt;   routines (equivalent to the xsatbl and xsmtbl functions for Fortran&lt;br /&gt;   models).&lt;br /&gt;&lt;br /&gt;-  The display of link expressions has been simplified to show only the&lt;br /&gt;   parameter numbers and not the extraneous component information.&lt;br /&gt;   Also "show model" will now only display the model components and&lt;br /&gt;   not the individual parameters.  The parameters can be seen with&lt;br /&gt;   "show par". &lt;br /&gt;&lt;br /&gt;Additional enhancements previously released as patches to 12.5.1:&lt;br /&gt;&lt;br /&gt; - Added the solar abundance data set of Asplund, Grevesse, and Sauval&lt;br /&gt;   (2006) to the list of available tables accessed with the "abund"&lt;br /&gt;   command.&lt;br /&gt;  &lt;br /&gt; - New "tclout nchan" option for returning the number of channels in a&lt;br /&gt;   spectrum.&lt;br /&gt;  &lt;br /&gt; - The "save" command now stores relative rather than absolute paths to&lt;br /&gt;   allow easier porting to other machines.&lt;br /&gt;  &lt;br /&gt; - The recorn model component has been converted from a mixing to a&lt;br /&gt;   multiplicative type.  This allows a model to define multiple recorn&lt;br /&gt;   components.&lt;br /&gt;&lt;br /&gt; - A warning message is now issued if a user attempts to load a&lt;br /&gt;   response for a source n when there are still slots to fill for&lt;br /&gt;   source n-1.  This is intended to catch cases where a user mistakenly&lt;br /&gt;   reverses the source and spectrum number input to the "response"&lt;br /&gt;   command.&lt;br /&gt;  &lt;br /&gt;All bug fixes to v12.5.1 released as patches a - o are included in&lt;br /&gt;v12.6.0.  In addition the following problems have been corrected:&lt;br /&gt;&lt;br /&gt; - It was possible for the addition of a systematic model error to&lt;br /&gt;   actually decrease the overall variance, when it was applied to a&lt;br /&gt;   zero-variance bin that was artificially increased by XSPEC for chi-&lt;br /&gt;   square fitting.&lt;br /&gt;  &lt;br /&gt; - Bug in "plot ratio" when using "setplot wave" with Hz units.  Y-axis&lt;br /&gt;   model values &lt; 10^-20 were not displayed in plot.&lt;br /&gt;  &lt;br /&gt; - The comptt model no longer stops and prompts the user when it fails&lt;br /&gt;   during its incomplete gamma calculation.&lt;br /&gt;  &lt;br /&gt; - The powerlaw model has been modified to avoid a numerical&lt;br /&gt;   instability that could occur if the index were within 10^-12 to&lt;br /&gt;   10^-15 of 1.0.&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-7620466621433099337?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/7620466621433099337/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=7620466621433099337' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/7620466621433099337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/7620466621433099337'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2010/03/xspec-126-released.html' title='xspec 12.6 released'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-6389126205066004303</id><published>2010-02-26T14:56:00.002-05:00</published><updated>2010-02-26T15:07:50.637-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>Plotting updates</title><content type='html'>The plotting in xspec has been restructured for greater flexibility. The main changes are as follows:&lt;br /&gt;&lt;br /&gt;1. Up to six plots can be put on a single page. eg "plot data resid ratio model"&lt;br /&gt;&lt;br /&gt;2. There are options for the units on both x- and y-axis. "setplot energy" can now be used to plot the x-axis in keV, MeV, GeV, or Hz. "setplot wave" as the unit options angstrom, cm, micron, or nm. y-axis units are mostly modified in the obvious way depending on the x-axis choice. For setplot energy options any energies in the y-axis unit will be the same as chosen for the y-axis. The exception is for the choice of Hz when emodel/eufspec is in Jy and eemodel/eeufspec in ergs/cm^2/s. For setplot wave options energies in the y-axis unit are in ergs. An additional choice is available for setplot wave : the command "setplot wave perhz" will put y-axis units in /Hz. In this case the emodel/eufspec and eemodel/eeufspec units are the same as for setplot energy hz. The option can be turned off by "setplot wave perhz off".&lt;br /&gt;&lt;br /&gt;3. "setplot redshift" can be used to shift energies in plots to the source frame assuming the redshift given. Note that this is not connected in any way to redshift parameters in the model and should only be used for illustrative purposes.&lt;br /&gt;&lt;br /&gt;These changes are available in the Goddard development version and will be included in the next HEAsoft release.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-6389126205066004303?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/6389126205066004303/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=6389126205066004303' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/6389126205066004303'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/6389126205066004303'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2010/02/plotting-updates.html' title='Plotting updates'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-814404941150556008</id><published>2010-02-26T14:51:00.003-05:00</published><updated>2010-02-26T14:56:15.539-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>xspec power-law models</title><content type='html'>Added option to peg all the power-law models (ie powerlaw, bknpow, bkn2pow, cutoffpl) in the same way that the pegged power-law operates. If POW_EMIN and POW_EMAX are set (using xset) then all these models will have their normalizations adjusted to be the flux in (POW_EMIN,POW_EMAX) in units of 1e-12 erg/cm&lt;sup class="moz-txt-sup"&gt;2&lt;/sup&gt;/s or, if POW_EMIN=POW_EMAX, the flux density at POW_EMIN in units of micro-Jy.&lt;br /&gt;&lt;br /&gt;A couple of things to watch out for are : POW_EMIN and POW_EMAX should lie within the energy range being calculated; the xset command doesn't automatically update the model so either POW_EMIN or POW_EMAX should be set before defining the model or a parameter value should be changed immediately after the xset.&lt;br /&gt;&lt;br /&gt;These changes will be included in the next heasoft release.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-814404941150556008?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/814404941150556008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=814404941150556008' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/814404941150556008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/814404941150556008'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2010/02/xspec-power-law-models.html' title='xspec power-law models'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-8294940293835267121</id><published>2010-01-28T12:45:00.001-05:00</published><updated>2010-01-28T12:46:57.308-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>xspec bugs update</title><content type='html'>Not much activity in xspec bug reporting and fixing. The only recent &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/bugs.html"&gt;patch&lt;/a&gt; is&lt;br /&gt;&lt;br /&gt;&lt;b&gt;12.5.1o&lt;/b&gt;                        Small fix to calculation of &lt;b&gt;plot emodel/eemodel&lt;/b&gt; and &lt;b&gt;eufspec/eeufspec&lt;/b&gt;                        when in &lt;b&gt;setplot wave&lt;/b&gt; mode.  This correction is only noticeable for very wide                        bins (bin widths approximately the size as the bin energy).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-8294940293835267121?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/8294940293835267121/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=8294940293835267121' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/8294940293835267121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/8294940293835267121'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2010/01/xspec-bugs-update.html' title='xspec bugs update'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-9036384609731714911</id><published>2010-01-19T22:09:00.002-05:00</published><updated>2010-01-19T22:11:11.112-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xselect'/><title type='text'>xselect and Einstein IPC data</title><content type='html'>Rich Mushotzky reported that xselect doesn't work on Einstein IPC event files. This was due to a bug in reading data from the MDB which only appears to be triggered in this specific case. I've checked in a fix. A workaround is to run extractor on its own and specify the xfkey, yfkey, xhkey, yhkey, and phamax hidden parameters.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-9036384609731714911?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/9036384609731714911/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=9036384609731714911' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/9036384609731714911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/9036384609731714911'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2010/01/xselect-and-einstein-ipc-data.html' title='xselect and Einstein IPC data'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-6095211619452765443</id><published>2009-12-16T12:25:00.001-05:00</published><updated>2009-12-16T12:26:33.534-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WebSpec'/><title type='text'>updated Webspec for Chandra Cycle 12</title><content type='html'>Replaced the Cycle 11 responses and arfs with those for Cycle 12 and bumped the Chandra mission options to the top of the menu.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-6095211619452765443?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/6095211619452765443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=6095211619452765443' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/6095211619452765443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/6095211619452765443'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/12/updated-webspec-for-chandra-cycle-12.html' title='updated Webspec for Chandra Cycle 12'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-3074007897534456367</id><published>2009-12-15T15:09:00.003-05:00</published><updated>2009-12-15T15:17:03.876-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>Snow Leopard</title><content type='html'>I've upgraded my MacBook Pro from Tiger all the way to Snow Leopard so here are a few observations.&lt;br /&gt;&lt;br /&gt;1. Heasoft builds and runs successfully using gcc from Xcode (4.2.1) and gfortran from the R project Mac installer (&lt;a href="http://r.research.att.com/tools/"&gt;http://r.research.att.com/tools/&lt;/a&gt; : 4.2.3).&lt;br /&gt;&lt;br /&gt;2. Heasoft builds and runs successfully using gcc from Xcode (4.2.1) and gfortran from the fink-installed gcc44 package (4.4.2).&lt;br /&gt;&lt;br /&gt;3. Heasoft builds but xspec crashes using gcc and gfortran from the fink-installed gcc44 package. The problem appears to be conflicts in exception handling perhaps involving the system X11 library.&lt;br /&gt;&lt;br /&gt;4. The iStat Menus application can be used to monitor usage of individual cores. I find that when running compute-intensive processes (such as xspec) both cores on my laptop get hammered. This implies that Apple, at least, are performing some parallelization in the compiler without specific user directives. This may depend on optimization settings.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-3074007897534456367?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/3074007897534456367/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=3074007897534456367' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/3074007897534456367'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/3074007897534456367'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/12/snow-leopard.html' title='Snow Leopard'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-6532212038079322235</id><published>2009-11-17T13:13:00.001-05:00</published><updated>2009-11-17T13:15:23.808-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>replaced broken power law model code with C++</title><content type='html'>Rationalized the broken power law model code. Rewritten in C++ and calls powerLaw to evaluate individual sections of the model.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-6532212038079322235?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/6532212038079322235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=6532212038079322235' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/6532212038079322235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/6532212038079322235'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/11/replaced-broken-power-law-model-code.html' title='replaced broken power law model code with C++'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-1020241616811187844</id><published>2009-11-13T16:36:00.003-05:00</published><updated>2009-11-13T16:37:41.738-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>cflux model</title><content type='html'>One thing to note about the cflux model which is not clear in the documentation is that the model component(s) to which cflux is applied must integrate to a non-zero flux. For instance, cflux*pow where the pow norm is zero will generate NaNs from a divide-by-zero.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-1020241616811187844?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/1020241616811187844/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=1020241616811187844' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/1020241616811187844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/1020241616811187844'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/11/cflux-model.html' title='cflux model'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-359187664717060115</id><published>2009-11-13T15:47:00.002-05:00</published><updated>2009-11-13T15:49:15.511-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><category scheme='http://www.blogger.com/atom/ns#' term='extractor'/><title type='text'>obscure extractor bug</title><content type='html'>Under some circumstances ROTANG elements in the output region extension could have junk values but only for region types where the rotation angle is irrelevant. This is fixed in extractor v5.14.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-359187664717060115?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/359187664717060115/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=359187664717060115' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/359187664717060115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/359187664717060115'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/11/obscure-extractor-bug.html' title='obscure extractor bug'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-2449265536959496821</id><published>2009-11-04T15:24:00.001-05:00</published><updated>2009-11-04T15:27:22.785-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xselect'/><title type='text'>updated xselect XMM script</title><content type='html'>Updated the script run by save spectrum in the XMM case since I had assumed that CCDNR was the first DS keyword which appears not to always be the case.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-2449265536959496821?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/2449265536959496821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=2449265536959496821' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/2449265536959496821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/2449265536959496821'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/11/updated-xselect-xmm-script.html' title='updated xselect XMM script'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-679196077487851523</id><published>2009-10-23T13:38:00.003-05:00</published><updated>2009-10-23T13:59:47.547-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WebSpec'/><title type='text'>WebSpec diagonal response</title><content type='html'>In answer to a request from &lt;a href="http://www.roe.ac.uk/ifa/people/al.html"&gt;Andy Lawrence&lt;/a&gt; I've added a unit diagonal response option to &lt;a href="http://heasarc.gsfc.nasa.gov/webspec/webspec.html"&gt;WebSpec&lt;/a&gt;. It appears at the bottom of the Mission/Instrument menu.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-679196077487851523?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/679196077487851523/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=679196077487851523' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/679196077487851523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/679196077487851523'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/10/webspec-diagonal-response.html' title='WebSpec diagonal response'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-2180929972395077140</id><published>2009-10-08T14:36:00.002-05:00</published><updated>2009-10-08T14:37:48.249-05:00</updated><title type='text'>bug in addascaspec</title><content type='html'>The addascaspec perl script in HEAsoft v6.7 does not run. A fixed version is available through the &lt;a href="http://heasarc.gsfc.nasa.gov/docs/software/lheasoft/bugs.html"&gt;HEAsoft bugs page&lt;/a&gt;. Note that addascaspec can be used for spectra from missions other than ASCA.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-2180929972395077140?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/2180929972395077140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=2180929972395077140' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/2180929972395077140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/2180929972395077140'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/10/bug-in-addascaspec.html' title='bug in addascaspec'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-796256084653258199</id><published>2009-10-08T14:32:00.004-05:00</published><updated>2009-10-08T14:35:46.981-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>definition of cemekl model</title><content type='html'>Paul Nulsen points out that the help for the &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/manual/XSmodelCemekl.html"&gt;cemekl&lt;/a&gt; (and cevmkl) model is misleading. The actual differential emission measure equation is dEM = (T/T_{max})^{alpha-1} dT/T_{max}. The documentation will be changed to match this.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-796256084653258199?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/796256084653258199/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=796256084653258199' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/796256084653258199'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/796256084653258199'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/10/definition-of-cemekl-model.html' title='definition of cemekl model'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-1113964707003971506</id><published>2009-10-08T14:23:00.001-05:00</published><updated>2009-10-08T14:23:36.749-05:00</updated><title type='text'>patches for xspec v12.5.1</title><content type='html'>Patches 12.5.1a - k are available at the &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/bugs.html"&gt;usual place&lt;/a&gt;. The most important are 12.5.1c and e which add the Solar abundances from Asplund et al. (2009) to the options and 12.5.1i which modifies the way the &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/manual/XSmodelRecorn.html"&gt;recorn&lt;/a&gt; model works (following comments from &lt;a href="http://mamacass.ucsd.edu/people/rrothschild.html"&gt;Rick Rothschild&lt;/a&gt;).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-1113964707003971506?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/1113964707003971506/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=1113964707003971506' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/1113964707003971506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/1113964707003971506'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/10/patches-for-xspec-v1251.html' title='patches for xspec v12.5.1'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-3662104073971601670</id><published>2009-09-03T09:32:00.001-05:00</published><updated>2009-09-03T09:33:36.424-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><category scheme='http://www.blogger.com/atom/ns#' term='extractor'/><title type='text'>max size of GTI arrays in extractor</title><content type='html'>At Lorella's request I increased the allowed GTI array size to 200,000. This should really be a dynamic array but that would require an extensive rewrite.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-3662104073971601670?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/3662104073971601670/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=3662104073971601670' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/3662104073971601670'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/3662104073971601670'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/09/max-size-of-gti-arrays-in-extractor.html' title='max size of GTI arrays in extractor'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-5730884735968800609</id><published>2009-08-19T20:27:00.002-05:00</published><updated>2009-09-08T12:12:01.578-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>Solar abundances in xspec</title><content type='html'>&lt;a href="http://www-xray.ast.cam.ac.uk/%7Ejss/"&gt;Jeremy Sanders&lt;/a&gt; provided Solar abundances from &lt;a href="http://adsabs.harvard.edu/abs/2005ASPC..336...25A"&gt;Asplund, Grevesse &amp;amp; Sauval (2005)&lt;/a&gt; which I have added to abundances.dat in the develop version of xspec.&lt;br /&gt;&lt;br /&gt;Update 9/8/09: Martin Asplund supplied values from his 2009 &lt;a href="http://arjournals.annualreviews.org/doi/abs/10.1146/annurev.astro.46.060407.145222"&gt;ARAA&lt;/a&gt; paper so I used them instead for the aspl abundance option.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-5730884735968800609?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/5730884735968800609/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=5730884735968800609' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/5730884735968800609'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/5730884735968800609'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/08/solar-abundances-in-xspec.html' title='Solar abundances in xspec'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-8454279444910362168</id><published>2009-08-19T20:25:00.001-05:00</published><updated>2009-08-19T20:27:01.372-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><category scheme='http://www.blogger.com/atom/ns#' term='extractor'/><title type='text'>light curves with extractor</title><content type='html'>Alex requested a way of better controlling the start time of a light curve created using extractor. I've added a new parameter lcstart which sets the time of the first bin (in spacecraft time units). This is checked into the development version as extractor v5.12.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-8454279444910362168?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/8454279444910362168/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=8454279444910362168' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/8454279444910362168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/8454279444910362168'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/08/light-curves-with-extractor.html' title='light curves with extractor'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-7586531683906322379</id><published>2009-08-19T20:19:00.002-05:00</published><updated>2009-08-19T20:24:02.976-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Suzaku'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>cleansis</title><content type='html'>We have seen a few cases of observations of bright sources using Suzaku where running cleansis creates a hole in the image. Part of the problem is running with too high a log probability parameter but there is also a subtle error when iterating. Pixels which are already identified as bad and have their counts set to zero are still included when calculating the local background. This artificially lowers the estimated background hence increases the probability that a pixel will be flagged as bad.&lt;br /&gt;&lt;br /&gt;I changed the algorithm so that pixels flagged as bad in previous iterations are ignored when calculating the local background. This change has been checked into the development version.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-7586531683906322379?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/7586531683906322379/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=7586531683906322379' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/7586531683906322379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/7586531683906322379'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/08/cleansis.html' title='cleansis'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-9152797182095423129</id><published>2009-08-19T16:59:00.002-05:00</published><updated>2009-08-19T17:06:21.583-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>New release</title><content type='html'>HEAsoft 6.7 is now &lt;a href="http://heasarc.gsfc.nasa.gov/docs/software/lheasoft/download.html"&gt;available&lt;/a&gt;. This includes XSPEC v12.5.1. The biggest change is in gain fitting which has been reworked as the preliminary step towards allowing the creation of response models. Response models will be created analogously to spectral models and will be used to either replace or augment response matrices.&lt;br /&gt;&lt;br /&gt;This release is also the first which does not include XSPEC v11. This version has in practice not been supported for some time and it is getting increasingly difficult to ensure that it builds and runs on all systems.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-9152797182095423129?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/9152797182095423129/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=9152797182095423129' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/9152797182095423129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/9152797182095423129'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/08/new-release.html' title='New release'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-7830626223042763349</id><published>2009-06-12T12:53:00.001-05:00</published><updated>2009-06-12T12:55:27.532-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>XSPEC bug fixes update</title><content type='html'>&lt;table align="center" border="0" cellpadding="0" cellspacing="0" width="680"&gt;&lt;tbody&gt;&lt;tr align="left" valign="top"&gt;&lt;td width="90"&gt;&lt;span style="color: red;"&gt;&lt;b&gt;12.5.0af&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;                        &lt;td&gt;The &lt;b&gt;zredden&lt;/b&gt; multiplicative model component is calling the same function                        as &lt;b&gt;redden&lt;/b&gt;, and therefore its &lt;b&gt;redshift&lt;/b&gt; parameter has no effect.  Our thanks                        to Brian Refsdal for pointing this out.                        Report added on May 05, 2009.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.5.0ag&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;When in &lt;b&gt;setplot wave&lt;/b&gt; mode and the user's Xspec.init file entry for                        WAVE_PLOT_UNITS is set to &lt;b&gt;angstrom&lt;/b&gt;, &lt;b&gt;plot efficiency&lt;/b&gt; and &lt;b&gt;plot icounts&lt;/b&gt; don't                        display due to a missing plot label error.  Our thanks to Maurice Leutenegger for                        pointing this out.                        Report added on May 08, 2009.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.5.0ah&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;Fix to sqrt(2) error in the definition of the thermal broadening used in APEC models.                        Our thanks to Irina Zhuravleva for pointing this out.                        Report added on May 21, 2009.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;span style="color: red;"&gt;&lt;b&gt;12.5.0ai&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;                        &lt;td&gt;This adds a new C-callable function to provide access to the &lt;b&gt;version string&lt;/b&gt;                        for users linking the XSPEC models library into their own programs.  The function is                        declared in src/XSUtil/FunctionUtils/xsFortran.h, and has the prototype:&lt;br /&gt;&lt;br /&gt;                       int xs_getVersion(char* buffer, int buffSize);&lt;br /&gt;&lt;br /&gt;                       Report added on May 22, 2009.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;span style="color: red;"&gt;&lt;b&gt;12.5.0aj&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;                        &lt;td&gt;The &lt;b&gt;model&lt;/b&gt; command fails to parse expressions that are explicitly of the form:                        M(M1(A1)+M2(A2)+M3(A3)).  Our thanks to Jeremy Sanders for pointing this out.                                               Report added on May 22, 2009.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.5.0ak&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;When &lt;b&gt;soft limits&lt;/b&gt; are in use during fitting, the &lt;b&gt;pegged parameter&lt;/b&gt; test                        should be comparing the actual value against the hard limits, not the adjusted value.                        Otherwise the parameter may in some cases peg too soon.  Report added on June 08, 2009.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.5.0al&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;The same sqrt(2) fix mentioned in patch 12.5.0ah is needed when                        thermal broadening is turned on for v2.0 NEI models.  Our thanks to Richard Sturm                         for pointing this out.                        Report added on June 08, 2009.                       &lt;br /&gt;&lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/issues/pfiles/neispec.f"&gt;&lt;/a&gt;                        &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-7830626223042763349?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/7830626223042763349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=7830626223042763349' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/7830626223042763349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/7830626223042763349'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/06/xspec-bug-fixes-update.html' title='XSPEC bug fixes update'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-2659677452435237289</id><published>2009-06-12T12:43:00.002-05:00</published><updated>2009-06-12T12:49:00.783-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xselect'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>xselect cleansis</title><content type='html'>Fixed a bug spotted by Ed Cackett that the iterate_clean parameter is not recognized. Just needed to add it to the xselect.key file.&lt;br /&gt;&lt;br /&gt;Note that there are issues turning up using the probabilistic sisclean tool for bright Suzaku sources. There is a tendency for the core of the PSF to be removed. Suggested fixes are either to change the critical probability or turn the iteration off.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-2659677452435237289?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/2659677452435237289/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=2659677452435237289' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/2659677452435237289'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/2659677452435237289'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/06/xselect-cleansis.html' title='xselect cleansis'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-9212208037376138567</id><published>2009-05-26T17:31:00.001-05:00</published><updated>2009-05-26T17:33:21.788-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>self-irradiated funnel</title><content type='html'>Pavel Abolmasov sent in his self-irradiated funnel model (&lt;a href="http://adsabs.harvard.edu/abs/2009PASJ...61..213A"&gt;Abolmasov et al. 2009&lt;/a&gt;) and I added an entry to the &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/newmodels.html"&gt;new models web page&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-9212208037376138567?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/9212208037376138567/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=9212208037376138567' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/9212208037376138567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/9212208037376138567'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/05/self-irradiated-funnel.html' title='self-irradiated funnel'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-2443104944167387006</id><published>2009-05-26T14:11:00.001-05:00</published><updated>2009-05-26T14:12:41.838-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>addascaspec</title><content type='html'>The perl script addascapec, which is actually useful for other missions in addition to ASCA, had a couple of problems which I've fixed. The default errmeth should have been POISS-0 instead of POISS-1 and this parameter was not being used when summing background spectra.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-2443104944167387006?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/2443104944167387006/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=2443104944167387006' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/2443104944167387006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/2443104944167387006'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/05/addascaspec.html' title='addascaspec'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-2681850079012664362</id><published>2009-05-23T21:16:00.000-05:00</published><updated>2009-05-23T21:17:48.998-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='statistics'/><title type='text'>Lexicon of handy statistical methods</title><content type='html'>Andrew Gelman's &lt;a href="http://www.stat.columbia.edu/%7Ecook/movabletype/archives/2009/05/handy_statistic.html"&gt;statistical lexicon&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-2681850079012664362?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/2681850079012664362/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=2681850079012664362' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/2681850079012664362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/2681850079012664362'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/05/lexicon-of-handy-statistical-methods.html' title='Lexicon of handy statistical methods'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-5140903456059066892</id><published>2009-05-15T15:11:00.003-05:00</published><updated>2009-06-08T12:42:21.875-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>bug in thermal broadening</title><content type='html'>Irina Zhuravleva at MPE pointed out that the thermal broadening option in the xspec apec model gives a sigma which is a factor of sqrt(2) too large. Fortunately, I don't think has any science implications since there have been no observations capable of measuring this broadening.&lt;br /&gt;&lt;br /&gt;update on 6/8/09: Richard Sturm points out there is the same error in the NEI code.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-5140903456059066892?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/5140903456059066892/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=5140903456059066892' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/5140903456059066892'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/5140903456059066892'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/05/bug-in-thermal-broadening.html' title='bug in thermal broadening'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-4425332598725333598</id><published>2009-05-11T14:24:00.002-05:00</published><updated>2009-05-11T14:27:50.738-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>panda/epanda/bpanda regions</title><content type='html'>I've added support to cfitsio region filtering for the panda/epanda/bpanda regions produced by ds9. Note that this assumes only one azimuthal region and one annulus although the region specification itself allows multiple for both. Made corresponding changes in extractor though note that the FITS region extension written in this case is not covered by the standard which does not include these shapes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-4425332598725333598?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/4425332598725333598/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=4425332598725333598' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/4425332598725333598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/4425332598725333598'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/05/pandaepandabpanda-regions.html' title='panda/epanda/bpanda regions'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-7998538893072180414</id><published>2009-05-07T09:11:00.002-05:00</published><updated>2009-05-07T09:16:05.509-05:00</updated><title type='text'>Spectral file format standard document</title><content type='html'>I updated the &lt;a href="http://heasarc.gsfc.nasa.gov/docs/heasarc/ofwg/docs/spectra/ogip_92_007/ogip_92_007.html"&gt;PHA file standard document&lt;/a&gt; to try to make it clearer. I fixed an error in the type II example which had HDUCLAS3 and HDUCLAS4 inverted.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-7998538893072180414?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/7998538893072180414/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=7998538893072180414' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/7998538893072180414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/7998538893072180414'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/05/spectral-file-format-standard-document.html' title='Spectral file format standard document'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-8928875474457255781</id><published>2009-04-14T10:08:00.002-05:00</published><updated>2009-04-14T10:10:15.761-05:00</updated><title type='text'>XSPEC bug fixes update</title><content type='html'>Here are the bug fixes from the last month. They can be found in the &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/bugs.html"&gt;usual place&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;table align="center" border="0" cellpadding="0" cellspacing="0" width="680"&gt;&lt;tbody&gt;&lt;tr align="left" valign="top"&gt;&lt;td width="90"&gt;&lt;b&gt;12.5.0w&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;A &lt;b&gt;new tclout option&lt;/b&gt; has been added to make it easier to retrieve the fit                        parameters' &lt;b&gt;sigma&lt;/b&gt; values.  The syntax for this option is:&lt;br /&gt;&lt;br /&gt;                       tclout sigma [&lt;&gt;:]n&lt;br /&gt;&lt;br /&gt;                       where n is the parameter number.  If it is not a variable parameter or if the                        fit was unable to calculate its sigma, a value of -1.0 is returned.                        Report added on Mar 06, 2009.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.5.0x&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;The model.dat entry for the &lt;b&gt;vequil&lt;/b&gt; model is missing the parameter for Ar                         abundance, causing the vequil parameters which follow it to be misinterpreted in the code.                        (This bug does not affect the &lt;b&gt;equil&lt;/b&gt; model.)  Report added on Mar 06, 2009.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.5.0y&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;The &lt;b&gt;kerrconv&lt;/b&gt; convolution model code is still using the xspec11-only LMODDIR                         environment variable for locating the &lt;b&gt;kerrtable.dat&lt;/b&gt; model data file.  This should be modified for                        usage in xspec12, where LMODDIR doesn't exist.                        Report added on Mar 11, 2009.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.5.0z&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;This removes an ambiguous reference build error specific to &lt;b&gt;gcc-4.1.1&lt;/b&gt; on the &lt;b&gt;Solaris-2.9                        platform&lt;/b&gt;.  Our thanks to Dacheng Lin for pointing this out.                        Report added on Mar 26, 2009.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.5.0aa&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;The &lt;b&gt;diskir&lt;/b&gt; model goes to infinity when its &lt;b&gt;rirr&lt;/b&gt; parameter = 1.0,                         which is also the default value of rirr's lower limit.  Our thanks to Brian Refsdal                        for pointing this out.                        Report added on Mar 26, 2009.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.5.0ab&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;The &lt;b&gt;nsmax&lt;/b&gt; model function is only able to find its auxiliary files when it                        is run directly from XSPEC's model data directory (heasoft-6.x/spectral/modelData).                          Our thanks to Stephen Doe for pointing this out.                        Report added on Mar 31, 2009.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;span style="color: red;"&gt;&lt;b&gt;12.5.0ac&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;                        &lt;td&gt;Fixes to a couple of obscure cases of &lt;b&gt;gain parameter&lt;/b&gt; usage:                        If a gain parameter belongs to a response temporarily replaced by a                         &lt;b&gt;dummy response&lt;/b&gt;, or a gain parameter is indirectly removed through the &lt;b&gt;data&lt;/b&gt;                        command erasing its associated spectrum and response, the gain shift may still                        be applied to a response occupying its former spectrum and source number.  This patch also                        improves the &lt;b&gt;show response&lt;/b&gt; output.                        Report added on Apr 06, 2009.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.5.0ad&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;The &lt;b&gt;nthcomp&lt;/b&gt; model has an uninitialized variable for the case of                        input energies less than kT_bb/10^4, which may cause a crash to occur.  Our thanks to                        Gulab Dewangan for pointing this out.                        Report added on Apr 14, 2009.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.5.0ae&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;For those linking the models library into their own programs, the                        &lt;b&gt;swind1&lt;/b&gt; model crashes when outputing a warning message as it indirectly                        accesses a variable intended for use only in XSPEC.  Our thanks to Stephen Doe for pointing this out.                         Report added on Apr 14, 2009.                        &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-8928875474457255781?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/8928875474457255781/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=8928875474457255781' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/8928875474457255781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/8928875474457255781'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/04/xspec-bug-fixes-update.html' title='XSPEC bug fixes update'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-6300589289283242113</id><published>2009-04-03T16:00:00.003-05:00</published><updated>2009-04-03T16:23:14.228-05:00</updated><title type='text'>Notes on using SWIG to import C++ in Python</title><content type='html'>As a test case using my heasp library which is being converted from C to C++. Created heasp.i file to define interface. Basically a concatenation of the heasp.h, PHA.h and PHAII.h  files with the following at the top. Adding additional classes will just require cat'ing their *.h file to the end and adding the appropriate #include at the top. Note the %include of "std_string.i" which is required to make the string arguments work. Similar %include specifications will be required if other STL classes are arguments for methods.&lt;br /&gt;&lt;br /&gt;%module heasp&lt;br /&gt;&lt;br /&gt;%include "std_string.i"&lt;br /&gt;&lt;br /&gt;%{&lt;br /&gt;#include &lt;fstream&gt;&lt;br /&gt;#include &lt;iostream&gt;&lt;br /&gt;#include &lt;iomanip&gt;&lt;br /&gt;#include &lt;cstdlib&gt;&lt;br /&gt;#include &lt;cmath&gt;&lt;br /&gt;#include &lt;cstdio&gt;&lt;br /&gt;#include &lt;sstream&gt;&lt;br /&gt;#include &lt;string&gt;&lt;br /&gt;#include &lt;stdexcept&gt;&lt;br /&gt;#include &lt;ctime&gt;&lt;br /&gt;#include &lt;valarray&gt;&lt;br /&gt;#include &lt;vector&gt;&lt;br /&gt;&lt;br /&gt;#include &lt;ccfits/ccfits&gt;&lt;br /&gt;&lt;br /&gt;#include "heasp.h"&lt;br /&gt;#include "PHA.h"&lt;br /&gt;#include "PHAII.h"&lt;br /&gt;%}&lt;br /&gt;&lt;br /&gt;The interface file is then converted to C++ using&lt;br /&gt;&lt;br /&gt;swig -python -c++ -classic heasp.i&lt;br /&gt;&lt;br /&gt;which creates heasp_wrap.cxx and heasp.py. These must then be combined with the *.o files to build a shareable library called _heasp.so (note that the _ prefix and .so suffix are required).  Compiling heasp_wrap.cxx will require include files from python. On my mac the relevant flag is&lt;br /&gt;-I/Library/Frameworks/Python.framework/Versions/Current/include/python2.5&lt;br /&gt;and on the lab Linux network&lt;br /&gt;-I/usr1/local/include/python2.5&lt;br /&gt;&lt;br /&gt;On the mac the command to make the shareable library is&lt;br /&gt;ld -bundle -flat_namespace -undefined suppress -o _heasp.so ${OFILES} heasp_wrap.o -L${HEADAS}/lib -lCCfits_2.1 -lcfitsio_3.12&lt;br /&gt;and on Linux&lt;br /&gt;$(CXX) -shared -o _heasp.so ${OFILES} heasp_wrap.o -L${HEADAS}/lib -lCCfits_2.1 -lcfi&lt;br /&gt;tsio_3.13&lt;br /&gt;&lt;br /&gt;The module is loaded into python by&lt;br /&gt;&gt;&gt;&gt; import heasp&lt;br /&gt;On the mac this generates an undefined symbol ___eprintf. This may require an update of Xcode to fix. On linux (running python2.5) there are no problems. Example use is&lt;br /&gt;&lt;br /&gt;&gt;&gt;&gt; import heasp&lt;br /&gt;&gt;&gt;&gt; spectrum = heasp.PHA()&lt;br /&gt;&gt;&gt;&gt; spectrum.read('file1.pha',1,1)&lt;br /&gt;&gt;&gt;&gt; spectrum.disp()&lt;br /&gt;&gt;&gt;&gt; spectrum.write('test.pha')&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-6300589289283242113?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/6300589289283242113/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=6300589289283242113' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/6300589289283242113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/6300589289283242113'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/04/notes-on-using-swig-to-import-c-in.html' title='Notes on using SWIG to import C++ in Python'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-8599093729416201897</id><published>2009-04-02T12:08:00.003-05:00</published><updated>2009-04-02T12:09:05.217-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>chkarf</title><content type='html'>Updated and much simplified chkarf so it actually lists the correct keywords as mandatory. This tool really should just be a perl script - the current program is overkill.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-8599093729416201897?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/8599093729416201897/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=8599093729416201897' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/8599093729416201897'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/8599093729416201897'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/04/chkarf.html' title='chkarf'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-1667231202101029385</id><published>2009-04-01T15:31:00.004-05:00</published><updated>2009-04-02T08:32:40.532-05:00</updated><title type='text'>using openMP in gcc</title><content type='html'>I'm testing out parallelization using openMP on an 8-core Linux box. To build xspec to support openMP options requires the hmakerc to be edited to add -fopenmp to CFLAGS, FFLAGS, and CXXFLAGS and -lgomp to be added to F77LIBS4C (I added it immediately before -lgfortran).&lt;br /&gt;&lt;br /&gt;First test is in sumape.f to parallelize over the individual elements when interpolating the continuum and pseudo-continuum...&lt;br /&gt;&lt;br /&gt;C$OMP PARALLEL PRIVATE(ien,limdown,limup,ihigh,energy)&lt;br /&gt;&lt;br /&gt;C$OMP DO SCHEDULE(DYNAMIC)&lt;br /&gt;&lt;br /&gt;           DO ielt = 1, nmelt&lt;br /&gt;&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;           ENDDO&lt;br /&gt;&lt;br /&gt;C$OMP END DO&lt;br /&gt;&lt;br /&gt;C$OMP END PARALLEL&lt;br /&gt;&lt;br /&gt;The variables defined as private are to avoid threads overwriting variables being set and used by other threads.&lt;br /&gt;&lt;br /&gt;Timing tests show that parallelization doesn't win enough in this case. Including the parallel directives slows a newpar down from 0.02 seconds to 0.4 seconds due to the overhead.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-1667231202101029385?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/1667231202101029385/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=1667231202101029385' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/1667231202101029385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/1667231202101029385'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/04/using-openmp-in-gcc.html' title='using openMP in gcc'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-6365886820760913407</id><published>2009-03-28T06:34:00.003-05:00</published><updated>2009-03-28T06:39:22.782-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='computing'/><title type='text'>Computing with GPUs</title><content type='html'>There is &lt;a href="http://www.gpgpu.org/"&gt;web site&lt;/a&gt; all about using GPUs for general purpose computing. One particularly useful looking &lt;a href="http://www.clustermonkey.net/content/view/248/33/1/0/"&gt;article&lt;/a&gt; goes into some of the options and issues of coding for GPUs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-6365886820760913407?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/6365886820760913407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=6365886820760913407' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/6365886820760913407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/6365886820760913407'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/03/computing-with-gpus.html' title='Computing with GPUs'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-1757703146016733403</id><published>2009-03-13T12:31:00.003-05:00</published><updated>2009-03-13T12:36:14.893-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><category scheme='http://www.blogger.com/atom/ns#' term='extractor'/><title type='text'>problem with extractor5.09</title><content type='html'>In the course of Suzaku pipeline testing Lorella spotted a problem I introduced during the attempted speed-up of the fixwmp routine. Pixels with non-zero counts show up even within the part of the region which is supposed to be set to -1.&lt;br /&gt;&lt;br /&gt;The particular case of Suzaku demonstrated a conceptual issue here. Those pixels showing up within the supposed excluded region are real events. What is happening is that the region is defined in sky coordinates but the WMAP is written in detector coordinates. I calculate a conversion to determine which WMAP pixels are within the image region however it is a time-averaged solution. In the pre-5.09 version the satellite attitude wobble results in some events being incorrectly excluded from the WMAP. It was these events that the 5.09 version actually included however they are potentially confusing to users.&lt;br /&gt;&lt;br /&gt;The fix is checked in as v5.10.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-1757703146016733403?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/1757703146016733403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=1757703146016733403' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/1757703146016733403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/1757703146016733403'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/03/problem-with-extractor509.html' title='problem with extractor5.09'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-4090136984926047918</id><published>2009-03-02T16:25:00.002-05:00</published><updated>2009-03-02T16:28:21.001-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xselect'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>xselect and Chandra grating data</title><content type='html'>Jane Turner reported that the current version of xselect fails to read Chandra HETG evt2 data. This is due to a bug in xsel_mdb.f  which I think only matters for Chandra grating files.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-4090136984926047918?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/4090136984926047918/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=4090136984926047918' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/4090136984926047918'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/4090136984926047918'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/03/xselect-and-chandra-grating-data.html' title='xselect and Chandra grating data'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-5186142792295371350</id><published>2009-02-25T14:02:00.002-05:00</published><updated>2009-02-25T14:06:44.856-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>XSPEC units for setplot wave</title><content type='html'>In v12.5 we switched the y-axis units under setplot wave to per Hz instead of per Angstrom. Since this has not been universally popular we have added an initialization option to decide between the two cases. This is available as patch 12.5.0t. That and other recent patches can be obtained from the &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/bugs.html"&gt;usual place&lt;/a&gt; and are summarized below&lt;br /&gt;&lt;br /&gt;&lt;table align="center" border="0" cellpadding="0" cellspacing="0" width="680"&gt;&lt;tbody&gt;&lt;tr align="left" valign="top"&gt;&lt;td width="90"&gt;&lt;b&gt;12.5.0r&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;Fix needed for all &lt;b&gt;etable&lt;/b&gt; model calculations.  Our thanks to Roderick Johnstone                        for pointing this out.                        Report added on Feb 12, 2009.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.5.0s&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;When the both the &lt;b&gt;absori&lt;/b&gt; and &lt;b&gt;pexriv&lt;/b&gt; models are loaded during                         the same XSPEC session, whichever model is loaded second will not work properly.                        Note: this bug originated in version 12.5.0.                         Report added on Feb 13, 2009.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;span style="color: red;"&gt;&lt;b&gt;12.5.0t&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;                        &lt;td&gt;This adds an option for choosing &lt;b&gt;Y-axis units&lt;/b&gt; when plotting in                        &lt;b&gt;setplot wave&lt;/b&gt; mode.  The selection is made by the WAVE_PLOT_UNITS entry,                        which has been added to the &lt;b&gt;new version of the Xspec.init file.&lt;/b&gt;                        The units may now be specified in &lt;b&gt;Hz&lt;/b&gt; (the default for version 12.5.0),                        or &lt;b&gt;angstroms&lt;/b&gt; as they were prior to 12.5.0.  This applies to plots of data,                        counts, and all variants of model and ufspec plots.                        Report added on Feb 19, 2009.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;span style="color: red;"&gt;&lt;b&gt;12.5.0u&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;                        &lt;td&gt;Minor code changes mostly to clean up the messages reported when                         running XSPEC under the valgrind software tool.                        Report added on Feb 19, 2009.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;span style="color: red;"&gt;&lt;b&gt;12.5.0v&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;                        &lt;td&gt;&lt;b&gt;Multiplicative&lt;/b&gt; model components which are created with the &lt;b&gt;mdefine&lt;/b&gt; command                        should not be multiplied by the energy bin widths.  Our thanks to Roderick Johnstone                         for pointing this out.                        Report added on Feb 19, 2009.                        &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-5186142792295371350?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/5186142792295371350/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=5186142792295371350' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/5186142792295371350'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/5186142792295371350'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/02/xspec-units-for-setplot-wave.html' title='XSPEC units for setplot wave'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-1395782297296476048</id><published>2009-02-25T14:00:00.003-05:00</published><updated>2009-05-07T09:11:35.259-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>non-integer COUNTS column</title><content type='html'>Steve Snowden ran into a silent problem because he made spectrum files with non-integer COUNTS columns. This is in violation of the standard and many ftools will simply silently truncate the float value to the nearest integer. I've added checks in the low-level library routines to write warnings in this case.&lt;br /&gt;&lt;br /&gt;Update on 5/7/09. It turns out that the RXTE s/w writes PHA files with a real COUNTS column although the values are integers. So, I've improved the checking so that no warnings are given if the values are integers even if the column is defined as real. If the values really are non-integer then a warning is written and the values truncated to integers.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-1395782297296476048?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/1395782297296476048/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=1395782297296476048' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/1395782297296476048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/1395782297296476048'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/02/non-integer-counts-column.html' title='non-integer COUNTS column'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-3159262075502663949</id><published>2009-02-14T21:50:00.002-05:00</published><updated>2009-02-14T21:53:53.168-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='statistics'/><title type='text'>Gelman on statistics</title><content type='html'>I'm going to start linking to interesting blog posts by Andrew Gelman because they often have important points to remember. Today he &lt;a href="http://www.stat.columbia.edu/%7Ecook/movabletype/archives/2009/02/dennis-lindleys.html"&gt;talks&lt;/a&gt; about a couple of reviews of "The Black Swan" and includes the following note on Bayesian inference :&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;From a philosophical point of view, I think the most important point of confusion about Bayesian inference is the idea that it's about computing the probability that a model is true. In all the areas I've ever worked on, the model is never true. But what you &lt;em&gt;can&lt;/em&gt; do is find out that certain important aspects of the data are highly unlikely to be captured by the fitted model, which can facilitate a "model shift" moment. This sort of falsification is why I believe Popper's philosophy of science to be a good fit to Bayesian data analysis.&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-3159262075502663949?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/3159262075502663949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=3159262075502663949' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/3159262075502663949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/3159262075502663949'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/02/gelman-on-statistics.html' title='Gelman on statistics'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-2094258339152477207</id><published>2009-02-11T16:08:00.001-05:00</published><updated>2009-02-11T16:12:05.960-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>Recent XSPEC bug fixes</title><content type='html'>The following are all available from the &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/bugs.html"&gt;usual place.&lt;/a&gt;&lt;br /&gt;&lt;table align="center" border="0" cellpadding="0" cellspacing="0" width="680"&gt;&lt;tbody&gt;&lt;tr align="left" valign="top"&gt;&lt;td width="90"&gt;&lt;br /&gt;                      &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.5.0l&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;This slightly modifies the state of &lt;b&gt;newly untied parameters&lt;/b&gt;.                        When a parameter is untied, its &lt;b&gt;frozen/unfrozen&lt;/b&gt; setting should                        retain the setting of the parameter(s) to which it was linked, rather                        than be restored to its original value.  Our thanks to Phil Evans and Delphine Porquet                        for pointing this out.                        Report added on Jan 14, 2009.                      &lt;br /&gt;&lt;br /&gt;                      &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.5.0m&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;When &lt;b&gt;steppar&lt;/b&gt; is executed, it should not automatically run a fit                        at the end to place the parameters in their best-fit state.  Instead it should                        restore the parameters to their pre-steppar values, regardless of the fit state.                        Our thanks to Tim Kallman for pointing this out.                        Report added on Jan 14, 2009.                      &lt;br /&gt;&lt;br /&gt;                      &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.5.0n&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;Bug fix for a C-to-Fortran boolean conversion error, affecting the                        default setting for the &lt;b&gt;thermal broadening&lt;/b&gt; flag of the &lt;b&gt;bapec                        and bvapec &lt;/b&gt;models.  Unless overridden by the APECTHERMAL setting,                        thermal broadening should be ON by default for &lt;b&gt;bapec and bvapec&lt;/b&gt;.                         This bug has only been observed on &lt;b&gt;Solaris&lt;/b&gt; platforms.                         Report added on Jan 15, 2009.                      &lt;br /&gt;&lt;br /&gt;                      &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.5.0o&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;When a &lt;b&gt;delcomp&lt;/b&gt; operation is performed on the unnamed (default)                        model and &lt;b&gt;no spectra are loaded&lt;/b&gt;, the model calculation is not updated.                        Our thanks to Laura Brenneman for pointing this out.                        Report added on Jan 21, 2009.                      &lt;br /&gt;&lt;br /&gt;                      &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.5.0p&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;This relaxes the OGIP requirement that spectral data files must contain                        a &lt;b&gt;RESPFILE&lt;/b&gt; keyword, primarily to allow the loading of certain RXTE/PCA                        files.  Our thanks to David Smith for pointing this out.                        Report added on Jan 30, 2009.                      &lt;br /&gt;&lt;br /&gt;                      &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.5.0q&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;A new option has been added to the &lt;b&gt;tclout&lt;/b&gt; command: &lt;b&gt;tclout gain&lt;/b&gt;.                        See the online &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/manual/XStclout.html"&gt;tclout manual&lt;/a&gt;                        entry for proper syntax and usage.  Prior to this, it was not possible to                         retrieve the values of gain parameters from tclout.  Our thanks to Frank Haberl for pointing this out.                        Report added on Feb 03, 2009.                        &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-2094258339152477207?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/2094258339152477207/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=2094258339152477207' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/2094258339152477207'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/2094258339152477207'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/02/recent-xspec-bug-fixes.html' title='Recent XSPEC bug fixes'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-3345395491588593708</id><published>2009-01-22T18:48:00.002-05:00</published><updated>2009-01-22T18:50:09.533-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xselect'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>xselect and region filters</title><content type='html'>I've added clarification to the on-line help for xselect about region filters. It is dangerous to make region filters in Image coordinates - the correct options are WCS or Physical. If the xselect image binning is not 1 then regions in Image coordinates will not be handled correctly.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-3345395491588593708?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/3345395491588593708/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=3345395491588593708' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/3345395491588593708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/3345395491588593708'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/01/xselect-and-region-filters.html' title='xselect and region filters'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-8476366320121495565</id><published>2009-01-22T18:23:00.001-05:00</published><updated>2009-01-22T18:24:39.010-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='chandra'/><category scheme='http://www.blogger.com/atom/ns#' term='WebSpec'/><title type='text'>Chandra CY11 webspec updated</title><content type='html'>Updated webspec with the final ARFs for Chandra Cycle 11.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-8476366320121495565?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/8476366320121495565/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=8476366320121495565' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/8476366320121495565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/8476366320121495565'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/01/chandra-cy11-webspec-updated.html' title='Chandra CY11 webspec updated'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-6213434351848107514</id><published>2009-01-16T15:50:00.000-05:00</published><updated>2009-01-16T15:51:04.001-05:00</updated><title type='text'>Word-cloud of the 171 Astro2010 NOI titles</title><content type='html'>&lt;a href="http://www.wordle.net/gallery/wrdl/444994/Astro2010_NOI" title="Wordle: Astro2010 NOI"&gt;&lt;img src="http://www.wordle.net/thumb/wrdl/444994/Astro2010_NOI" alt="Wordle: Astro2010 NOI" style="border: 1px solid rgb(221, 221, 221); padding: 4px;" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-6213434351848107514?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/6213434351848107514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=6213434351848107514' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/6213434351848107514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/6213434351848107514'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/01/word-cloud-of-171-astro2010-noi-titles.html' title='Word-cloud of the 171 Astro2010 NOI titles'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-1453764942195807638</id><published>2009-01-13T10:20:00.000-05:00</published><updated>2009-01-13T10:21:46.820-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>recent xspec patches</title><content type='html'>&lt;table align="center" border="0" cellpadding="0" cellspacing="0" width="680"&gt;&lt;tbody&gt;&lt;tr align="left" valign="top"&gt;&lt;td width="90"&gt;&lt;b&gt;12.5.0j&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;&lt;b&gt;Parameter links&lt;/b&gt; both to and from a model which is &lt;b&gt;not associated with any                        spectra&lt;/b&gt; (shown as "Active/Off" in the model display), should not be removed when                        the model's state gets updated (such as when using the &lt;b&gt;dummyrsp&lt;/b&gt; command).  Our thanks                        to Laura Brenneman for pointing this out.                                                 Report added on Dec 24, 2008.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.5.0k&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;The &lt;b&gt;dummyrsp&lt;/b&gt; command may cause a crash when entering a very large number                        of energy bins.  Our thanks to Joel Frioriksson for pointing this out.                        Report added on Dec 31, 2008.                       &lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-1453764942195807638?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/1453764942195807638/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=1453764942195807638' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/1453764942195807638'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/1453764942195807638'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2009/01/recent-xspec-patches.html' title='recent xspec patches'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-2676587145596039775</id><published>2008-12-16T18:02:00.003-05:00</published><updated>2008-12-16T18:03:37.160-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='chandra'/><category scheme='http://www.blogger.com/atom/ns#' term='WebSpec'/><title type='text'>webspec for Chandra</title><content type='html'>I've updated webspec to use the Chandra CY11 rmfs and arfs released by the CUC. Note that in mid January they will be releasing new arfs with corrected contamination corrections and effective areas.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-2676587145596039775?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/2676587145596039775/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=2676587145596039775' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/2676587145596039775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/2676587145596039775'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2008/12/webspec-for-chandra.html' title='webspec for Chandra'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-5058178103788962810</id><published>2008-12-16T11:58:00.000-05:00</published><updated>2008-12-16T11:59:21.160-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>xspec patch for energies extend</title><content type='html'>&lt;b&gt;12.5.0i&lt;/b&gt;                         The &lt;b&gt;energies extend&lt;/b&gt; option does not work properly for the                        case of a data group containing multiple responses whose energy bins differ.                        Our thanks to Joel Frioriksson for pointing this out.                        Report added on Dec 15, 2008.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-5058178103788962810?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/5058178103788962810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=5058178103788962810' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/5058178103788962810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/5058178103788962810'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2008/12/xspec-patch-for-energies-extend.html' title='xspec patch for energies extend'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-3735594931999412549</id><published>2008-12-15T23:01:00.003-05:00</published><updated>2008-12-15T23:06:44.168-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><category scheme='http://www.blogger.com/atom/ns#' term='WebSpec'/><title type='text'>webspec updated to include pile-up</title><content type='html'>At the request of &lt;a href="http://hea-www.harvard.edu/%7Eandreap/"&gt;Andrea Prestwich&lt;/a&gt; at the &lt;a href="http://asc.harvard.edu/"&gt;CUC&lt;/a&gt; I've added the &lt;a href="http://heasarc.gsfc.nasa.gov/docs/software/lheasoft/xanadu/xspec/manual/XSmodelPileup.html"&gt;pile-up&lt;/a&gt; model to &lt;a href="http://heasarc.gsfc.nasa.gov/webspec/webspec.html"&gt;WebSpec&lt;/a&gt;. In the simple interface there is a check box to added it while in the advanced interface the user is expected to select pileup as the option for the first model component.&lt;br /&gt;&lt;br /&gt;One tweak could be to set the default pile-up parameters appropriately for each instrument.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-3735594931999412549?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/3735594931999412549/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=3735594931999412549' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/3735594931999412549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/3735594931999412549'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2008/12/webspec-updated-to-include-pile-up.html' title='webspec updated to include pile-up'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-978721979091084133</id><published>2008-12-12T14:11:00.003-05:00</published><updated>2008-12-15T15:03:01.315-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><category scheme='http://www.blogger.com/atom/ns#' term='cfitsio'/><title type='text'>cfitsio region filtering bug</title><content type='html'>The recent cfitsio version region filtering fails when the first region is an exclude. This was an error I introduced when extending to multiple components as allowed in the FITS REGION extension. The fix should be available next week. Meanwhile a work-around is to include an initial region covering the entire field.&lt;br /&gt;&lt;br /&gt;Update 12/15/08: There is also a memory-handling error in the code which reads a FITS REGION. This bug is only triggered if the extension contains a large number (&gt;100) of exclude regions.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-978721979091084133?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/978721979091084133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=978721979091084133' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/978721979091084133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/978721979091084133'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2008/12/cfitsio-region-filtering-bug.html' title='cfitsio region filtering bug'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-1428352619761585393</id><published>2008-12-12T14:08:00.002-05:00</published><updated>2008-12-12T14:11:17.062-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><category scheme='http://www.blogger.com/atom/ns#' term='extractor'/><title type='text'>extractor bug for detector coordinate regions</title><content type='html'>Dave Henley reported problems with the new extractor when using detector coordinates for the region. This is because I wasn't correctly handling the case when the WCS type is blank. This is corrected in v5.09 which should be released as part of HEAsoft patch update next week.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-1428352619761585393?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/1428352619761585393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=1428352619761585393' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/1428352619761585393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/1428352619761585393'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2008/12/extractor-bug-for-detector-coordinate.html' title='extractor bug for detector coordinate regions'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-6521202149305720121</id><published>2008-12-09T17:31:00.002-05:00</published><updated>2008-12-09T17:33:58.728-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>xspec 12.5 patches</title><content type='html'>Another set of recent xspec patches. Two of these are minor mistakes in the 12.5 release, the others cover relatively obscure problems.&lt;br /&gt;&lt;br /&gt;&lt;table align="center" border="0" cellpadding="0" cellspacing="0" width="680"&gt;&lt;tbody&gt;&lt;tr align="left" valign="top"&gt;&lt;td width="90"&gt;&lt;b&gt;12.5.0e&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;In the FNINIT function (for users linking the XSPEC models library into their own programs), the default                         model data directory name needs to be updated from "modelIonData" to "modelData" to coincide with                        v12.5.0 restructuring.  Our thanks to John Houck for pointing this out.                                               Report added on Dec 05, 2008.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.5.0f&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;Patch to improve the behavior of an exceptional case of Levenberg-Marquardt                        fitting, where a parameter becomes pegged due to a &lt;b&gt;zero second-derivative matrix diagonal element&lt;/b&gt; AND the user chooses to exit before convergence. This prevents an attempt at a covariance calculation on the parameter, which otherwise might lead to a segmentation fault. Our thanks to Stefano Bianchi and Jeremy Sanders for pointing this out. Report added on Dec 05, 2008.&lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.5.0g&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;Fix to the &lt;b&gt;swind1&lt;/b&gt; model function.  Now that it is included                         as part of XSPEC's built-in models library, it should no longer look to                        the $LMODDIR symbol for finding the model data directory.                        Our thanks to Delphine Porquet for pointing this out.                        Report added on Dec 09, 2008.                       &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.5.0h&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;When doing a 2-panel plot of &lt;b&gt;plot counts/lcounts chisq&lt;/b&gt; and the current                        fit statistic is &lt;b&gt;cstat&lt;/b&gt;, the Y-axis scaling of the chisq panel is wrong.                        Our thanks to Fill Humphrey for pointing this out.                        Report added on Dec 09, 2008.                       &lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-6521202149305720121?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/6521202149305720121/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=6521202149305720121' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/6521202149305720121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/6521202149305720121'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2008/12/xspec-125-patches.html' title='xspec 12.5 patches'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-7298215011466742281</id><published>2008-12-09T17:26:00.003-05:00</published><updated>2008-12-09T17:30:46.661-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><category scheme='http://www.blogger.com/atom/ns#' term='extractor'/><title type='text'>extractor bug for annular regions</title><content type='html'>Phil Evans spotted a problem in the new release when using an annulus region type. The region filtering is performed correctly however the WMAP created is too small in the case when the WMAP and image coordinates are the same. This is actually an error I introduced in the cfitsio code (which is however not used internally in cfitsio so doesn't change its standard use). A work-around is to use the elliptannulus region type instead of annulus. I also have a fix within the extractor code to get around this.&lt;br /&gt;&lt;br /&gt;This bug is important for Swift analysis.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-7298215011466742281?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/7298215011466742281/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=7298215011466742281' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/7298215011466742281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/7298215011466742281'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2008/12/extractor-bug-for-annular-regions.html' title='extractor bug for annular regions'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-4730002980289586531</id><published>2008-12-08T21:24:00.002-05:00</published><updated>2008-12-08T21:28:04.020-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xselect'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><category scheme='http://www.blogger.com/atom/ns#' term='ASCA'/><title type='text'>xselect and ASCA</title><content type='html'>The switch to wild cards in xselect.mdb was a little too enthusiastic in the case of the ASCA SIS - the catcol list still needs to be specified for individual detectors. The current version causes an error when running make obscat for ASCA SIS. I have checked in a fixed version.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-4730002980289586531?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/4730002980289586531/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=4730002980289586531' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/4730002980289586531'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/4730002980289586531'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2008/12/xselect-and-asca.html' title='xselect and ASCA'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-2918020237993899212</id><published>2008-12-04T17:09:00.004-05:00</published><updated>2008-12-04T17:17:28.367-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>script to split *.rsp files into *.rmf and *.arf</title><content type='html'>I've written a little perl script &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/split_rsp_to_rmf_arf"&gt;split_rsp_to_rmf_arf&lt;/a&gt; which takes an input response matrix file and splits it into a response matrix file with unit total response at each energy and an arf which gives the total response at each energy. This can be used to mock up in v12 xspec the behaviour of v11 xspec with /b models. An example is given on the wiki section on &lt;a href="https://astrophysics.gsfc.nasa.gov/XSPECwiki/background"&gt;backgrounds&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-2918020237993899212?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/2918020237993899212/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=2918020237993899212' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/2918020237993899212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/2918020237993899212'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2008/12/script-to-split-rsp-files-into-rmf-and.html' title='script to split *.rsp files into *.rmf and *.arf'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-4092650738802975967</id><published>2008-12-04T17:04:00.003-05:00</published><updated>2008-12-04T17:16:54.507-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>three more patch updates for xspec 12.5</title><content type='html'>Three minor patches to the new release are available on the &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/bugs.html"&gt;bugs page&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;table align="center" border="0" cellpadding="0" cellspacing="0" width="680"&gt;&lt;tbody&gt;&lt;tr align="left" valign="top"&gt;&lt;/tr&gt;&lt;tr align="left" valign="top"&gt;&lt;td width="90"&gt;&lt;b&gt;12.5.0b&lt;/b&gt;&lt;/td&gt;&lt;td&gt;When the editing commands &lt;b&gt;addcomp&lt;/b&gt;, &lt;b&gt;delcomp&lt;/b&gt;, or &lt;b&gt;editmod&lt;/b&gt;                        have been used on a model that already contains &lt;b&gt;linked parameters&lt;/b&gt;, the                         link expressions are not properly updated in the output to a &lt;b&gt;save model&lt;/b&gt;                        file.  Our thanks to Laura Brenneman for pointing this out.                        Report added on Dec 03, 2008.                      &lt;br /&gt;&lt;br /&gt;                      &lt;/td&gt;&lt;/tr&gt;&lt;tr align="left" valign="top"&gt;&lt;td width="90"&gt;&lt;span style="color:red;"&gt;&lt;b&gt;12.5.0c&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td&gt;This removes the warnings issued if datasets contain CHANTYPE strings other than                        &lt;b&gt;PI&lt;/b&gt; or &lt;b&gt;PHA&lt;/b&gt;.  It will still issue warnings if the CHANTYPE differs between                        the spectral data and RMF files.                        Report added on Dec 03, 2008.                      &lt;br /&gt;&lt;br /&gt;                      &lt;/td&gt;&lt;/tr&gt;&lt;tr align="left" valign="top"&gt;&lt;td width="90"&gt;&lt;span style="color:red;"&gt;&lt;b&gt;12.5.0d&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td&gt;Additional C/Fortran function wrappers provided for the following recently added C++ models:                        &lt;b&gt;cflux, partcov, simpl, &lt;/b&gt;and &lt;b&gt;spexpcut&lt;/b&gt;.  These are required for users who                        link the XSPEC models library into an external &lt;b&gt;Fortran&lt;/b&gt; or &lt;b&gt;C&lt;/b&gt; program.                          Our thanks to John Houck for pointing this out.                        Report added on Dec 03, 2008.                      &lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-4092650738802975967?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/4092650738802975967/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=4092650738802975967' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/4092650738802975967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/4092650738802975967'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2008/12/three-more-patch-updates-for-xspec-125.html' title='three more patch updates for xspec 12.5'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-4872597005623319904</id><published>2008-12-02T18:25:00.001-05:00</published><updated>2008-12-02T18:28:23.985-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>First xspec v12.5 patch released.</title><content type='html'>Li Xin-Li noted that his kerrbb model has an error in turning on/off self-irradiation and limb darkening. The model is fine if either both are on or both are off but if one is on and the other off then the wrong combination was calculated. &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/bugs.html"&gt;Fixed as 12.5.0&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-4872597005623319904?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/4872597005623319904/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=4872597005623319904' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/4872597005623319904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/4872597005623319904'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2008/12/first-xspec-v125-patch-released.html' title='First xspec v12.5 patch released.'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-7981190995137398693</id><published>2008-12-02T18:21:00.003-05:00</published><updated>2008-12-02T18:28:52.817-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><category scheme='http://www.blogger.com/atom/ns#' term='extractor'/><title type='text'>A couple of extractor fixes</title><content type='html'>A couple of bug fixes that were too late to get into the recent release.&lt;br /&gt;&lt;br /&gt;1. When using a GTI file for time filtering the fall-back position of looking in the first table extension for the table data was not working. This should not be a problem if the gtinam parameter was set correctly.&lt;br /&gt;&lt;br /&gt;2. The fixwmp routine was unnecessarily slow with the new method of region filtering. It is still slow but not as slow as it was.&lt;br /&gt;&lt;br /&gt;These fixes are in v5.07 and will appear on the HEAsoft bugs page.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-7981190995137398693?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/7981190995137398693/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=7981190995137398693' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/7981190995137398693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/7981190995137398693'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2008/12/couple-of-extractor-fixes.html' title='A couple of extractor fixes'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-9163508334186650885</id><published>2008-11-26T16:42:00.004-05:00</published><updated>2008-12-02T18:29:11.798-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><category scheme='http://www.blogger.com/atom/ns#' term='extractor'/><title type='text'>minor tweak to extractor region extension output</title><content type='html'>Switched the region extension written by extractor back to the XMM convention of REG001##. This works for Chandra because CIAO looks for the HDUNAME='REGION' keyword which is also included.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-9163508334186650885?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/9163508334186650885/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=9163508334186650885' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/9163508334186650885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/9163508334186650885'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2008/11/minor-tweak-to-extractor-region.html' title='minor tweak to extractor region extension output'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-4088114161588531213</id><published>2008-11-25T14:36:00.001-05:00</published><updated>2008-12-02T18:29:26.477-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>xspec 12.5</title><content type='html'>HEAsoft 6.6 which includes xspec v12.5 is now &lt;a href="http://heasarc.gsfc.nasa.gov/docs/software/lheasoft/download.html"&gt;available&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-4088114161588531213?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/4088114161588531213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=4088114161588531213' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/4088114161588531213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/4088114161588531213'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2008/11/xspec-125.html' title='xspec 12.5'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-6452831437452701042</id><published>2008-11-17T14:49:00.003-05:00</published><updated>2008-12-02T18:29:52.182-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='chandra'/><category scheme='http://www.blogger.com/atom/ns#' term='xselect'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>updated xselect Chandra response matrix script</title><content type='html'>The xselect script xsl_chandra_acis_makeresp made some unwarranted assumptions about DSVAL1 holding the list of selected chips. Generalized this and fixed bug in one of the calls to mkacisrsp where I'd left off an wmap parameter specification. This change will make it into the release coming up this week.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-6452831437452701042?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/6452831437452701042/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=6452831437452701042' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/6452831437452701042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/6452831437452701042'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2008/11/updated-xselect-chandra-response-matrix.html' title='updated xselect Chandra response matrix script'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-6307920823416192508</id><published>2008-11-07T13:35:00.002-05:00</published><updated>2008-11-07T13:40:58.015-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>writeFITS.tcl</title><content type='html'>&lt;a href="http://astro.uni-tuebingen.de/%7Ewilms/"&gt;Jörn Wilms&lt;/a&gt; pointed out it would be really useful in xspec to be able to write a bunch of information including best-fit parameters and errors to a single row in a FITS file. I've added a script writeFITS.tcl to do this. It either creates a new file or appends to an existing one. Obviously, this is not a general solution for all the information a user might want to save however it can easily be modified to save additional information.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-6307920823416192508?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/6307920823416192508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=6307920823416192508' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/6307920823416192508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/6307920823416192508'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2008/11/writefitstcl.html' title='writeFITS.tcl'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-1742593427252004259</id><published>2008-11-04T15:02:00.002-05:00</published><updated>2008-11-04T15:04:10.398-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>Band model for GRB spectra</title><content type='html'>Dick Willingale pointed out that the grbm model has a hard-coded, artificial lower limit of 1 keV on the third (tem) parameter. There is no good reason for this so I have removed it for the upcoming release.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-1742593427252004259?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/1742593427252004259/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=1742593427252004259' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/1742593427252004259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/1742593427252004259'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2008/11/band-model-for-grb-spectra.html' title='Band model for GRB spectra'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-7978534825127909278</id><published>2008-11-03T22:51:00.001-05:00</published><updated>2008-11-03T22:52:56.388-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>simftest.tcl</title><content type='html'>Moved the ftest.tcl in manager to simftest.tcl and added it to TclIndex so that it is automatically loaded in xspec  and available as the command simftest.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-7978534825127909278?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/7978534825127909278/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=7978534825127909278' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/7978534825127909278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/7978534825127909278'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2008/11/simftesttcl.html' title='simftest.tcl'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-3199234721270491795</id><published>2008-10-31T09:40:00.005-05:00</published><updated>2008-11-04T15:04:41.749-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Suzaku'/><category scheme='http://www.blogger.com/atom/ns#' term='WebSpec'/><title type='text'>Suzaku AO4 on WebSpec</title><content type='html'>I've updated WebSpec with Suzaku AO4 files. The HXD background files supplied had a total exposure of 3e6 seconds. The recommended procedure is to have a background file with the same exposure as the source file. This assumes that statistical errors on the background are Poisson and the systematic error can be represented by changing the total normalization (using corfile). I modified the standard background files to change them from COUNTS to RATE so an input background file could be created for a given exposure time just by changing the EXPOSURE keyword.&lt;br /&gt;&lt;br /&gt;Note that fakeit with a background file creates a simulated source spectrum with the exposure requested and a simulated background spectrum with the same exposure as that of the input background file. A useful enhancement for fakeit would be to control the exposure of the simulated background file - one possibility would be to allow commands such as&lt;br /&gt;XSPEC12&gt; fakeit inbackground.pha 50000&lt;br /&gt;&lt;br /&gt;UPDATE 11/04/08: Fixed an error on the energy ranges for the PIN. The input background spectrum is only valid up to 75 keV. Also, use an background exposure time of 10 x that of the source for the PIN as recommended by the HXD team.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-3199234721270491795?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/3199234721270491795/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=3199234721270491795' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/3199234721270491795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/3199234721270491795'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2008/10/suzaku-ao4-on-webspec.html' title='Suzaku AO4 on WebSpec'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-680924973692145735</id><published>2008-10-30T14:41:00.002-05:00</published><updated>2008-10-30T14:44:53.061-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>latest xspec bug fixes</title><content type='html'>Three patches have been put out in the last couple of weeks. Two of these deal with the case when parameters differ by very large amounts. This is not recommended - xspec will work best if all the parameters are scaled to O(1).&lt;br /&gt;&lt;br /&gt;&lt;table align="center" border="0" cellpadding="0" cellspacing="0" width="680"&gt;&lt;tbody&gt;&lt;tr align="left" valign="top"&gt;&lt;td width="90"&gt;&lt;b&gt;12.4.0ap&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;In a &lt;b&gt;Levenberg-Marquardt&lt;/b&gt; fit, the zero threshold for the diagonals of                        the second-derivatives matrix needs to be reduced.  This is relevant for cases                        where fit parameters may differ by enormously large (~10^20) magnitudes.  Our thanks                         to Roderick Johnstone for pointing this out.                        Report added on Oct 21, 2008.                        &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.4.0aq&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;The &lt;b&gt;tclout model&lt;/b&gt; command no longer appends a newline character to the                        model name.  This allows its output value to be used more easily as an argument                        to another XSPEC command.  Our thanks to Jeremy Sanders for pointing this out.                        Report added on Oct 23, 2008.                        &lt;br /&gt;&lt;br /&gt;                       &lt;/td&gt;                    &lt;/tr&gt;                    &lt;tr align="left" valign="top"&gt;                        &lt;td width="90"&gt;&lt;b&gt;12.4.0ar&lt;/b&gt;&lt;/td&gt;                        &lt;td&gt;This adds automatic normalization to the &lt;b&gt;covariance calculation&lt;/b&gt; performed                        at the end of a Levenberg-Marquardt fit, which makes it more robust when dealing with                        large differences in magnitude among the fit parameters.                        Report added on Oct 29, 2008.                       &lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-680924973692145735?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/680924973692145735/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=680924973692145735' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/680924973692145735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/680924973692145735'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2008/10/latest-xspec-bug-fixes.html' title='latest xspec bug fixes'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-504286201272586648</id><published>2008-10-30T11:14:00.003-05:00</published><updated>2008-12-02T18:30:12.259-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>Redshifts in models</title><content type='html'>Here is a possible generic way to handle redshifts in model components. Allow any component to have a "z" prepended to its name eg pow-&gt; zpow. The model parser strips off the z while setting a has-redshift flag. Any model component with the has-redshift flag set gets a redshift parameter added (after all the other parameters and before any normalization). When evaluating the model the function is passed a redshifted energy array if has-redshift is set. The output flux array could also be corrected for the (1+z) normalization factors although we would have to be careful to make this consistent with the flux and luminosity commands.&lt;br /&gt;&lt;br /&gt;The only type of model where this would not work is one which uses the redshift for something in addition to the energy shift - I think the only such case is the cooling flow which needs the luminosity distance to convert the Mdot parameter to an amount of flux to add.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-504286201272586648?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/504286201272586648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=504286201272586648' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/504286201272586648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/504286201272586648'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2008/10/redshifts-in-models.html' title='Redshifts in models'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-7449731662029989662</id><published>2008-10-29T13:37:00.002-05:00</published><updated>2008-10-29T13:40:37.633-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>Partial covering convolution model</title><content type='html'>The new release will include a partial covering convolution model (partcov) which can be used to turn any absorption model into a partially covered version. This depends on the new model parsing that takes into account the non-associative nature of convolution models. So, if P is the partial covering model, M the multiplicative absorption model and A the additive model then (PM)A turns M into a partial covering absorption. However PMA or P(MA) applies the partial covering the product of M and A which does not give the desired result.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-7449731662029989662?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/7449731662029989662/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=7449731662029989662' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/7449731662029989662'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/7449731662029989662'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2008/10/partial-covering-convolution-model.html' title='Partial covering convolution model'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-3183694470404524911</id><published>2008-10-27T21:52:00.003-05:00</published><updated>2008-12-02T18:30:34.142-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='Suzaku'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>CHANTYPE problems</title><content type='html'>The Suzaku HXD PIN files use a CHANTYPE of PI_PIN. Strictly speaking this is a violation of the standard however it seems too limiting to just allow CHANTYPE the values of PHA or PI. xspec currently generates a spurious error message about mismatched CHANTYPE when reading the HXD spectrum and response. I've put a temporary workaround in RealResponse.cxx which suppresses the spurious warning however we need a more general solution.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-3183694470404524911?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/3183694470404524911/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=3183694470404524911' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/3183694470404524911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/3183694470404524911'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2008/10/chantype-problems.html' title='CHANTYPE problems'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-5023092962240644237</id><published>2008-10-24T10:57:00.002-05:00</published><updated>2008-10-24T11:00:50.594-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>update to Jeremy's spex python script</title><content type='html'>&lt;a href="http://www-xray.ast.cam.ac.uk/%7Ejss/"&gt;Jeremy Sanders&lt;/a&gt; pointed out that files created by his python script using &lt;a href="http://www.sron.nl/divisions/hea/spex/version2.0/release/index.html"&gt;SPEX&lt;/a&gt; have no pseudo-continuum causing a seg fault in sumape.f. I've checked in a fix to sumape and Jeremy has also supplied an updated version of the &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/models/spex.html"&gt;script&lt;/a&gt; which avoids the problem (by creating a zero pseudo-continuum).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-5023092962240644237?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/5023092962240644237/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=5023092962240644237' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/5023092962240644237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/5023092962240644237'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2008/10/update-to-jeremys-spex-python-script.html' title='update to Jeremy&apos;s spex python script'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-261502752336373679</id><published>2008-10-21T20:45:00.002-05:00</published><updated>2008-10-21T20:48:52.724-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>recorn model</title><content type='html'>I've worked out how to implement the v11 recornrm model in v12 and allow the correction file norm to be a free parameter. This is done through a new model recorn which has parameters the spectrum number and the correction norm. It is implemented as a mixing model though it doesn't actually do anything to the model spectrum - just changes the correction norm stored in the dataset object. It has to be done as a mixing model to ensure that the XSFunctions library stays free of symbol references to xspec internals - mixing models are not included in XSFunctions but have their own library. This model will be included in the release planned for early November.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-261502752336373679?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/261502752336373679/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=261502752336373679' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/261502752336373679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/261502752336373679'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2008/10/recorn-model.html' title='recorn model'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-5306898407725803949</id><published>2008-10-18T08:33:00.005-05:00</published><updated>2008-10-23T14:09:27.990-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><category scheme='http://www.blogger.com/atom/ns#' term='extractor'/><title type='text'>Fixed bug in new extractor</title><content type='html'>Pre-release testing on the Swift pipeline showed up an embarrassing bug in extractor v5 - the BACKSCAL keyword was not written correctly. This is now fixed in v5.02.&lt;br /&gt;&lt;br /&gt;There was also a problem writing out the ROTBOX shape in the REGION extension. Further, Swift software does not recognize ROTBOX at present so I changed this to BOX even when there is a rotation angle. This may produce problems with other missions. These changes are v5.03.&lt;br /&gt;&lt;br /&gt;And another bug this time when writing the REGION extension in the case when the input event file already has one and further region filtering is performed by extractor. v5.04.&lt;br /&gt;&lt;br /&gt;More minor fixes. Removed the reference to number of events rejected because they fall outside the region (which extractor can no longer no). Eliminated duplication of identical regions in the same component being written to the REGION extension. v5.05.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-5306898407725803949?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/5306898407725803949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=5306898407725803949' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/5306898407725803949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/5306898407725803949'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2008/10/fixed-bug-in-new-extractor.html' title='Fixed bug in new extractor'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9628502.post-3432901082631220917</id><published>2008-10-08T20:38:00.002-05:00</published><updated>2008-10-08T20:57:23.519-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xspec'/><category scheme='http://www.blogger.com/atom/ns#' term='HEAsoft'/><title type='text'>new Comptonization model</title><content type='html'>Jack Steiner, &lt;a href="http://cfa-www.harvard.edu/%7Enarayan/"&gt;Ramesh Narayan&lt;/a&gt;, &lt;a href="http://cfa-www.harvard.edu/ast/homepages/mcclintock.html"&gt;Jeff McClintock&lt;/a&gt; (CfA) and &lt;a href="http://plain.isas.jaxa.jp/%7Eebisawa/"&gt;Ken Ebisawa&lt;/a&gt; (ISAS) have supplied a new comptonization convolution model for xspec. This is available under the &lt;a href="http://heasarc.gsfc.nasa.gov/docs/xanadu/xspec/models/simpl.html"&gt;additional models website&lt;/a&gt; and will be included in the next xspec release.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9628502-3432901082631220917?l=xspector.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xspector.blogspot.com/feeds/3432901082631220917/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9628502&amp;postID=3432901082631220917' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/3432901082631220917'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9628502/posts/default/3432901082631220917'/><link rel='alternate' type='text/html' href='http://xspector.blogspot.com/2008/10/new-comptonization-model.html' title='new Comptonization model'/><author><name>Keith Arnaud</name><uri>http://www.blogger.com/profile/02055792987509582228</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
