Changeset 28650 for trunk/pstamp/scripts/detectability_respond.pl
- Timestamp:
- Jul 9, 2010, 1:48:24 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/detectability_respond.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/detectability_respond.pl
r28262 r28650 209 209 $psphot_cmd .= "-mask $image_list_hash{$k}{MASK} "; 210 210 $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 "; 212 213 213 214 ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = … … 477 478 } 478 479 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 }; 480 481 $correct_error = 1; 481 482 }
Note:
See TracChangeset
for help on using the changeset viewer.
