Changeset 19944 for trunk/www


Ignore:
Timestamp:
04/02/20 14:19:11 (4 years ago)
Author:
Daniela Dorner
Message:
improved documentation and updated defaults
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/dch/download.php

    r19936 r19944  
    6767
    6868$rmemptyrows=array(
    69       "no"    => "all data",
    70       "yes"   => "remove rows with empty columns",
     69      "no"      => "all data",
     70      "yes"     => "remove rows with empty columns",
    7171      );
    7272
     
    131131    $dch=$_POST["dch"];
    132132else
    133     $dch="novalue";
     133    $dch="yes";
    134134
    135135if (!empty($_POST["dust"]))
     
    174174    $factorcut=$_POST["factorcut"];
    175175else
    176     $factorcut="novalue";
     176    $factorcut="0.3";
    177177
    178178if (!empty($_POST["table"]))
     
    184184    $rmemptyrow=$_POST["rmemptyrow"];
    185185else
    186     $rmemptyrow="no";
     186    $rmemptyrow="novalue";
    187187
    188188if (!empty($_POST["th"]))
     
    483483
    484484    echo "<select name='rmemptyrows' size='1'>\n";
     485    if ($rmemptyrow == "novalue")
     486        printf("<option value='novalue' selected>Empty Rows (data w/o zd/th info lack corr. fluxes)</option>\n");
     487    else
     488        printf("<option value='novalue'>Empty Rows (data w/o zd/th info lack corr. fluxes)</option>\n");
    485489    foreach ($rmemptyrows as $key => $name)
    486490    {
     
    491495    }
    492496    echo "</select>\n <br>\n";
    493     printf("Custom conversion factor to flux: <input name='crabflux' type='text' size='4' maxlength='4' value='%s'>[10^-11 erg/s/cm2] <br>\n", $crabflux);
     497    printf("Custom conversion factor to flux: <input name='crabflux' type='text' size='4' maxlength='4' value='%s'>[10^-11 ph/s/cm2] <br>\n", $crabflux);
    494498}
    495499
     
    533537    echo "</ul></li>\n";
    534538    echo "<li>Not for all data dust measurements are available.</li>\n";
    535     echo "<li>Be aware that if you use a custom conversion factor to flux that you have to make sure that it is consistent with the analysis you choose.</li>\n";
     539    echo "<li>Empty columns: Be aware that no corrected rates and fluxes can be calculated if the zenith distance and/or threshold are missing.</li>\n";
     540    echo "<li>Conversion factors:<br>\n";
     541    echo "<ul>\n";
     542    echo "<li>Be aware that the conversion factors to flux are for a slope of -2.63. If your source has a different spectrum, ";
     543    echo "the conversion factor has to be adapted because of a changing energy threshold.</li>\n";
     544    echo "<li>For the conversion factors the Crab spectrum from the PL of the HESS publication in 2006 has been used.</li>\n";
     545    echo "<li>If you use a custom conversion factor to flux, make sure that it is consistent with the analysis you choose.</li>\n";
     546    echo "</ul></li>\n";
    536547    echo "</ul>";
    537548}
Note: See TracChangeset for help on using the changeset viewer.