コマンドラインでMALLSの分光器設定を制御する setmalls コマンドの説明です。
nhao@obs3:~$ setmalls -h
usage: setmalls [-h] [-g {150,1800,echelle}] [-a GRATING_ANG] [-w WAVELENGTH]
[-o {LOPF496,BG40,WG320,LOPF405,---}]
[-s {1.6as,0.8as,1.2as,echelle,5as}] [-v {R,V,B,clear}]
[-m {in,out}] [-l {comp,flat}] [-f {on,off}] [-c {on,off}]
[--wait] [-U {comp,flat,obj,lowR,echelle,Ha}] [-T]
Optical settings of MALLS. Please launch BunkoukiSeigyo app (ver.2.3+) with
NORMAL mode.
options:
-h, --help show this help message and exit
-g {150,1800,echelle}, --grating-name {150,1800,echelle}
-a GRATING_ANG, --grating-ang GRATING_ANG
-w WAVELENGTH, --wavelength WAVELENGTH
in angstrom
-o {LOPF496,BG40,WG320,LOPF405,---}, --order-cut {LOPF496,BG40,WG320,LOPF405,---}
-s {1.6as,0.8as,1.2as,echelle,5as}, --slit {1.6as,0.8as,1.2as,echelle,5as}
-v {R,V,B,clear}, --SV-filter {R,V,B,clear}
-m {in,out}, --mirror {in,out}
-l {comp,flat}, --lamp-switch {comp,flat}
-f {on,off}, --flat {on,off}
-c {on,off}, --comp {on,off}
--wait wait until ready
-U {comp,flat,obj,lowR,echelle,Ha}, --setup {comp,flat,obj,lowR,echelle,Ha}
-T, --status show status
setmalls -g 1800
setmalls -a 29.8
setmalls -w 6563
setmalls -o LOPF496
setmalls -s 0.8as
定義済みセットアップについては、-U (--setup) オプションで一括操作できる。
setmalls -U comp
setmalls -U flat
setmalls -U obj
setmalls -U lowR
setmalls -U echelle
setmalls -U Ha
setmalls -s 1.2as -o WG320 -a 29.8
setmalls --status出力例:
GratingName: 1800 GratingAngle (deg): -4.834 CentWavelength (A): 6563 OrderCutFilter: LOPF496 Slit: 0.8as
setmalls -g 150 --wait
setmalls -h