Help for this page

Select Code to Download


  1. or download this
    $j=0;
    for ($j=0;$j<=16381;$j++){
    ...
        $counts_rebin[$j]=0;
        }
    }
    
  2. or download this
    for my $j (0..16381) {
        $counts_rebin[$j] = 0 unless defined $counts_rebin[$j];
    }
    
  3. or download this
    for ($i=0; $i<16834; $i++){
    $energy_rebin[$i] = ($rebin_width * $i);
    }
    
  4. or download this
    my @energy_rebin = map { $_ * $rebin_width } (0..16833);