Table of Contents

Heasoft

Cronなど制御端末(/dev/tty)が無い状況でHEADASを使うとエラーが出る
環境変数 HEADASNOQUERY を設定すると解消する

export HEADASNOQUERY="1"

出力先は以下の環境変数で設定可能

export HEADASPROMPT="prompt.log"
export HEADASOUTPUT="output.log"
export HEADASERROR="error.log"

FITS

imhead input.fits		: Header表示 (IRAF)
fdump input.fits STDOUT - -	: Header表示 (HEAsoft)
dmlist input.fits header	: Header表示 (CIAO)
fstruct input.fits		: Struct表示 (HEAsoft)
dmlist input.fits struct	: Struct表示 (CIAO)
dmlist input.fits data		: Data表示   (CIAO)
fv input.fits			: GUI表示    (HEAsoft)

Mathpha

Subtraction

mathpha
Expression to be evaluated[] src.pi - bkg.pi
Units algebraic expression to be performed in (C,R,F or Help)[C] C
O/p PHA filename[] out.pi
Exposure time flag/value ({value},{file},CALC,NULL or Help)[] CALC
Areascal flag/value ({value},{file},NULL or Help)[%] %
Number of comment strings to be added (up to 4)[1] 1
Comment 1[] src-bkg

Multiplication

mathpha ERRMETH="Gauss"
Expression to be evaluated[] src.pi * 1.15
Units algebraic expression to be performed in (C,R,F or Help)[C] C
O/p PHA filename[] out.pi
Exposure time flag/value ({value},{file},CALC,NULL or Help)[] out.pi
Areascal flag/value ({value},{file},NULL or Help)[%] out.pi