diff options
author | Weitian LI <liweitianux@gmail.com> | 2014-11-12 16:50:51 +0800 |
---|---|---|
committer | Weitian LI <liweitianux@gmail.com> | 2014-11-12 16:50:51 +0800 |
commit | 6a3885395e9bb793e22694fd1a210078cef69dfc (patch) | |
tree | a0f4b4ede7bac76ab8c0708164c469963016157d | |
parent | f37643e5d14eaae7e9c42d6c8ebd4aad94533484 (diff) | |
download | dotfiles-6a3885395e9bb793e22694fd1a210078cef69dfc.tar.bz2 |
Added ds9/xspec/todo configs
l--------- | .bash_completion.d/gentoo | 2 | ||||
-rw-r--r-- | .bash_completion.d/todo_completion | 113 | ||||
-rw-r--r-- | .ds9.prf | 115 | ||||
-rw-r--r-- | .ds9_7.prf | 115 | ||||
-rw-r--r-- | .xspec/Xspec.init | 166 |
5 files changed, 510 insertions, 1 deletions
diff --git a/.bash_completion.d/gentoo b/.bash_completion.d/gentoo index 98ef469..6059b42 120000 --- a/.bash_completion.d/gentoo +++ b/.bash_completion.d/gentoo @@ -1 +1 @@ -../../../usr/share/bash-completion/gentoo
\ No newline at end of file +/usr/share/bash-completion/gentoo
\ No newline at end of file diff --git a/.bash_completion.d/todo_completion b/.bash_completion.d/todo_completion new file mode 100644 index 0000000..f443acb --- /dev/null +++ b/.bash_completion.d/todo_completion @@ -0,0 +1,113 @@ +#!/bin/bash source-this-script +[ "$BASH_VERSION" ] || return + +_todo() +{ + local cur prev opts + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + + local -r OPTS="-@ -@@ -+ -++ -d -f -h -p -P -PP -a -n -t -v -vv -V -x" + local -r COMMANDS="\ + add a addto addm append app archive command del \ + rm depri dp do help list ls listaddons listall lsa listcon \ + lsc listfile lf listpri lsp listproj lsprj move \ + mv prepend prep pri p replace report shorthelp" + local -r MOVE_COMMAND_PATTERN='^(move|mv)$' + + local _todo_sh=${_todo_sh:-todo.sh} + local completions + if [ $COMP_CWORD -eq 1 ]; then + completions="$COMMANDS $(eval TODOTXT_VERBOSE=0 $_todo_sh command listaddons) $OPTS" + elif [[ $COMP_CWORD -gt 2 && ( \ + "${COMP_WORDS[COMP_CWORD-2]}" =~ $MOVE_COMMAND_PATTERN || \ + "${COMP_WORDS[COMP_CWORD-3]}" =~ $MOVE_COMMAND_PATTERN ) ]]; then + # "move ITEM# DEST [SRC]" has file arguments on positions 2 and 3. + completions=$(eval TODOTXT_VERBOSE=0 $_todo_sh command listfile) + else + case "$prev" in + command) + completions=$COMMANDS;; + help) + completions="$COMMANDS $(eval TODOTXT_VERBOSE=0 $_todo_sh command listaddons)";; + addto|listfile|lf) + completions=$(eval TODOTXT_VERBOSE=0 $_todo_sh command listfile);; + -*) completions="$COMMANDS $(eval TODOTXT_VERBOSE=0 $_todo_sh command listaddons) $OPTS";; + *) case "$cur" in + +*) completions=$(eval TODOTXT_VERBOSE=0 $_todo_sh command listproj) + COMPREPLY=( $( compgen -W "$completions" -- $cur )) + [ ${#COMPREPLY[@]} -gt 0 ] && return 0 + # Fall back to projects extracted from done tasks. + completions=$(eval 'TODOTXT_VERBOSE=0 TODOTXT_SOURCEVAR=\$DONE_FILE' $_todo_sh command listproj) + ;; + @*) completions=$(eval TODOTXT_VERBOSE=0 $_todo_sh command listcon) + COMPREPLY=( $( compgen -W "$completions" -- $cur )) + [ ${#COMPREPLY[@]} -gt 0 ] && return 0 + # Fall back to contexts extracted from done tasks. + completions=$(eval 'TODOTXT_VERBOSE=0 TODOTXT_SOURCEVAR=\$DONE_FILE' $_todo_sh command listcon) + ;; + *) if [[ "$cur" =~ ^[0-9]+$ ]]; then + # Remove the (padded) task number; we prepend the + # user-provided $cur instead. + # Remove the timestamp prepended by the -t option, + # and the done date (for done tasks); there's no + # todo.txt option for that yet. + # But keep priority and "x"; they're short and may + # provide useful context. + # Remove any trailing whitespace; the Bash + # completion inserts a trailing space itself. + # Finally, limit the output to a single line just as + # a safety check of the ls action output. + local todo=$( \ + eval TODOTXT_VERBOSE=0 $_todo_sh '-@ -+ -p -x command ls "^ *${cur} "' | \ + sed -e 's/^ *[0-9]\{1,\} //' -e 's/^\((.) \)\{0,1\}[0-9]\{2,4\}-[0-9]\{2\}-[0-9]\{2\} /\1/' \ + -e 's/^\([xX] \)\([0-9]\{2,4\}-[0-9]\{2\}-[0-9]\{2\} \)\{1,2\}/\1/' \ + -e 's/[[:space:]]*$//' \ + -e '1q' \ + ) + # Append task text as a shell comment. This + # completion can be a safety check before a + # destructive todo.txt operation. + [ "$todo" ] && COMPREPLY[0]="$cur # $todo" + return 0 + else + return 0 + fi + ;; + esac + ;; + esac + fi + + COMPREPLY=( $( compgen -W "$completions" -- $cur )) + return 0 +} +complete -F _todo todo.sh + +# If you define an alias (e.g. "t") to todo.sh, you need to explicitly enable +# completion for it, too: +#complete -F _todo t +# It is recommended to put this line next to your alias definition in your +# ~/.bashrc (or wherever else you're defining your alias). If you simply +# uncomment it here, you will need to redo this on every todo.txt update! + +# If you have renamed the todo.sh executable, or if it is not accessible through +# PATH, you need to add and use a wrapper completion function, like this: +#_todoElsewhere() +#{ +# local _todo_sh='/path/to/todo2.sh' +# _todo "$@" +#} +#complete -F _todoElsewhere /path/to/todo2.sh + +# If you use aliases to use different configuration(s), you need to add and use +# a wrapper completion function for each configuration if you want to complete +# fron the actual configured task locations: +#alias todo2='todo.sh -d "$HOME/todo2.cfg"' +#_todo2() +#{ +# local _todo_sh='todo.sh -d "$HOME/todo2.cfg"' +# _todo "$@" +#} +#complete -F _todo2 todo2 diff --git a/.ds9.prf b/.ds9.prf new file mode 100644 index 0000000..db9ce9c --- /dev/null +++ b/.ds9.prf @@ -0,0 +1,115 @@ +global ds9 +global prefs +set prefs(version) 7.2 +# this is a check for to ensure a match between the +# current ds9 version matches the prefs version +if {[string compare $prefs(version) [lindex $ds9(version) 0]] == 1} { + tk_messageBox -type ok -icon warning -message "[msgcat::mc {DS9 has detected a newer version of a preferences file and therefore will not process this file.}]" + return +} +global pds9 +array set pds9 { nan,msg White dialog motif text,font courier samp 1 font,msg Helvetica threads 8 font,weight normal automarker 1 bg,msg White language locale text,font,weight normal dialog,all 0 nan white font,slant roman confirm 1 backup 1 language,dir {} font helvetica language,name English bg white xpa 1 text,font,msg Courier theme native tcl 0 dialog,center 0 font,size 9 text,font,slant roman text,font,size 9 } +global current +global pcurrent +array set pcurrent { orient none zoom { 1 1 } mode pointer display tile align 0 rotate 0 } +array set current [array get pcurrent] +global view +global pview +array set pview { info,wcss 0 info,wcsc 0 info,wcst 0 info,wcsd 0 graph,horz 0 info,wcsu 0 info,wcse 0 magnifier 1 info,lowhigh 0 info,wcsf 0 info,frame 1 info,image 1 info,wcsv 0 colorbar 1 info 1 info,wcsg 0 info,wcsw 0 info,wcs 1 info,wcsh 0 info,wcsx 0 info,physical 1 info,wcsi 0 info,wcsy 0 info,object 1 buttons 1 info,wcsj 0 info,wcsz 0 info,wcsk 0 info,filename 1 info,wcsl 0 info,amplifier 0 info,minmax 0 info,wcsm 0 info,detector 0 info,wcsn 0 panner 1 info,wcso 0 info,wcsp 0 layout horizontal info,wcsa 0 info,wcsq 0 graph,vert 0 info,wcsb 0 info,wcsr 0 } +array set view [array get pview] +global phttp +array set phttp { auth,passwd {} proxy,host {} auth,user {} auth 0 proxy 0 proxy,port {} } +global pbuttons +array set pbuttons { color,he 1 frame,lock,frame,physical 0 view,lowhigh 0 frame,single 1 major,color 1 view,wcs 0 bin,in 1 view,buttons 1 help,release 1 file,open 1 edit,crosshair 1 view,panner 1 frame,lock,scale 0 help,story 0 help,new 0 frame,match,color 0 view,amplifier 0 scale,params 0 region,dissolve 0 major,zoom 1 frame,lock,cube 0 frame,newrgb 1 major,file 1 bin,512x 0 file,console 0 bin,8192x 0 edit,prefs 0 frame,match,smooth 0 bin,2048x 0 zoom,i2 1 edit,colorbar 1 zoom,i4 1 scale,minmax 1 scale,asinh 1 color,numerics 0 view,horizontal 0 major,wcs 1 zoom,i8 1 view,colorbar 1 color,sls 1 frame,match,crop,wcs 0 frame,clear 1 bin,1 1 bin,2 1 frame,new3d 1 zoom,16 0 edit,rotate 1 file,page 1 bin,4 1 zoom,none 0 region,list 1 file,pspage 0 frame,lock,crop,none 0 frame,lock,frame,detector 0 bin,8 1 scale,zscale 1 region,centroid 0 region,autocentroid 0 frame,size 0 zoom,270 0 scale,pow 1 frame,match,crop,image 0 scale,90 0 wcs,fk4 1 zoom,32 0 wcs,fk5 1 frame,blink 1 frame,match,cube 0 color,cool 1 frame,match,frame,amplifier 0 bin,average 0 bin,128x 0 frame,lock,crosshair,image 0 color,staircase 0 view,image 0 frame,reset 0 scale,95 0 file,save 1 scale,96 0 scale,97 0 major,scale 1 scale,98 0 region,showtext 0 file,exit 1 scale,99 0 frame,first 1 frame,lock,crop,physical 0 help,ref 1 color,grey 1 frame,lock,crop,amplifier 0 frame,lock,crosshair,none 0 view,filename 0 view,magnifier 1 file,backup 0 region,vector 0 frame,lock,crosshair,wcs 0 color,vert 0 color,green 0 file,header 1 edit,crop 1 edit,cut 0 frame,lock,crop,image 0 frame,match,scale 0 region,all 1 scale,user 0 file,samp,image 0 color,params 0 zoom,in 1 frame,movelast 0 edit,pointer 1 region,deleteall 0 color,standard 0 frame,match,frame,physical 0 help,faq 0 frame,lock,frame,image 0 region,load 1 frame,match,frame,image 0 region,savetemplate 0 region,loadtemplate 0 scale,925 0 color,rainbow 1 zoom,params 0 frame,refresh 0 zoom,i16 0 zoom,90 0 region,delete 1 edit,copy 0 region,annulus 0 frame,lock,crosshair,amplifier 0 bin,fit 1 region,ruler 0 region,circle 0 frame,match,crosshair,amplifier 0 view,physical 0 color,a 1 color,b 1 frame,lock,crop,detector 0 scale,sqrt 1 zoom,i32 0 major,view 1 view,vertical 0 region,point 0 region,group 0 frame,movenext 0 frame,match,crosshair,physical 0 bin,128 0 file,print 1 frame,lock,crop,wcs 0 frame,delete 1 frame,lock,frame,none 0 frame,match,crop,physical 0 frame,movefirst 0 color,red 0 region,none 1 region,polygon 0 bin,params 0 frame,last 1 scale,zmax 0 edit,catalog 1 frame,tile 1 major,help 1 region,compass 0 edit,paste 0 frame,match,crosshair,wcs 0 help,about 1 region,back 1 file,samp,table 0 frame,match,frame,detector 0 scale,squared 1 scale,datasec 0 help,desk 1 region,ellipse 0 frame,cube 0 view,graphvert 1 edit,none 1 major,edit 1 frame,lock,crosshair,physical 0 color,blue 0 file,psprint 0 wcs,ecliptic 1 color,horz 0 region,save 1 region,newgroup 0 color,aips0 1 wcs,galactic 1 region,front 1 zoom,0 0 zoom,1 1 frame,moveprev 0 zoom,2 1 scale,995 0 frame,match,frame,wcs 0 scale,hist 1 zoom,4 1 color,reset 0 color,numspace 0 region,show 0 view,minmax 0 view,detector 0 frame,new 1 frame,match,crop,amplifier 0 zoom,8 1 zoom,center 0 region,ellipseannulus 0 zoom,fit 1 major,bin 1 frame,next 1 edit,pan 1 view,info 1 frame,match,crosshair,detector 0 frame,lock,frame,amplifier 0 bin,1024x 0 file,xpa,info 0 bin,out 1 view,object 0 frame,lock,smooth 0 frame,match,crop,detector 0 color,invert 0 region,create 0 region,info 1 frame,match,crosshair,image 0 scale,sinh 1 color,bb 1 file,tcl 0 wcs,sexagesimal 1 region,panda 0 region,boxannulus 0 wcs,degrees 1 region,box 0 wcs,icrs 1 view,frame 0 frame,lock,color 0 bin,16 1 frame,lock,bin 0 frame,3d 0 major,frame 1 file,restore 0 frame,lock,crosshair,detector 0 frame,match,bin 0 color,color 0 help,ack 1 color,i8 1 frame,prev 1 color,heat 1 edit,zoom 1 region,invert 0 edit,examine 1 bin,32 1 frame,deleteall 0 region,text 0 region,projection 0 zoom,crop 0 help,keyboard 1 scale,log 1 frame,lock,frame,wcs 0 bin,4096x 0 zoom,align 0 scale,linear 1 edit,undo 0 major,region 1 zoom,x 0 frame,rgb 0 bin,256 0 zoom,y 0 zoom,xy 0 zoom,180 0 color,hsv 0 view,graphhorz 1 region,line 0 color,numvalue 0 region,epanda 0 zoom,out 1 bin,sum 0 bin,256x 1 help,user 1 file,movie 0 region,bpanda 0 bin,64 1 } +global ppanner +array set ppanner { compass 1 } +global pmagnifier +array set pmagnifier { region 1 zoom 4 color,msg White cursor 1 color white } +global ps +global pps +array set pps { scale 100 orient portrait height 11 size letter resolution 150 filename,txt ds9.txt dest printer level 2 width 8.5 filename ds9.ps cmd lp color rgb } +array set ps [array get pps] +global pr +global ppr +array set ppr { } +array set pr [array get ppr] +global blink +global pblink +array set pblink { interval 500 } +array set blink [array get pblink] +global tile +global ptile +array set ptile { grid,col 10 mode grid grid,row 10 grid,gap 4 grid,mode automatic } +array set tile [array get ptile] +global threed +global pthreed +array set pthreed { highlite,color,msg Cyan border,color,msg Blue scale 1 method mip highlite,color cyan border,color blue compass,color green highlite 1 border 1 compass 0 } +array set threed [array get pthreed] +global bin +global pbin +array set pbin { wheel,factor 1.2 wheel 1 lock 0 depth 1 buffersize 1024 function sum factor { 1 1 } } +array set bin [array get pbin] +global panzoom +global ppanzoom +array set ppanzoom { wheel,factor 1.2 preserve 0 wheel 1 mode click } +array set panzoom [array get ppanzoom] +global scale +global pscale +array set pscale { preserve 0 datasec 1 mode minmax scope local log 1000 type linear } +array set scale [array get pscale] +global minmax +global pminmax +array set pminmax { mode auto sample 25 } +array set minmax [array get pminmax] +global zscale +global pzscale +array set pzscale { line 120 contrast .25 sample 600 } +array set zscale [array get pzscale] +global marker +global pmarker +array set pmarker { panda,ang2 360 bpanda,ang1 0 shape circle show 1 bpanda,ang2 360 boxannulus,annuli 1 delete 1 centroid,radius 10 dformat degrees annulus,inner 15 panda,angnum 4 show,text 1 epanda,angnum 4 centroid,iteration 30 plot2d 0 font,size 10 rotate 1 move 1 fixed 0 ellipseannulus,radius1 40 ellipseannulus,radius2 20 ellipseannulus,radius3 60 plot3d 1 epanda,radius1 40 panda,outer 30 panda,annuli 1 epanda,radius2 20 epanda,radius3 60 source 1 bpanda,radius1 80 bpanda,radius2 40 epanda,annuli 1 bpanda,radius3 120 color green format ciao annulus,outer 30 font,weight normal polygon,width 20 font,slant roman edit 1 font helvetica bpanda,angnum 4 dash 0 projection,thick 0 boxannulus,radius1 80 dashlist {8 3} polygon,height 20 boxannulus,radius2 40 boxannulus,radius3 120 box,radius1 80 box,radius2 40 point,size 11 annulus,annuli 1 compass,radius 40 include 1 epanda,ang1 0 centroid,auto 0 epanda,ang2 360 circle,radius 20 width 1 bpanda,annuli 1 ellipse,radius1 40 preserve 0 panda,inner 15 ellipse,radius2 20 panda,ang1 0 ellipseannulus,annuli 1 } +array set marker [array get pmarker] +global wcs +global pwcs +array set pwcs { skyformat sexagesimal system wcs sky fk5 } +array set wcs [array get pwcs] +global pgraph +array set pgraph { horz,log false horz,grid 1 vert,log false vert,grid 1 } +global pcoord +array set pcoord { wcss 0 wcsc 0 wcst 0 wcsd 0 wcsu 0 wcse 0 wcsv 0 wcsf 0 image 1 wcsw 0 wcsg 0 wcsx 0 wcsh 0 physical 0 wcs 1 wcsy 0 wcsi 0 wcsz 0 wcsj 0 wcsk 0 wcsl 0 filename 0 amplifier 0 wcsm 0 detector 0 wcsn 0 wcso 0 wcsp 0 value 1 wcsq 0 wcsa 0 wcsr 0 wcsb 0 } +global pexamine +array set pexamine { zoom 4 mode new } +global pixel +global ppixel +array set ppixel { size 5 } +array set pixel [array get ppixel] +global mask +global pmask +array set pmask { transparency 0 color red mark 1 } +array set mask [array get pmask] +global contour +global pcontour +array set pcontour { numlevel 5 dash 0 width 1 method block color,msg Green smooth 4 color green } +array set contour [array get pcontour] +global smooth +global psmooth +array set psmooth { radius 3 lock 0 function gaussian view 0 } +array set smooth [array get psmooth] +global nres +global pnres +array set nres { server simbad-cds } +array set nres [array get pnres] +global pcat +array set pcat { sym,units physical sym,font,weight normal vot 1 loc 500 server cds sym,color,msg Green sym,font,msg Helvetica sym,font,slant roman sym,font,size 10 sym,font,weight, {} sym,color green sym,font helvetica sym,shape {circle point} } +global pvo +array set pvo { method mime hv 1 delay 15 server http://cxc.harvard.edu/chandraed/list.txt } +global pap +array set pap { textlabSlant roman quadratic 0 textlabFont,msg Helvetica numlabWeight normal quadratic,dash no textlabWeight normal graph,y,grid 1 quadratic,color black discrete,color,msg Red error 1 discrete,color red step,color black linear,color,msg Black discrete 0 graph,x,log 0 titleSize 12 error,color red bar 0 graph,y,flip 0 linear,color black step,dash no titleFont helvetica titleWeight normal linear 1 discrete,fill 1 textlabSize 9 graph,x,grid 1 numlabSlant roman quadratic,width 1 textlabFont helvetica titleSlant roman step 0 quadratic,color,msg Black discrete,symbol circle linear,dash no step,width 1 numlabFont,msg Helvetica numlabSize 9 step,color,msg Black graph,x,flip 0 numlabFont helvetica error,width 1 linear,width 1 bar,color black error,color,msg Red titleFont,msg Helvetica graph,y,log 0 } +global panalysis +array set panalysis { user2 {} autoload 1 user3 {} log 0 user4 {} user {} } + +# Colorbar prefs +global colorbar +global pcolorbar +array set pcolorbar { invert 0 lock 0 size 20 font,weight normal space 0 tag red font,slant roman map he numerics 1 font helvetica orientation horizontal font,size 9 ticks 11 tag,msg Red } +array set colorbar [array get pcolorbar] diff --git a/.ds9_7.prf b/.ds9_7.prf new file mode 100644 index 0000000..8af9ba9 --- /dev/null +++ b/.ds9_7.prf @@ -0,0 +1,115 @@ +global ds9 +global prefs +set prefs(version) 7.2 +# this is a check for to ensure a match between the +# current ds9 version matches the prefs version +if {[string compare $prefs(version) [lindex $ds9(version) 0]] == 1} { + tk_messageBox -type ok -icon warning -message "[msgcat::mc {DS9 has detected a newer version of a preferences file and therefore will not process this file.}]" + return +} +global pds9 +array set pds9 { nan,msg White dialog motif text,font courier samp 1 font,msg Helvetica threads 8 font,weight normal automarker 1 bg,msg White language locale text,font,weight normal dialog,all 0 nan white font,slant roman confirm 1 backup 1 language,dir {} font helvetica language,name English bg white xpa 1 text,font,msg Courier theme native tcl 0 dialog,center 0 font,size 9 text,font,slant roman text,font,size 9 } +global current +global pcurrent +array set pcurrent { orient none zoom { 1 1 } mode pointer display tile align 0 rotate 0 } +array set current [array get pcurrent] +global view +global pview +array set pview { info,wcss 0 info,wcsc 0 info,wcst 0 info,wcsd 0 graph,horz 0 info,wcsu 0 info,wcse 0 magnifier 1 info,lowhigh 0 info,wcsf 0 info,frame 1 info,image 1 info,wcsv 0 colorbar 1 info 1 info,wcsg 0 info,wcsw 0 info,wcs 1 info,wcsh 0 info,wcsx 0 info,physical 1 info,wcsi 0 info,wcsy 0 info,object 1 buttons 1 info,wcsj 0 info,wcsz 0 info,wcsk 0 info,filename 1 info,wcsl 0 info,amplifier 0 info,minmax 0 info,wcsm 0 info,detector 0 info,wcsn 0 panner 1 info,wcso 0 info,wcsp 0 layout vertical info,wcsa 0 info,wcsq 0 graph,vert 0 info,wcsb 0 info,wcsr 0 } +array set view [array get pview] +global phttp +array set phttp { auth,passwd {} proxy,host {} auth,user {} auth 0 proxy 0 proxy,port {} } +global pbuttons +array set pbuttons { color,he 1 frame,lock,frame,physical 0 view,lowhigh 0 frame,single 1 major,color 1 view,wcs 0 bin,in 1 view,buttons 1 help,release 1 file,open 1 edit,crosshair 1 view,panner 1 frame,lock,scale 0 help,story 0 help,new 0 frame,match,color 0 view,amplifier 0 scale,params 0 region,dissolve 0 major,zoom 1 frame,lock,cube 0 frame,newrgb 1 major,file 1 bin,512x 0 file,console 0 bin,8192x 0 edit,prefs 0 frame,match,smooth 0 bin,2048x 0 zoom,i2 1 edit,colorbar 1 zoom,i4 1 scale,minmax 1 scale,asinh 1 color,numerics 0 view,horizontal 0 major,wcs 1 zoom,i8 1 view,colorbar 1 color,sls 1 frame,match,crop,wcs 0 frame,clear 1 bin,1 1 bin,2 1 frame,new3d 1 zoom,16 0 edit,rotate 1 file,page 1 bin,4 1 zoom,none 0 region,list 1 file,pspage 0 frame,lock,crop,none 0 frame,lock,frame,detector 0 bin,8 1 scale,zscale 1 region,centroid 0 region,autocentroid 0 frame,size 0 zoom,270 0 scale,pow 1 frame,match,crop,image 0 scale,90 0 wcs,fk4 1 zoom,32 0 wcs,fk5 1 frame,blink 1 frame,match,cube 0 color,cool 1 frame,match,frame,amplifier 0 bin,average 0 bin,128x 0 frame,lock,crosshair,image 0 color,staircase 0 view,image 0 frame,reset 0 scale,95 0 file,save 1 scale,96 0 scale,97 0 major,scale 1 scale,98 0 region,showtext 0 file,exit 1 scale,99 0 frame,first 1 frame,lock,crop,physical 0 help,ref 1 color,grey 1 frame,lock,crop,amplifier 0 frame,lock,crosshair,none 0 view,filename 0 view,magnifier 1 file,backup 0 region,vector 0 frame,lock,crosshair,wcs 0 color,vert 0 color,green 0 file,header 1 edit,crop 1 edit,cut 0 frame,lock,crop,image 0 color,match 0 frame,match,scale 0 file,savefits 0 region,all 1 scale,user 0 file,samp,image 0 file,saveimage 1 color,params 0 zoom,in 1 frame,movelast 0 edit,pointer 1 region,deleteall 0 color,standard 0 frame,match,frame,physical 0 help,faq 0 frame,lock,frame,image 0 region,load 1 frame,match,frame,image 0 region,savetemplate 0 region,loadtemplate 0 scale,925 0 color,rainbow 1 zoom,params 0 frame,refresh 0 zoom,i16 0 zoom,90 0 region,delete 1 file,xpa 0 edit,copy 0 region,annulus 0 frame,lock,crosshair,amplifier 0 bin,fit 1 bin,match 0 region,ruler 0 region,circle 0 frame,match,crosshair,amplifier 0 view,physical 0 color,a 1 color,b 1 frame,lock,crop,detector 0 scale,sqrt 1 zoom,i32 0 major,view 1 view,vertical 0 region,point 0 region,group 0 frame,movenext 0 frame,match,crosshair,physical 0 bin,128 0 scale,match 0 file,print 1 frame,lock,crop,wcs 0 frame,delete 1 frame,lock,frame,none 0 frame,match,crop,physical 0 frame,movefirst 0 color,red 0 region,none 1 region,polygon 0 bin,params 0 frame,last 1 scale,zmax 0 edit,catalog 1 frame,tile 1 major,help 1 region,compass 0 edit,paste 0 frame,match,crosshair,wcs 0 help,about 1 region,back 1 file,samp,table 0 frame,match,frame,detector 0 scale,squared 1 scale,datasec 0 help,desk 1 region,ellipse 0 frame,cube 0 view,graphvert 1 edit,none 1 major,edit 1 frame,lock,crosshair,physical 0 color,blue 0 file,psprint 0 wcs,ecliptic 1 color,horz 0 region,save 1 region,newgroup 0 color,aips0 1 wcs,galactic 1 region,front 1 zoom,0 0 zoom,1 1 frame,moveprev 0 zoom,2 1 scale,995 0 frame,match,frame,wcs 0 scale,hist 1 zoom,4 1 color,reset 0 file,about 1 color,numspace 0 region,show 0 view,minmax 0 view,detector 0 frame,new 1 frame,match,crop,amplifier 0 zoom,8 1 zoom,center 0 region,ellipseannulus 0 zoom,fit 1 major,bin 1 frame,next 1 edit,pan 1 view,info 1 frame,match,crosshair,detector 0 frame,lock,frame,amplifier 0 bin,1024x 0 file,xpa,info 0 bin,out 1 view,object 0 frame,lock,smooth 0 frame,match,crop,detector 0 color,invert 0 region,create 0 region,info 1 frame,match,crosshair,image 0 scale,sinh 1 color,bb 1 file,tcl 0 graphics 0 region,circle3d 0 wcs,sexagesimal 1 region,panda 0 region,boxannulus 0 wcs,degrees 1 region,box 0 wcs,icrs 1 view,frame 0 frame,lock,color 0 bin,16 1 frame,lock,bin 0 frame,3d 0 major,frame 1 file,restore 0 frame,lock,crosshair,detector 0 frame,match,bin 0 color,color 0 help,ack 1 color,i8 1 frame,prev 1 color,heat 1 edit,zoom 1 region,invert 0 edit,examine 1 bin,32 1 frame,deleteall 0 region,text 0 region,projection 0 zoom,crop 0 help,keyboard 1 scale,log 1 frame,lock,frame,wcs 0 bin,4096x 0 file,savempeg 0 zoom,align 0 help,home 1 scale,linear 1 edit,undo 0 major,region 1 zoom,x 0 frame,rgb 0 bin,256 0 zoom,y 0 zoom,xy 0 zoom,180 0 color,hsv 0 view,graphhorz 1 file,export 0 region,line 0 color,numvalue 0 region,epanda 0 zoom,out 1 bin,sum 0 bin,256x 0 help,user 1 file,movie 0 region,bpanda 0 bin,64 1 } +global ppanner +array set ppanner { compass 1 compass,wcs 1 } +global pmagnifier +array set pmagnifier { region 1 zoom 4 color,msg White cursor 1 color white } +global ps +global pps +array set pps { scale 100 orient portrait height 11 size a4 resolution 300 filename,txt ds9.txt dest printer level 2 width 8.5 color2 color filename ds9.ps cmd lp color rgb } +array set ps [array get pps] +global pr +global ppr +array set ppr { } +array set pr [array get ppr] +global blink +global pblink +array set pblink { interval 500 } +array set blink [array get pblink] +global tile +global ptile +array set ptile { grid,col 10 mode grid grid,row 10 grid,gap 4 grid,mode automatic } +array set tile [array get ptile] +global threed +global pthreed +array set pthreed { highlite,color,msg Cyan border,color,msg Blue scale 1 method mip highlite,color cyan border,color blue compass,color green highlite 1 border 1 compass 0 } +array set threed [array get pthreed] +global bin +global pbin +array set pbin { wheel,factor 1.2 wheel 1 lock 0 depth 1 buffersize 1024 function sum factor { 1 1 } } +array set bin [array get pbin] +global panzoom +global ppanzoom +array set ppanzoom { wheel,factor 1.2 preserve 0 wheel 1 mode click } +array set panzoom [array get ppanzoom] +global scale +global pscale +array set pscale { preserve 0 datasec 1 mode minmax scope local log 1000 type linear } +array set scale [array get pscale] +global minmax +global pminmax +array set pminmax { mode auto sample 26 } +array set minmax [array get pminmax] +global zscale +global pzscale +array set pzscale { line 120 contrast .25 sample 600 } +array set zscale [array get pzscale] +global marker +global pmarker +array set pmarker { panda,ang2 360 bpanda,ang1 0 shape circle show 1 bpanda,ang2 360 boxannulus,annuli 1 delete 1 centroid,radius 10 dformat degrees annulus,inner 15 panda,angnum 4 show,text 1 epanda,angnum 4 centroid,iteration 30 circle3d,radius 20 plot2d 0 font,size 10 rotate 1 move 1 fixed 0 ellipseannulus,radius1 40 ellipseannulus,radius2 20 ellipseannulus,radius3 60 plot3d 1 epanda,radius1 40 panda,outer 30 panda,annuli 1 epanda,radius2 20 epanda,radius3 60 source 1 bpanda,radius1 80 bpanda,radius2 40 epanda,annuli 1 bpanda,radius3 120 sky fk5 color green format ciao annulus,outer 30 font,weight normal polygon,width 20 font,slant roman edit 1 font helvetica bpanda,angnum 4 dash 0 projection,thick 0 boxannulus,radius1 80 dashlist {8 3} polygon,height 20 boxannulus,radius2 40 boxannulus,radius3 120 box,radius1 80 box,radius2 40 point,size 11 annulus,annuli 1 compass,radius 40 include 1 epanda,ang1 0 centroid,auto 0 epanda,ang2 360 circle,radius 20 width 1 bpanda,annuli 1 projection,method 1 ellipse,radius1 40 preserve 0 panda,inner 15 ellipse,radius2 20 circle3d,method 1 panda,ang1 0 ellipseannulus,annuli 1 } +array set marker [array get pmarker] +global wcs +global pwcs +array set pwcs { align,system wcs skyformat sexagesimal system wcs align,sky fk5 align 0 sky fk5 } +array set wcs [array get pwcs] +global pgraph +array set pgraph { horz,log false horz,grid 1 vert,log false vert,grid 1 } +global pcoord +array set pcoord { wcss 0 wcsc 0 wcst 0 wcsd 0 wcsu 0 wcse 0 wcsv 0 wcsf 0 image 1 wcsw 0 wcsg 0 wcsx 0 wcsh 0 physical 0 wcs 1 wcsy 0 wcsi 0 wcsz 0 wcsj 0 wcsk 0 wcsl 0 filename 0 amplifier 0 wcsm 0 detector 0 wcsn 0 wcso 0 wcsp 0 value 1 wcsq 0 wcsa 0 wcsr 0 wcsb 0 } +global pexamine +array set pexamine { zoom 4 mode new } +global pixel +global ppixel +array set ppixel { size 5 } +array set pixel [array get ppixel] +global mask +global pmask +array set pmask { transparency 0 color red mark 1 } +array set mask [array get pmask] +global contour +global pcontour +array set pcontour { numlevel 5 dash 0 width 1 method block color,msg Green smooth 4 color green } +array set contour [array get pcontour] +global smooth +global psmooth +array set psmooth { radius 3 lock 0 function gaussian view 0 } +array set smooth [array get psmooth] +global nres +global pnres +array set nres { server simbad-cds } +array set nres [array get pnres] +global pcat +array set pcat { sym,units physical sym,font,weight normal vot 1 loc 500 server cds sym,color,msg Green sym,font,msg Helvetica sym,font,slant roman sym,font,size 10 sym,font,weight, {} sym,color green sym,font helvetica sym,shape {circle point} } +global pvo +array set pvo { method xpa hv 1 delay 15 server http://cxc.harvard.edu/chandraed/list.txt } +global pap +array set pap { textlabSlant roman quadratic 0 textlabFont,msg Helvetica numlabWeight normal quadratic,dash no textlabWeight normal graph,y,grid 1 quadratic,color black discrete,color,msg Red error 1 discrete,color red step,color black linear,color,msg Black discrete 0 graph,x,log 0 titleSize 12 error,color red bar 0 graph,y,flip 0 linear,color black error,style 1 step,dash no titleFont helvetica titleWeight normal linear 1 discrete,fill 1 textlabSize 9 graph,x,grid 1 numlabSlant roman quadratic,width 1 textlabFont helvetica titleSlant roman step 0 quadratic,color,msg Black discrete,symbol circle linear,dash no step,width 1 numlabFont,msg Helvetica numlabSize 9 step,color,msg Black graph,x,flip 0 numlabFont helvetica error,width 1 grid 1 linear,width 1 bar,color black error,color,msg Red titleFont,msg Helvetica grid,log linearlinear graph,y,log 0 } +global panalysis +array set panalysis { user2 {} autoload 1 user3 {} log 0 user4 {} user {} } + +# Colorbar prefs +global colorbar +global pcolorbar +array set pcolorbar { invert 0 lock 0 size 20 font,weight normal space 0 tag red font,slant roman map he numerics 1 font helvetica orientation horizontal font,size 9 ticks 11 tag,msg Red } +array set colorbar [array get pcolorbar] diff --git a/.xspec/Xspec.init b/.xspec/Xspec.init new file mode 100644 index 0000000..47e12e4 --- /dev/null +++ b/.xspec/Xspec.init @@ -0,0 +1,166 @@ +# 120801 +# XSPEC Initial settings file. 03/2011 +# Valid setting lines consist of two strings in the format Key: Value +# leading and trailing blanks are ignored for the key, leading blanks/tabs ignored for +# the value. Invalid settings (no colon) are ignored, keys valid in format but not +# implemented are simply read but not used. +# +# +# Do not modify above this line +################################################ + +# +# User default local model directory +# example code may be found in the source tree at: +# ${PATH_TO_SRC}/src/XSModel/Model/LocalModelTemplate + +#LOCAL_MODEL_DIRECTORY: /path/to/your/local/model/dir + +################################################ +# +# options and commands for displaying helpfiles +# + + USE_ONLINE_HELP: false + + # Recognized local help formats: html pdf + # This is ignored when using online help + LOCAL_HELP_FORMAT: html + + # Recommended command for Adobe Acrobat version 7 and later: + PDF_COMMAND: acroread -openInNewWindow -tempFileTitle + + # Recommended command for Adobe Acrobat prior to version 7: + # PDF_COMMAND: acroread -useFrontEndProgram -tempFileTitle + + # Recommended command for Mac PDF viewing + # PDF_COMMAND: open + + # Recommended command for Cygwin PDF viewing + # PDF_COMMAND: xpdf -q + + # Recommended command for Mac html + # HTML_COMMAND: open + + HTML_COMMAND: firefox + +################################################# + +# +# setting for GUI mode. The code requires that the GUI setting +# starts with a 't' (case-insensitive) otherwise GUI mode is false +# and the command line mode is used. +# + +GUI: false + +# +# user-definable setting for the dummy response. Arguments required +# begin-range end-range, number of bins, logarithmic/linear. Defaults +# are {0.1,100,200,log} respectively. Setting for bin type must be "linear" +# if linear bins are to be created. +# + +DUMMY: 0.1 50. 50 log + + +# +# Chatter Level: Console chatter level then log chatter level. Currently (4/2001) +# logging has not been reimplemented. +# + +CHAT: 10 10 + +# +# photo absorption cross section table setting. +# possible values are vern, bcmc, obmc. + + +XSECT: bcmc + + +# +# solar abundance table indicator. Hard coded solar abundance vector. Choices are +# 'feld' Feldman, U., 1992. Physica Scripta, 46, 202. +# 'angr' is from Anders, E. & Grevesse, N., 1989. Geochimica and Cosmochimica Acta 53, 197. +# 'aneb' is from Anders, E. & Ebihara, 1982. Geochimica and Cosmochimica Acta 46, 2363. +# + +#ABUND: angr +ABUND: grsa + + +# +# fitting method (leven | anneal ...) +# + +METHOD: leven + +# +# statistic to be minimized (chi | cstat) +# + +STATISTIC: chi + +# +# weighting technique (standard | gehrels | churazov | model ) +# + +WEIGHT: standard + +# +# If true, fitting algorithm will calculate parameter derivatives +# numerically. If false, a faster analytic expression will be used, +# if applicable to the current fitting statistic. +# + +USE_NUMERICAL_DIFFERENTIATION: false + +# +# cosmology parameters ( H0, q0, lambda0 ) +# + +COSMO: 70. .0 .73 +# +# +# Default graphics package (PLT is currently the only option). +# + +GRAPH: plt + +# +# Default plotting device (e.g. for PGPLOT) +# + +PLOTDEVICE: /null + +# +# Y-axis plotting units when in setplot wave mode (angstrom, hz) +# + +WAVE_PLOT_UNITS: hz + +# +# User scripting directory +# + +USER_SCRIPT_DIRECTORY: $HOME/.xspec + +# +# Default setting for parameters' fit delta values. +# Valid options are: +# +# fixed +# proportional <fraction of parameter value> +# +# If set to 'fixed', the default values come from the settings in the +# model.dat model definition file. +# + +FIT_DELTAS: proportional .01 + +# +# Default setting for the AtomDB version number +# + +ATOMDB_VERSION: 2.0.2 |