Changeset 12613
- Timestamp:
- Mar 27, 2007, 5:02:27 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/ipp_serial_inject_mosaic.pl
r11414 r12613 44 44 if ($camera eq "MEGACAM") { 45 45 for (my $i = 0; $i < 36; $i++) { 46 push @classes, sprintf(" ccd%02d", $i);46 push @classes, sprintf(".ccd%02d", $i); 47 47 } 48 48 } elsif ($camera eq "MCSHORT") { 49 @classes = ( ' ccd12', 'ccd13', 'ccd14', 'ccd21', 'ccd22', 'ccd23' );49 @classes = ( '.ccd12', '.ccd13', '.ccd14', '.ccd21', '.ccd22', '.ccd23' ); 50 50 } elsif ($camera eq "CTIO_MOSAIC2") { 51 51 @classes = (); 52 } elsif ($camera eq "TC3") { 53 @classes = ( '00', '01', '10', '11', '20', '21', '30', '31' ); 52 54 } else { 53 55 die "Unrecognised camera name: $camera.\n"; … … 63 65 my $exp_tag = $line[2]; # The exposure tag 64 66 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 run67 my $command = "$pxinject -newImfile -exp_tag $exp_tag -class chip -class_id $class_id -uri $path/$exp$class_id.fits"; # Command to run 66 68 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 67 69 run( command => $command, verbose => 1 );
Note:
See TracChangeset
for help on using the changeset viewer.
