IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12613


Ignore:
Timestamp:
Mar 27, 2007, 5:02:27 PM (19 years ago)
Author:
Paul Price
Message:

Adding TC3 camera.

File:
1 edited

Legend:

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

    r11414 r12613  
    4444    if ($camera eq "MEGACAM") {
    4545        for (my $i = 0; $i < 36; $i++) {
    46             push @classes, sprintf("ccd%02d", $i);
     46            push @classes, sprintf(".ccd%02d", $i);
    4747        }
    4848    } elsif ($camera eq "MCSHORT") {
    49         @classes = ( 'ccd12', 'ccd13', 'ccd14', 'ccd21', 'ccd22', 'ccd23' );
     49        @classes = ( '.ccd12', '.ccd13', '.ccd14', '.ccd21', '.ccd22', '.ccd23' );
    5050    } elsif ($camera eq "CTIO_MOSAIC2") {
    5151        @classes = ();
     52    } elsif ($camera eq "TC3") {
     53        @classes = ( '00', '01', '10', '11', '20', '21', '30', '31' );
    5254    } else {
    5355        die "Unrecognised camera name: $camera.\n";
     
    6365        my $exp_tag = $line[2]; # The exposure tag
    6466        foreach my $class_id (@classes) {
    65             my $command = "$pxinject -newImfile -exp_tag $exp_tag -class chip -class_id $class_id -uri $path/$exp.$class_id.fits"; # Command to run
     67            my $command = "$pxinject -newImfile -exp_tag $exp_tag -class chip -class_id $class_id -uri $path/$exp$class_id.fits"; # Command to run
    6668            my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    6769                run( command => $command, verbose => 1 );
Note: See TracChangeset for help on using the changeset viewer.