next up previous contents
: GISデータの扱い : XSELECT : XSELECTとは?  ; 目次

初期設定

とりあえず、これから扱おうとする観測機器を設定しましょう。 GIS2 であれば、


   CasA_g2:ASCA > set inst gis2

  Setting: IMAGE binning    =    1
           WMAP binning     =    1
           Energy Column    =  PI
           Energy rebinning =    1

   CasA_g2:ASCA-GIS2 >
とします。他の観測機器であれば sis0, sis1, gis3とします。 観測機器を設定すると同時に初期設定もされ、表示されます。

パラメタの初期設定を変更するには``set''コマンドを使います。


   CasA_g2:ASCA-GIS2 > set
   BINSIZE             -->  set the binsize for light curves
   DATA*DIR            -->  set the data directory
   DATAMODE            -->  setup Xselect for particular data modes
   DEVICE              -->  set the plot device
   DUMPCAT             -->  set make obscat to display or not
   IMAGE               -->  set the coordinates for the image to sky or det.
   INSTRUMENT          -->  set the instrument name
   MISSION             -->  set the mission name
   MKFDIR              -->  set the directory for the MKF file
   OBSDIR              -->  set the observation catalogue directory (default is cwd
   PHAREBIN            -->  set the pha bin size
   PAGEWIDTH           -->  set the pagewidth for show commands
   PHANAME             -->  set the column name for PHA
   QUIT                -->  quit set
   WMAPNAME            -->  set the column for the WMAP
   WMAPBINSIZE         -->  set the bin size for the weighted map
   XYBINSIZE           -->  set the bin size for the image
   XYNAME              -->  sets the column for images
    >Set what? >[ ] binsize
   > Give bin size in seconds >[16.00000] 4.0
   CasA_g2:ASCA-GIS2 >
``Set what?''でメニューにある項目のどれかを入力します。 [ ]のなかはデフォルト値ですので良ければそのままリターン、変更したい時は 値を入力します。また、これは一行で次のように書けます。

   CasA_g2:ASCA-GIS2 > set binsize 4.0
``DEVICE''は/xw, ``INSTRUMENT''は最初に設定した観測機器です。 ``MISSION''はASCAです。``PHAREBIN''はスペクトルファイルを作る時のビンまとめの 数でデフォルトでいいと思います。``PHANAME''は、PIにします。 ``XYNAME''は Detector coordinate を使う場合は DETX, DETY に、 sky coordinate を使う場合は X, Y にします。 スペクトルファイルを作る時には、DETX, DETY に[*]、 イメージを作る時にはX, Y にすると便利です。

``IMAGE'' は ``XYNAME'' と同じ機能をもっています。 sky coordinate にするには、``set image sky'',detector coordinate にするには ``set image dete'' とします。

セッションのたびに決まった初期設定をするのなら例えば、次のような scriptを書いておくといいでしょう。 ファイル名を仮に``saisho_gis2.xco''[*]とします。


     set INSTRUMENT gis2
     set BINSIZE 16.0
     set PHAREBIN 1
     set XYNAME X Y
     set DEVICE /xw
これを次のように使います。

   CasA_g2:ASCA > @saisho_gis2
  !CasA_g2:ASCA > set INSTRUMENT gis2

  Setting: IMAGE binning    =    1
           WMAP binning     =    4
           Energy Column    =  PI
           Energy rebinning =    1

  !CasA_g2:ASCA-GIS2 > set BINSIZE 16.0
  !CasA_g2:ASCA-GIS2 > set PHAREBIN 1
   status =            0
   status =            0
  !CasA_g2:ASCA-GIS2 > set XYNAME X Y
  !CasA_g2:ASCA-GIS2 > set DEVICE /xw
   Plotting device chosen: /XW
これで初期設定が終わりました。



WATANABE Manabu 平成12年8月10日