Nazaj

Nastavitve IRAFa za slike Vega

Ogled različice #14
(Obnovi to različico) 

Spremenjeno: 2 december 2015, 15:00 PM   Uporabnik: Bojan Dintinjana  → Bojan

V datoteki login.cl, v mapi .iraf popravim naslednje vrstice:

set     stdimage        = imt7
set imtype = "fts"
set imextn = "oif:imh fxf:fts,fits,fit,FIT fxb:fxb plf:pl qpf:qp stf:hhh,??h"

Vzorec datoteke login.cl je v Mapi za izmenjavo datotek. V tekočo mapo, kjer bom obdeloval slike ali pa v domači globalni imenik .iraf dodam še definicijsko datoteko za kamero AP16e.dat, ki izgleda takole:

exptime      exptime
darktime exptime
imagetyp imagetyp
subset filter
otime ut-cent
'object ' object
'dark ' dark
'zero ' zero
'flat ' flat


Preizkusim nastavitev:

ecl> imred
imred> ccdred
ccdred> setinstru ap16e review=no site="" directo=""

Če za mapo directory="" navedemo prazen niz pomeni tekoča mapa, to je kjer imam tudi slike. Če postavim datoteko v  globalno mapo, to je v .iraf potem navedem absolutno pot, naprimer directory="/home/janez/.iraf/".  Še tretja možnost je, da  datoteko vpišemo kot sudo v irafovo sistemsko mapo /iraf/iraf/noao/imred/ccdred/ccddb/kpno/ in hkrati popravimo še  instruments.men, ki je v isti mapi, tako da dodam na konec še vrstico:

ap16e           AP16E Ljubljana AGO tserver

Iraf štartam, najprej odprem terminalno okno, malo večji font in drsnik na desni strani:

$ xgterm -fn 9x15 -sbr &

Potem v xgterm okno vnesem:

$ ds9&
$ ecl

Iraf se zažene:

   NOAO/IRAF PC-IRAF Revision 2.16.1 EXPORT Mon Oct 14 21:40:13 MST 2013
      This is the EXPORT version of IRAF V2.16 supporting PC systems.

  Welcome to IRAF.  To list the available commands, type ? or ??.  To get
  detailed information about a command, type `help <command>'.  To run  a
  command  or  load  a  package,  type  its name.   Type  `bye' to exit a
  package, or `logout' to get out  of the CL.    Type `news' to find  out
  what is new in the version of the system you are using. 

  Visit http://iraf.net if you have questions or to report problems.

  ***  Checking update status... Your IRAF system is up to date
  ***  Using global login file:  /home/bojan/.iraf/login.cl
  The following commands or packages are currently defined:
      color.      gemini.     lists.      optic.      softools.   utilities. 
      ctio.       gmisc.      mscred.     phist.      stecf.      vo.        
      dataio.     guiapps.    mtools.     plot.       stsdas.     wcstools.  
      dbms.       images.     noao.       proto.      system.     xdimsum.   
      fitsutil.   language.   obsolete.   rvsao.      tables.    
ecl>