ABCDE
CommandCategoryDescription
abundSETTINGSet the abundance table.
addcompMODELAdd a component to the model.
addlineMODELAdd lines to a model
arfDATARead an auxiliary response file.
autosaveCONTROLPeriodically save the XSPEC status.
backgrndDATAReset the files to be used for background subtraction.
bayesFITSet up for Bayesian inference.
chainFITRun a Monte Carlo Markov Chain.
chatterCONTROLControl the verbosity of XSPEC.
corfileDATAReset the files to be used for background correction.
cornormDATAReset the normalization to be used in correcting the background.
cosmoSETTINGSet , , and
cpdPLOTAlias for setplot device.
dataDATAInput one or more PHA data files.
delcompMODELDelete a component from the model.
diagrspDATADiagonalize the current response for an ideal response.
dummyrspMODELCreate a dummy response, covering a given energy range.
editmodMODELAdd, delete, or replace one component in the model.
energiesMODELSpecify new energy binning for model fluxes.
eqwidthMODELCalculate a model component2̆019s equivalent width.
error (rerror)FITDetermine a single parameter confidence region. rerror is for response parameters.
execCONTROLExecute a shell command from within XSPEC.
exitCONTROLWind up any hardcopy plots and exit from XSPEC.
extendMODELThis is now obsolete. See energies command.
fakeitDATAProduce simulated data files for sensitivity studies.
fitFITFind the best fit model parameters.
fluxMODELCalculate the current model’s flux over an energy range.
freeze (rfreeze)FITDo not allow a model parameter to vary during the fit. rfreeze is for response parameters.
ftestFITCalculate the F-statistic between two model fits
gainMODELPerform a simple modification of the response gain.
goodnessFITMonte Carlo calculation of goodness-of-fit.
hardcopyPLOTSpool the current plot to the printer.
helpCONTROLObtain help on XSPEC commands.
identifyMODELList possible lines in the specified energy range.
ignoreDATAIgnore a range of PHA channels in future fit operations.
initpackageMODELCompile, build, and initialize a package of local models.
iplotPLOTAs plot command but interactive using PLT.
lmodMODELLoad a package of local models.
logCONTROLOpen the log file to save output.
lrtSCRIPTLikelihood ratio test between two models.
luminMODELCalculate the current model’s luminosity over a given rest frame energy range and redshift.
marginFITMCMC probability distribution.
mdefineMODELDefine a simple model using an arithmetic expression.
methodSETTINGSet the minimization method.
model (rmodel)MODELDefine the model to be used when fitting the data.
modidMODELGuess line IDs in the model.
multifakeSCRIPTPerform many iterations of fakeit and save the results in a FITS file.
newpar (rnewpar)MODELModify the model parameters. rnewpar is for response parameters
noticeDATARestore a range of PHA channels for future operations.
parallelCONTROLEnable parallel processing for particular tasks in XSPEC.
plotPLOTPlot various information on the current plot device.
queryCONTROLSwitch on/off prompt to continue fitting.
quitCONTROLAn alias for exit
renormFITAdjust the model norms, and/or control automatic renorming.
rescalecovSCRIPTRescale the covariance matrix used in the proposal chain command.
responseDATAReset the files used to determine the detector responses.
saveCONTROLSave aspects of the current state to a command file.
scriptCONTROLOpen the script file to save all commands input.
setplotPLOTModify the plot device and other values used by the plot routines.
showCONTROLDisplay current file and model information.
simftestSCRIPTGenerate simulated datasets to estimate the F-test probability for adding a model component.
sourceCONTROLExecute a script file.
statisticSETTINGChange the fit statistic in use.
stepparFITStep through a range of parameter values; perform a fit at each step.
syscallCONTROLRun a shell command.
systematicMODELSet the model systematic error.
tcloutCONTROLwrite xspec data to a tcl variable
tcloutrCONTROLtclout with return value
thaw (rthaw)FITAllow a model parameter to vary during the fit. rthaw is for response parameters
timeCONTROLDisplay elapsed time and other statistical information.
uncertainFITAlias for error
untie (runtie)MODELUntie linked parameters. runtie is for response parameters.
versionCONTROLPrint XSPEC version and build date/time
weightFITChange the weighting function used for chi-squared fits.
writefitsSCRIPTWrite information about the current fit and errors to a FITS file.
xsectSETTINGChange the photoelectric absorption cross-sections in use.
xsetSETTINGModify a number of XSPEC internal switches

(echo:: @ )