IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 10, 2007, 4:42:42 PM (19 years ago)
Author:
Paul Price
Message:

Adding GPC1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/ipp_serial_inject_mosaic.pl

    r14138 r15283  
    8383    @classes = ();
    8484    @files = ();
     85} elsif ($camera eq "GPC1") {
     86    for (my $i = 0; $i < 8; $i++) {
     87        for (my $j = 0; $j < 8; $j++) {
     88            if (($i == 0 or $i == 7) and ($j == 0 or $j == 7)) {
     89                # Excluding corner chips
     90                next;
     91            }
     92            push @classes, "XY$i$j";
     93            push @files, "$i$j";
     94        }
     95    }
     96    $add_dir = 1;
    8597} else {
    8698    die "Unrecognised camera name: $camera.\n";
Note: See TracChangeset for help on using the changeset viewer.