IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Initial Version and Version 1 of Displaying_Fields


Ignore:
Timestamp:
Feb 24, 2009, 4:23:54 PM (17 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Displaying_Fields

    v1 v1  
     1== Displaying Image Fields ==
     2
     3There 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.
     4
     5<table>
     6<tr><td>region ra dec size </td><td>(set the display region to be centered roughly on where you expect your images to lie) </td></tr>
     7<tr><td>list mylist -x "ls *.fits"   </td><td>     (this makes a list, called "mylist", which contains the names of the fits files in the current directory)</td></tr>
     8<tr><td>??                          </td><td>             (this displays all the variables in current memory.  You can check this to determine the number of elements in "mylist")</td></tr>
     9<tr><td>for i 0 n                     </td><td>         (replace n with 1 less than the number of elements in mylist)</td></tr>
     10<tr><td>imbox $mylist:$i         </td><td>       (remember: $ precedes non vector variables when called)</td></tr>
     11<tr><td>end</td></tr>