Linux basics 1. Read doc0.linux 2. Main linux steps/commands for your project ssh -l sj proust.as.utexas.edu cd /data1/proust/sj/azur1/classes/a375/fricke - emacs ~/.alias & change .alias file ctrl-x ctrl-w ; saves ctrl-x ctrl-c ; exits - source ~/.alias - pwd - which cd1 - rm - mv - cp - chmod **************************************************************** Project (Plan c) 1. Make separate subdir under your main dir for different redshift bins cd /data1/proust/kylef mkdir z-024to047 mkdir z-047to062 mkdir z-062to080 mkdir z-080to102 2 . load http://www.as.utexas.edu/~kyle/merger.html 3. For each section (redshfit range) - save each image (png) as a png in main dir - rename with a NAME that englobes the gemsid, the filter (F606W or F850LP), and VC - mv rename png to relevant subdir 3.1 ) In section * Example of results at z = 0.24 to 0.47 (Tback = 3 to 5 Gyr) a) In sub-section "In F606W (rest-frame wavelength = 4585 Å)", Under VC=1 or 3 - save first gif as GEMSz033206.89m274207.4.1.png - mv ~/GEMSz033206.89m274207.4.1.png GEMSz033206.89m274207.4.1.f606.vc1-3.png - mv GEMSz033206.89m274207.4.1.f606.vc1-3.png z-024to047/ Under VC=5 mv GEMSz033250.73m275225.2.png GEMSz033250.73m275225.2.f606.vc5.png mv GEMSz033250.73m275225.2.f606.vc5.png z-024to047/ Repeat for VC = 7,93,95 b) In sub-section "In F850LP (rest-frame wavelength = 7030 Å)" Under VC=1 or 3 mv ~/GEMSz033232.96m274545.6.z.png GEMSz033232.96m274545.6.f850.vc1-3.png mv GEMSz033232.96m274545.6.f850.vc1-3.png z-024to047/. Under VC=93 mv GEMSz033129.52m273449.4.z.png GEMSz033129.52m273449.4.f850.vc93.png mv GEMSz033129.52m273449.4.f850.vc93.png z-024to047/. 3.2 ) Repeat 3.1 for the next section on next redshfit range * Example of results at z = 0.47 to 0.62 (Tback = 5 to 6 Gyr) 3.3 ) Repeat 3.1 for the next section on next redshfit range * Example of results at z = 0.62 to 0.80 (Tback = 6 to 7 Gyr) 3.4 ) Repeat 3.1 for the next section on next redshfit range * Example of results at z = 0.80 to 1.02 (Tback = 7 to 8 Gyr) ************************************************************************** NB v band =f606W z band= F850LP 1) made iraf login file and parameters subdir uparm/ cd /data1/proust/kylef/iraf mkiraf e login.cl & 2) Start iraf in dir where you made login.cl cd /data1/proust/kylef/iraf xgterm & cl 3) Display image in iraf tv images cd /data1/proust/sj/azur11/gems/tiles/v cd /data1/proust/sj/azur9/gems/tiles/z display s1z01A_sci.fits 1 imexamine Evaluate with z to get correct z1 z2 display s1z01A_sci.fits zr- zs- z1=0.00001 z2=10 ztrans=log 3) to capture as gif On xterm cd /data1/proust/kylef xv & ps -efl | grep kylef (to find pid of xv) kill -9 22799 (to kill xv) use middle button to grab save as t.gif mv t.gif GEMSz033212.77m274144.3.1.v2.gif (renaming) mv GEMSz033212.77m274144.3.1.v2.gif z-047to062/ (mv to relevant subdir) dirt Tips In iraf --------------- type e to go back and re-activate past commands -if iraf misbehaves ctrl c ctrl c flpr flpr aprop imexam cl> aprop imexam imexamine - Examine images using image display, graphics, and text (cl.images.tv) cl > images.tv cl > imexam within imexam - z ; pixel dump - r ; fits gaussian to ojbect; if obj= star ; fwhm = seeing - v v - c for column, - l for line - Tips in ds9 ----------------- edit-default zoom in or out NB ! xxxx in iraf to run xxx as Linux commands In /data1/proust/sj/azur9/gems/tiles/z s1z01A_sci.fits to s1z15A_sci.fits = 15 tiles s9z01A_sci.fits to s09z63A_sci.fits = 63 tiles