Background models in xspec
xspec v11In v11 additive model components can be specified with the /b qualifier. eg
XSPEC> model phabs(pow + ga) + pow/bThese flagged components are multiplied only by the RMF and not by the ARF. If there is no ARF read in (ie the effective areas are included in the response matrix) then the flagged components are multiplied by a version of the response each row of which sums to unity.
xspec v12In v12 the /b qualifier is no longer supported and is replaced by a more general mechanism. Separate model components can now have different response matrices. So, suppose the response is example.rmf and the arf is example.arf then :
XSPEC12> model phabs(pow + ga) XSPEC12> response 2:1 example.rmf XSPEC12> model 2:myback powsets up the background model identical to that in the v11 example above. myback is the name assigned for the background model in this example. However, unlike v11, the background model can be any allowed xspec model combination. Parameters in the background model can be changed by eg :
XSPEC12> newpar myback:1 2.0
If multiple datasets are in use then the additional responses are defined by eg :
XSPEC12> response 2:1 example.rmf XSPEC12> response 2:2 example2.rmf XSPEC12> response 2:3 example3.rmfIf the datasets are in separate datagroups then the second model has one set of parameters for each datagroup in the same way as the first model.
If there is no ARF in use and the response contains the effective area then in order to match the v11 /b algorithm it is necessary to create a new response matrix where each row sums to unity.
HEASARC Home | Observatories | Archive | Calibration | Software | Tools | Students/Teachers/Public
Last modified: Wednesday, 04-Apr-2007 21:54:00 EDT
HEASARC support for unencrypted FTP access ended on September 20, 2019. Please see this notice for details.