IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28650


Ignore:
Timestamp:
Jul 9, 2010, 1:48:24 PM (16 years ago)
Author:
watersc1
Message:

Fix to solve errors that the MPIA requests were causing. Also, switch output format to use the one we want.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/detectability_respond.pl

    r28262 r28650  
    209209    $psphot_cmd .= "-mask $image_list_hash{$k}{MASK} ";
    210210    $psphot_cmd .= "-variance $image_list_hash{$k}{WEIGHT} ";
    211     $psphot_cmd .= "-srctext $targetname $image_list_hash{$k}{OUTROOT}";
     211    $psphot_cmd .= "-srctext $targetname $image_list_hash{$k}{OUTROOT} ";
     212    $psphot_cmd .= "-D OUTPUT.FORMAT PS1_DV1 ";
    212213
    213214    ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
     
    477478        }
    478479        elsif ($col->{name} eq 'PSF_INST_MAG_SIG') {
    479             @tmp_flux_err = map { $_ = $_ / (2.5 * log10(exp(1))) } @{ $col_data };
     480            @tmp_flux_err = map { $_ = $_ / (2.5 * (log(exp(1)) / log(10))) } @{ $col_data };
    480481            $correct_error = 1;
    481482        }
Note: See TracChangeset for help on using the changeset viewer.