Table of Contents

Suzaku

有効面積算出

for i in *.arf ; do
    echo ${i}
    fstatistic "${i}[ ENERG_LO >= 0.2 && ENERG_HI <= 10.0 ]" SPECRESP - | grep sum
done

Grppha

一般的なまとめ方

grppha ${i} ${i%.pha}_grp20.pha "group min 20" exit

2つのphaを同じbinでまとめる

grppha foo.pha dummy.pha "dump group groupfile.dat" exit
grppha bar.pha binned.pha "group groupfile.dat" exit