IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13460


Ignore:
Timestamp:
May 21, 2007, 6:22:29 PM (19 years ago)
Author:
Paul Price
Message:

Making things work.

Location:
trunk/ippScripts/scripts
Files:
2 edited

Legend:

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

    r13316 r13460  
    153153my $jpeg1 = $ipprc->filename("PPIMAGE.JPEG1", $outputRoot); # Binned JPEG #1
    154154my $jpeg2 = $ipprc->filename("PPIMAGE.JPEG2", $outputRoot); # Binned JPEG #2
    155 my $fpaObjects = $ipprc->filename("PSASTRO.OUTPUT", $outputRoot); # MEF psastro output
     155my $fpaObjects = $outputRoot . '.smp'; # MEF psastro output
    156156
    157157unless ($no_op) {
     
    160160    # XXX note that this is wrong if imfiles are cells
    161161    if (scalar @$files > 1) {
    162         my $command = "$psastro -list $list3Name $outputRoot +mosastro -chipastro";
     162        my $command = "$psastro -list $list3Name $outputRoot +mosastro -chipastro " .
     163            "-F PSASTRO.OUTPUT PSASTRO.OUTPUT.MEF";
    163164        my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    164165            run(command => $command, verbose => 1);
  • trunk/ippScripts/scripts/ipp_simulation_data.pl

    r13275 r13460  
    124124    ( $basename, $counter ) = filename( $name, $counter );
    125125    my $filename = caturi( $path, $basename );
    126     run( command => "$ppSim -camera $camera -type BIAS $filename",
    127          verbose => 1 ) or die "Unable to run ppSim";
    128     run( command => "$inject --camera $camera --telescope $telescope --path $path --workdir $workdir " .
    129          "--dbname $dbname $basename",
    130          verbose => 1 ) or die "Unable to inject file.";
     126#    run( command => "$ppSim -camera $camera -type BIAS $filename",
     127#        verbose => 1 ) or die "Unable to run ppSim";
     128#    run( command => "$inject --camera $camera --telescope $telescope --path $path --workdir $workdir " .
     129#        "--dbname $dbname $basename",
     130#        verbose => 1 ) or die "Unable to inject file.";
    131131}
    132132
     
    136136    ( $basename, $counter ) = filename( $name, $counter );
    137137    my $filename = caturi( $path, $basename );
    138     run ( command => "$ppSim -camera $camera -type DARK -exptime $exptime $filename",
    139           verbose => 1 ) or die "Unable to run ppSim";
    140     run( command => "$inject --camera $camera --telescope $telescope --path $path --workdir $workdir " .
    141          "--dbname $dbname $basename",
    142          verbose => 1 ) or die "Unable to inject file.";
     138#    run ( command => "$ppSim -camera $camera -type DARK -exptime $exptime $filename",
     139#         verbose => 1 ) or die "Unable to run ppSim";
     140#    run( command => "$inject --camera $camera --telescope $telescope --path $path --workdir $workdir " .
     141#        "--dbname $dbname $basename",
     142#        verbose => 1 ) or die "Unable to inject file.";
    143143}
    144144
     
    150150        ( $basename, $counter ) = filename( $name, $counter );
    151151        my $filename = caturi( $path, $basename );
    152         run( command => "$ppSim -camera $camera -type FLAT -filter $filter -exptime $exptime $filename",
    153              verbose => 1 ) or die "Unable to run ppSim";
    154         run( command => "$inject --camera $camera --telescope $telescope --path $path --workdir $workdir " .
    155              "--dbname $dbname $basename",
    156              verbose => 1 ) or die "Unable to inject file.";
     152#       run( command => "$ppSim -camera $camera -type FLAT -filter $filter -exptime $exptime $filename",
     153#            verbose => 1 ) or die "Unable to run ppSim";
     154#        run( command => "$inject --camera $camera --telescope $telescope --path $path --workdir $workdir " .
     155#            "--dbname $dbname $basename",
     156#            verbose => 1 ) or die "Unable to inject file.";
    157157    }
    158158}
Note: See TracChangeset for help on using the changeset viewer.