IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links
wiki:Displaying_Fields

Version 4 (modified by Michael Wood-Vasey, 17 years ago) ( diff )

--

Displaying Image Fields

There are several ways to display fields covered by a set of images. This example illustrates the combination of the imbox command with a for loop to display fields of fits files that have not been imported to a DVO database.

  region ra dec size           #  (set the display region to be centered roughly on where you expect your images to lie) 
  list mylist -x "ls *.fits"   #  (this makes a list, called "mylist", which contains the names of the fits files in the current directory) 
  ??                           #  (this displays all the variables in current memory.  You can check this to determine the number of elements in "mylist")    
  for i 0 n                    #  (replace n with 1 less than the number of elements in mylist)       
  imbox $mylist:$i             #  (remember: $ precedes non vector variables when called)                    
  end                                  

Note: See TracWiki for help on using the wiki.