! @(#)invdemo.prg 17.1.1.1 (ES0-DMD) 01/25/02 17:15:54 ! ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ !.IDENTIFICATION: INVDEMO.PRG !.PURPOSE: Demo. procedure for INVENTOTY reduction package !.USE: Execute as TUTORIAL/INVENT ! The following files are copied into your directory : ! INFTEST.BDF -- Test frame ! Output files are ! -------------------------------------------------------------------- ! write/out Tutorial for the INVENTORY package write/out This show creates the following files: write/out One test frame: INVTEST.BDF write/out Three output tables: TSTEST.TBL, TATEST.TBL, TCTEST.TBL write/out First we copy the test frame ! intape/fits 1 toto MID_TEST:invtest.fits NOC -rename toto0001.bdf invtest.bdf ! write/keyw INV_INTG/I/1/12 1,0,1,1,0,0,0,7,1,1,0,0 write/keyw INV_INTG/I/13/11 0,0,0,1,0,20,3,0,0,3,32 write/keyw INV_REAL/R/1/10 1290.,130000.,22.,4.5,.05,-.05,1.,18.5,50.,5400. write/keyw INV_REAL/R/11/10 21.11,3.0,5.0,0.26,0.33,0.39,0.43,0.46,0.36,0.24 write/keyw INV_REAL/R/21/10 0.19,0.15,0.14,0.14,0.14,0.14,0.14,0.14,0.14,0.14 write/keyw INV_REAL/R/31/10 0.14,0.14,0.14,0.14,0.14,0.14,0.14,0.14,3.0,5.0 write/keyw INV_REAL/R/41/10 2.0,4.0,4.5,0.25,0.6,0.02,0.6,1.0,0.0,2.5 write/keyw INV_REAL/R/51/10 1.2,0.0,1.39,0.0,0.0,0.0,0.0 ! create/display clear/display set/overlay write/out This is our test frame load/image invtest 0 1,1 load/lut rainbow write/out We shall zoom it a little bit load/image invtest 0 2,2 ! write/out write/out First, INVENTORY searches for objects in this frame write/out The output table TSTEST will contain the results echo/on search/inv invtest tstest echo/off write/out The objects found are indicated by square symbols echo/on load/table tstest :X :Y ? 2 3 ! echo/off write/out write/out Next, INVENTORY analyses the objects found: echo/on analyse/inv invtest tstest tatest VER echo/off write/out The ANALYSE command comes with somewhat less objects write/out The new list of objects is stored in table TATEST echo/on clear/channel overlay load/table tatest :X :Y ? 2 3 echo/off ! write/out write/out Finally, the CLASSIFY command will classify the objects echo/on classify/inv tatest echo/off clear/channel overlay write/out The objects in the squares are classified as galaxies write/out The objects in the circles are classified as stars echo/on select/table tatest :CLASS.EQ.2.0 load/table tatest :X :Y ? 2 3 select/table tatest :CLASS.EQ.1.0 load/table tatest :X :Y ? 1 3 echo/off