IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9447


Ignore:
Timestamp:
Oct 9, 2006, 4:50:36 PM (20 years ago)
Author:
eugene
Message:

calculating the root-mean-square of the background stdevs

File:
1 edited

Legend:

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

    r9446 r9447  
    122122    print $list2File File::Spec->rel2abs( $file->{b2_uri}, $ipprc->workdir() ) . "\n";
    123123    push @means, $file->{bg};
    124     push @stdevs, $file->{bg_stdev};
     124    ## calculate the root-mean-square of the bd_stdevs
     125    push @stdevs, $file->{bg_stdev}*$file->{bg_stdev};
    125126}
    126127close $list1File;
     
    192193    $stdev = 0;
    193194}
    194 my $meanStdev = $stdevStats->mean(); # Mean of the sample of stdevs
     195my $meanStdev = sqrt($stdevStats->mean()); # Root-Mean-Square of the sample of stdevs
    195196if (defined REJECT_SAMPLE_MEAN->{$det_type} and
    196197    $stdev != 0 and
Note: See TracChangeset for help on using the changeset viewer.