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]