1 / 14

IRAF Basics for Gemini

IRAF Basics for Gemini. Frank Valdes NOAO/SDM/IRAF Group. Introduction. Focus of presentation awareness rather than how-to some things apply only to ‘ cl ’ What is IRAF? large body of software for astronomical image processing and data calibrations and extraction What is Gemini IRAF?

barto
Download Presentation

IRAF Basics for Gemini

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. IRAF Basics for Gemini Frank Valdes NOAO/SDM/IRAF Group

  2. Introduction • Focus of presentation • awareness rather than how-to • some things apply only to ‘cl’ • What is IRAF? • large body of software for astronomical image processing and data calibrations and extraction • What is Gemini IRAF? • instrument scripts layered on generic tools • you can look at the scripts (cd <package>) • Command languages • cl, ecl, ncl, xcl, pyraf IRAF Basics for Gemini

  3. Help • beginner’s guide • http://iraf.net/irafdocs/beguide.pdf • help pages • help, phelp: help alone, help <package>, help <task> • references • help dev=gui, guiapps.xhelp • http://iraf.noao.edu/scripts/irafhelp?splot • documents • http://iraf.net/irafdocs/ • support • iraf.net IRAF Basics for Gemini

  4. Getting Started • terminal windows • xterm, xgterm • create a directory to be your IRAF home • mkiraf • login.cl, loginuser.cl, uparm • image display servers • ximtool, ds9 • cl, logout IRAF Basics for Gemini

  5. Commands • packages: e.g. gemini -> gmos (packages, ?, help) • tasks • abbreviations • syntax: command vs compute, pipes • history: editing, list • foreign: escapes and declarations • !echo, !!echo, task $echo=$foreign, task $echo=$... • flpr IRAF Basics for Gemini

  6. Parameters • most tasks have parameters • required vs hidden • task auto1 auto2 param=hidden auto3 (default): • advanced: task.param.p_mode=[auto|hidden] • lpar, epar, dpar, task.par=value • parameters can be supplied as variables in the scripting environment IRAF Basics for Gemini

  7. Scripting • script guide • http://iraf.net/irafdocs/script.pdf • simple scripts • redirection: cl < mycommands.cl • declared: task $mycomands = mycommands.cl • procedure scripts IRAF Basics for Gemini

  8. Files • @files • simple images • multi-extension FITS (MEF) • masks • tables IRAF Basics for Gemini

  9. File and Image Syntax • files: [node!]name • [node!]name[.type][index][kernel][section] • templates • wildcards, lists, @files, prepend/append, replacements • important: look for “list” or plural in prompts • image sections • [c1:c2,l1:l2], [*,l1:l2], [*:2,*:2], [-*,*] • FITS kernel parameters • http://iraf.net/irafdocs/fits_userguide.pdf • MEF extensions IRAF Basics for Gemini

  10. Graphics • plot package: graph, sgraph, implot, gkimosaic • igi: ftp://ftp.stsci.edu/pub/software/stsdas/docs/IgiManual.pdf • cursor • advance: =gcur, rgcur • cursor commands • important: ?, :, = (:.snap) • advanced: annotation, saving (gif, metacode) • cursor and graphics redirection • gcur=<file>, >G • glbcolor IRAF Basics for Gemini

  11. Image Display • display servers: ximtool, ds9 • display, mscdisplay, … • image cursor • =imcur • rimcur IRAF Basics for Gemini

  12. Accelerators • history editing • up arrow, e, ^^ • epar editing • ^U^L, :go • file templates • image templates • need to escape [: imhead *V![12].fits • replacement syntax • imcopy *V1.fits *V%1%2%.fits IRAF Basics for Gemini

  13. Loops list = “file” while (fscan(list,s1) != EOF) { for (i=1; i<=10; i+=1) { printf (“%s[%d]\n”, s1, i) | scan (s2) sometask (s2) } } list = “” IRAF Basics for Gemini

  14. Common Tasks • copy, rename, delete • imcopy, imrename, imdelete • imhead, nhedit, hedit, hselect • imarith, imexpr, imcombine • display, imexam • fields, join, files, sections • gemini IRAF Basics for Gemini

More Related