? 2 print summary of all commands or single command Syntax: ?{} addcomp 2 add component to a model Syntax: addcomp [Model Name:] componentName arf 4 reset auxiliary response file Syntax: arf none arf [source number:spectrum number] (many options: see help for full syntax) autosave 2 set frequency of auto-saving. Syntax: autosave backgrnd 4 reset background files Syntax: backgrnd none backgrnd [spectrum number] (many options: see help for full syntax) bayes 2 set up Bayesian inference Syntax: bayes off|on|cons| chain 2 Run a Monte Carlo Markov Chain. Syntax: chain [burn |clear|info|length|load|rand|recalc|run|stat|unload] chatter 2 set the chatter level Syntax: chatter {} comsum 2 print this summary Syntax: comsum {} corfile 4 reset correction files Syntax: corfile none corfile [spectrum number] (many options: see help for full syntax) cornorm 2 reset normalization used in correcting the background Syntax: cornorm ... norm (sets default range to last range entered) cosmo 2 set cosmological parameters Syntax: cosmo [H0 , q0, lambda0] (if no arguments are entered, current setting is printed) cpd 2 change plotting device Syntax: cpd (device name) data 3 input data files Syntax: data | [n:m] (many options: see help for full syntax) delcomp 2 delete component from model Syntax: delcomp [Model Name:]component number diagrsp 2 Create a diagonal response. Syntax: diagrsp dummyrsp 2 create 'dummy' response Syntax: [ [ [<# of ranges> [ [ []]]]]] editmod 2 add, replace or delete a component in a model Syntax: editmod [modelName:] energies 5 Define an energy array to be used for model calculations in place of response energy arrays Syntax: energies [reset|scale || [ ...]] where =:: log|lin and =:: log|lin eqwidth 2 calculate equivalent width Syntax: eqwidth [[RANGE ] ]... [err | noerr] error 2 find confidence region Syntax: error [[stopat ] [maximum ] [] [...]] uncertain 2 find confidence region Syntax: uncertain [[stopat ] [maximum ] [] [...]] exit 2 end the session (also Ctrl-D) Syntax: exit fakeit 2 create simulated observations from model Syntax: fakeit | [ background files] [correction files] fit 2 minimize statistic using current fitting algorithm Syntax: fit [#trials] [critical delta] flux 2 calculate the model flux Syntax: flux lowEnergy highEnergy [err #trials confidence level | noerr] freeze 2 fix a fit parameter Syntax: freeze :{m1-n1,m2-n2,...}, for integer parameter ranges and for optional model names ftest 2 calculate f-test probability Syntax: ftest chi2 dof2 chi1 dof1 (where chi2 < chi1) gain 2 change response gain for a dataset Syntax: gain or: gain genetic 2 set genetic algorithm parameters. Syntax: Not Implemented goodness 2 Perform a Monte Carlo calculation of the goodness-of-fit Syntax: goodness [# realizations] help 2 Invoke XSPEC help system Syntax: help [command] [subcommand] identify 2 List possible lines in the specified energy range Syntax: identify ignore 5 ignore PHA channels Syntax: ignore ignore s1-:n1-n2 ..., integer spectrum number and channel range ignore s1-:r1-r2 ..., integer spectrum number and real energy range (multiple ranges are allowed) improve 3 Run the MINUIT improve command which attempts to find a new local minimum in the vicinity of the current minimum. This gives some global minimization capability. Syntax: improve initpackage 2 Prepare a package containing locally written models for use with XSPEC"; Syntax: initpackage [] iplot 3 enter an interactive PLT plot command Syntax: iplot (iplot with no arguments acts like "iplot data") lmod 2 load a package containing locally written models into XSPEC Syntax: lmod [ ] log 2 open/close output file Syntax: log (|none) lumin 2 calculate the model luminosity Syntax: flux lowEnergy highEnergy [err #trials confidence level | noerr] redshift margin 3 (Bayes only) marginalize over uninteresting parameters Syntax: margin [ ... where ::= [log|nolog] <# steps> mdefine 2 Define an algebraic model component Syntax: mdefine [ [ [:[] []]]] model 2 define a model Syntax: model {:} newpar 2 change model parameters for specified or unnamed model Syntax: newpar {modelName:} value { } notice 5 notice PHA channels Syntax: notice all notice : ... notice : ... (multiple ranges are allowed) query 2 change XSPEC querying (ask questions or use supplied answer) Syntax: query ( on | yes | no ) quit 2 end the session (also Ctrl-D) Syntax: quit recornrm 2 adjust correction norms Syntax: Not Implemented - replaced by recorn model renorm 2 adjust the model norms Syntax: renorm [ |?|none|prefit|auto ] rerror 2 find confidence region Syntax: rerror [[stopat ] [maximum ] [] [...]] response 4 reset response files Syntax: response none response [source number:spectrum number] (many options: see help for full syntax) rfreeze 2 fix a fit response parameter Syntax: rfreeze [:]{m1-n1,m2-n2,...}, for integer parameter ranges and for optional source numbers rmodel 4 assign a response model to a detector response Syntax: rmodel [:] rmodel [:] none rmodel clear rnewpar 2 change response parameters for specified source Syntax: rnewpar {source num:} value { } rthaw 2 allow a previously fixed fit response parameter to vary Syntax: rthaw [:]{m1-n1,m2-n2,...}, for integer parameter ranges and for optional source numbers runtie 2 unlink response parameter(s) previously tied to other parameters Syntax: runtie [:] save 2 save current state to a file Syntax: save [filename] script 2 open/close session script Syntax: script [filename | none ] setplot 3 modify plot / change plot device etc Syntax: setplot add | channel | command | delete | device | energy | group | id | list | noadd | noid | rebin | wave | xlog | ylog show 2 display information about current session state Syntax: show steppar 3 Perform fits while stepping the value of parameters through given range(s) Syntax: steppar [ ... ] where ::= [log|nolog] [current|best] <# steps> systematic 2 set systematic error proportional to model Syntax: systematic tclout 2 write values to tcl variable $xspec_tclout Syntax: tclout {many options} thaw 2 allow a previously fixed fit parameter to vary Syntax: thaw [:]{m1-n1,m2-n2,...}, for integer parameter ranges and optional model name thleqw 2 fluorescent line equivalent width Syntax: Not Implemented"; time 2 display elapsed time since last call and beginning of program run Syntax: time untie 2 unlink parameter(s) previously tied to other parameters Syntax: untie [:]{range} version 2 print version string Syntax: version (no arguments) xset 3 Choose from the following XSET options: abund cosmo delta mdatadir method seed statistic weight xsect Model string parameters