IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 37


Ignore:
Timestamp:
Feb 14, 2003, 1:53:32 AM (23 years ago)
Author:
eugene
Message:

upgrades for megacam

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/perl/src/fr.select

    r17 r37  
    2323if ($filter eq "NB920") { $MIN_CNTS = 180; $MIN_FLUX = 0.3; }
    2424
     25# relevant camera parameters
    2526$Nccd = `cameraconfig -Nccd`; chop ($Nccd);
    26 $line = `cameraconfig -axes`; chop ($line);
    27 ($Naxis1, $Naxis2) = split (" ", $line);
     27if ($?) { die "error in config\n"; }
     28
     29($Naxis1, $Naxis2) = split (" ", `cameraconfig -axes`);
     30if ($?) { die "error in config\n"; }
     31
     32@ccds = split (" ", `cameraconfig -ccds`);
     33if ($?) { die "error in config\n"; }
    2834
    2935@good = ();
     
    4652@list = ();
    4753foreach $line (@filtline) {
    48     @tlist = `imsearch -ccd 0 $line`;
     54    @tlist = `imsearch -ccd $ccds[0] $line`;
    4955    @list = (@list, @tlist);
    5056}
Note: See TracChangeset for help on using the changeset viewer.