IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 4 and Version 5 of Displaying_Fields


Ignore:
Timestamp:
Aug 29, 2009, 3:42:17 AM (17 years ago)
Author:
Michael Wood-Vasey
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Displaying_Fields

    v4 v5  
    33There are several ways to display fields covered by a set of images.  This example illustrates the combination of the [wiki:Imbox imbox] command with a [wiki:For_loop for loop] to display fields of fits files that have not been imported to a DVO database.
    44
    5 {{{   
    6   region ra dec size           #  (set the display region to be centered roughly on where you expect your images to lie)
    7   list mylist -x "ls *.fits"   #  (this makes a list, called "mylist", which contains the names of the fits files in the current directory)
    8   ??                           #  (this displays all the variables in current memory.  You can check this to determine the number of elements in "mylist")   
    9   for i 0 n                    #  (replace n with 1 less than the number of elements in mylist)       
    10   imbox $mylist:$i             #  (remember: $ precedes non vector variables when called)                   
    11   end                                 
    12 }}}
    13                                                              
     5||{{{ region ra dec size         }}} || (set the display region to be centered roughly on where you expect your images to lie) ||
     6||{{{ list mylist -x "ls *.fits" }}} ||      (this makes a list, called "mylist", which contains the names of the fits files in the current directory) ||
     7||{{{ ??                         }}} ||              (this displays all the variables in current memory.  You can check this to determine the number of elements in "mylist") ||
     8||{{{ for i 0 n                  }}} ||          (replace n with 1 less than the number of elements in mylist)    ||
     9||{{{ imbox $mylist:$i           }}} ||        (remember: $ precedes non vector variables when called)            ||
     10||{{{ end                        }}} ||     ||
     11