IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 1 and Version 2 of Displaying_Fields


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

Reformatted to Trac

Legend:

Unmodified
Added
Removed
Modified
  • Displaying_Fields

    v1 v2  
    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 <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>
     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                         ||     ||