Changeset 7507 for trunk/MagicSoft


Ignore:
Timestamp:
02/15/06 13:13:22 (19 years ago)
Author:
hoehne
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/datacenter/db
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/db/magicdefs.php

    r7504 r7507  
    171171     "fArrTimeRmsInner"                 => "Rms<br>ArrT<br>In",
    172172     "fArrTimeRmsOuter"                 => "Rms<br>ArrT<br>Out",
     173     "fMeanSignalInner"                 => "Sign<br>In",
     174     "fMeanSignalOuter"                 => "Sign<br>Out",
     175     "fPulsePosMean"                    => "Puls<br>Pos",
    173176     "fConvFactorInner"                 => "Conv<br>In",
    174177     "fConvFactorOuter"                 => "Conv<br>Out",
     
    266269     $alias["fArrTimeRmsInner"]          => "1",
    267270     $alias["fArrTimeRmsOuter"]          => "1",
     271     $alias["fMeanSignalInner"]          => "1",
     272     $alias["fMeanSignalOuter"]          => "1",
     273     $alias["fPulsePosMean"]             => "1",
    268274     $alias["fConvFactorInner"]          => "1",
    269275     $alias["fConvFactorOuter"]          => "1",
     
    403409         "fArrTimeRmsInner"                  => "Calibration.fArrTimeRmsInner",
    404410         "fArrTimeRmsOuter"                  => "Calibration.fArrTimeRmsOuter",
     411         "fMeanSignalInner"                  => "Calibration.fMeanSignalInner",
     412         "fMeanSignalOuter"                  => "Calibration.fMeanSignalOuter",
     413         "fPulsePosMean"                     => "Calibration.fPulsePosMean",
    405414         "fConvFactorInner"                  => "Calibration.fConvFactorInner",
    406415         "fConvFactorOuter"                  => "Calibration.fConvFactorOuter",
  • trunk/MagicSoft/Mars/datacenter/db/querycal.php

    r7484 r7507  
    8585            $_GET["fArrTimeRmsOuter"]=$first?"On":"";
    8686
     87        if (empty($_GET["fMeanSignalInner"]))
     88            $_GET["fMeanSignalInner"]=$first?"Off":"";
     89
     90        if (empty($_GET["fMeanSignalOuter"]))
     91            $_GET["fMeanSignalOuter"]=$first?"Off":"";
     92
     93        if (empty($_GET["fPulsePosMean"]))
     94            $_GET["fPulsePosMean"]=$first?"Off":"";
     95
    8796        if (empty($_GET["fConvFactorInner"]))
    8897            $_GET["fConvFactorInner"]=$first?"On":"";
     
    104113        CheckBox("fUnreliableInner",     "Unreliable inner");
    105114        CheckBox("fUnreliableOuter",     "Unreliable outer");
    106 
    107         printf("  </tr><tr>\n");
    108 
    109115        CheckBox("fIsolatedInner",       "Isolated inner");
    110116        CheckBox("fIsolatedOuter",       "Isolated outer");
     117
     118        printf("  </tr><tr>\n");
     119
    111120        CheckBox("fIsolatedMaxCluster",  "IsolatedMaxCluster");
    112 
    113         printf("  </tr><tr>\n");
    114 
    115121        CheckBox("fArrTimeMeanInner",    "ArrTimeMean inner ");
    116122        CheckBox("fArrTimeMeanOuter",    "ArrTimeMean outer ");
    117123        CheckBox("fArrTimeRmsInner",     "ArrTimeRms inner ");
    118124        CheckBox("fArrTimeRmsOuter",     "ArrTimeRms outer ");
     125        CheckBox("fPulsePosMean",        "Mean PulsePos");
    119126
    120127        printf("  </tr><tr>\n");
     
    124131        CheckBox("fMeanPedRmsInner",     "MeanPedRms inner");
    125132        CheckBox("fMeanPedRmsOuter",     "MeanPedRms outer");
     133        CheckBox("fMeanSignalInner",     "MeanSignal inner");
     134        CheckBox("fMeanSignalOuter",     "MeanSignal outer");
    126135
    127136        printf(" </table>\n");
  • trunk/MagicSoft/Mars/datacenter/db/sequence.php

    r7484 r7507  
    1818        $query0 .= " fCallisto, fFillCallisto, ";//21,22
    1919        $query0 .= " fStar, fFillStar, ";//23,24
    20         //calibration (25-39)
     20        //calibration (25-42)
    2121        $query0 .= " fUnsuitableInner, fUnsuitableOuter, ";//25,26
    2222        $query0 .= " fUnreliableInner, fUnreliableOuter, ";//27,28
     
    2626        $query0 .= " fConvFactorInner, fConvFactorOuter, ";//36,37
    2727        $query0 .= " fMeanPedRmsInner, fMeanPedRmsOuter, ";//38,39
    28         //myon,star (40-47)
    29         $query0 .= " fPSF, fRatio, fMuonRate, ";//40,41,42
    30         $query0 .= " fMuonNumber, fEffOnTime, fDataRate, ";//43,44,45
    31         $query0 .= " fMaxHumidity, fMeanNumberIslands, ";//46,47
    32         $query0 .= " CONCAT('<a href=\"http://www.astro.uni-wuerzburg.de/datacenter/callisto/' , LEFT(LPAD(CONCAT(Sequences.fSequenceFirst, '.'), 9,'0'),4), '/', LPAD(CONCAT(Sequences.fSequenceFirst, '/'), 9,'0'), 'callisto', LPAD(CONCAT(Sequences.fSequenceFirst , '.html'), 13,'0') , '\">cal-log</A>') as 'CalLink', ";//48
    33         $query0 .= " CONCAT('<a href=\"http://www.astro.uni-wuerzburg.de/datacenter/star/' , LEFT(LPAD(CONCAT(Sequences.fSequenceFirst, '.'), 9,'0'),4), '/', LPAD(CONCAT(Sequences.fSequenceFirst, '/'), 9,'0'), 'star', LPAD(CONCAT(Sequences.fSequenceFirst , '.html'), 13,'0') , '\">star-log</A>') as 'StarLink', ";//49
    34         $query0 .= " CONCAT('<a href=\"http://www.astro.uni-wuerzburg.de/datacenter/sequences/' , LEFT(LPAD(CONCAT(Sequences.fSequenceFirst, '.'), 9,'0'),4), '/sequence', LPAD(CONCAT(Sequences.fSequenceFirst , '.txt'), 12,'0') , '\">', 'sequ-file</a>') as 'SequLink' ";//50
     28        $query0 .= " fMeanSignalInner, fMeanSignalOuter, ";//40,41
     29        $query0 .= " fPulsePosMean, ";//42
     30        //myon,star (43-51)
     31        $query0 .= " fPSF, fRatio, fMuonRate, ";//43,44,45
     32        $query0 .= " fMuonNumber, fEffOnTime, fDataRate, ";//46,47,48
     33        $query0 .= " fMaxHumidity, fMeanNumberIslands, fInhomogeneity, ";//49,50,51
     34        $query0 .= " CONCAT('<a href=\"http://www.astro.uni-wuerzburg.de/datacenter/callisto/' , LEFT(LPAD(CONCAT(Sequences.fSequenceFirst, '.'), 9,'0'),4), '/', LPAD(CONCAT(Sequences.fSequenceFirst, '/'), 9,'0'), 'callisto', LPAD(CONCAT(Sequences.fSequenceFirst , '.html'), 13,'0') , '\">cal-log</A>') as 'CalLink', ";//52
     35        $query0 .= " CONCAT('<a href=\"http://www.astro.uni-wuerzburg.de/datacenter/star/' , LEFT(LPAD(CONCAT(Sequences.fSequenceFirst, '.'), 9,'0'),4), '/', LPAD(CONCAT(Sequences.fSequenceFirst, '/'), 9,'0'), 'star', LPAD(CONCAT(Sequences.fSequenceFirst , '.html'), 13,'0') , '\">star-log</A>') as 'StarLink', ";//53
     36        $query0 .= " CONCAT('<a href=\"http://www.astro.uni-wuerzburg.de/datacenter/sequences/' , LEFT(LPAD(CONCAT(Sequences.fSequenceFirst, '.'), 9,'0'),4), '/sequence', LPAD(CONCAT(Sequences.fSequenceFirst , '.txt'), 12,'0') , '\">', 'sequ-file</a>') as 'SequLink' ";//54
    3537
    3638        $query0 .= " FROM Sequences ";
     
    248250            $meanpedrmsi=mysql_result($result0, $i, 38);
    249251            $meanpedrmso=mysql_result($result0, $i, 39);
    250             $psf=mysql_result($result0, $i, 40);
    251             $ratio=mysql_result($result0, $i, 41);
    252             $muonrate=mysql_result($result0, $i, 42);
    253             $muonnum=mysql_result($result0, $i, 43);
    254             $effontime=mysql_result($result0, $i, 44);
    255             $datarate=mysql_result($result0, $i, 45);
    256             $maxhum=mysql_result($result0, $i, 46);
    257             $meannumislands=mysql_result($result0, $i, 47);
    258             $callink=mysql_result($result0, $i, 48);
    259             $starlink=mysql_result($result0, $i, 49);
    260             $sequlink=mysql_result($result0, $i, 50);
     252            $meansignali=mysql_result($result0, $i, 40);
     253            $meansignalo=mysql_result($result0, $i, 41);
     254            $pulsposmean=mysql_result($result0, $i, 42);
     255            $psf=mysql_result($result0, $i, 43);
     256            $ratio=mysql_result($result0, $i, 44);
     257            $muonrate=mysql_result($result0, $i, 45);
     258            $muonnum=mysql_result($result0, $i, 46);
     259            $effontime=mysql_result($result0, $i, 47);
     260            $datarate=mysql_result($result0, $i, 48);
     261            $maxhum=mysql_result($result0, $i, 49);
     262            $meannumislands=mysql_result($result0, $i, 50);
     263            $inhom=mysql_result($result0, $i, 51);
     264            $callink=mysql_result($result0, $i, 52);
     265            $starlink=mysql_result($result0, $i, 53);
     266            $sequlink=mysql_result($result0, $i, 54);
    261267
    262268            printf("<tr><td>");
     
    416422                    printf(" <td align='right'> %s </td>\n", $meanpedrmsi);
    417423                    printf(" <td align='right'> %s </td>\n", $meanpedrmso);
     424                    printf(" </tr><tr BGCOLOR='#D0D0D0'>");
     425                    printf(" <td>mean signal</td>\n");
     426                    printf(" <td align='right'> %s </td>\n", $meansignali);
     427                    printf(" <td align='right'> %s </td>\n", $meansignalo);
     428                    printf(" </tr><tr BGCOLOR='#E0E0E0'>");
     429                    printf(" <td>mean pulse pos</td>\n");
     430                    printf(" <td colspan=\"2\" align='right'> %s </td>\n", $pulsposmean);
    418431                    printf(" </tr>");
    419432                    printf(" </table>");
     
    426439                    printf(" <table BORDER=\"1\">");
    427440                    printf(" <tr BGCOLOR='#C0C0C0'>");
    428                     printf(" <th colspan=\"7\">star</th>\n");
     441                    printf(" <th colspan=\"8\">star</th>\n");
    429442                    printf(" </tr><tr BGCOLOR='#D0D0D0' ALIGN='center'>");
    430443                    printf(" <td># islands</td>\n");
     
    435448                    printf(" <td>ratio</td>\n");
    436449                    printf(" <td>psf</td>\n");
     450                    printf(" <td>inhom</td>\n");
    437451                    printf(" <tr BGCOLOR='#E0E0E0' ALIGN='right'>");
    438452                    printf(" <td> %s </td>\n", $meannumislands);
     
    443457                    printf(" <td> %s </td>\n", $ratio);
    444458                    printf(" <td> %smm </td>\n", $psf);
     459                    printf(" <td> %s </td>\n", $inhom);
    445460                    printf(" </tr>");
    446461                    printf(" </table>");
  • trunk/MagicSoft/Mars/datacenter/db/sequinfo.php

    r7504 r7507  
    343343            $_GET["fArrTimeRmsOuter"]="Off";
    344344
     345        if (empty($_GET["fMeanSignalInner"]))
     346            $_GET["fMeanSignalInner"]=$first?"Off":"";
     347
     348        if (empty($_GET["fMeanSignalOuter"]))
     349            $_GET["fMeanSignalOuter"]=$first?"Off":"";
     350
     351        if (empty($_GET["fPulsePosMean"]))
     352            $_GET["fPulsePosMean"]=$first?"Off":"";
     353
    345354        if (empty($_GET["fConvFactorInner"]))
    346355            $_GET["fConvFactorInner"]=$first?"On":"";
     
    424433        CheckBox("fUnreliableInner",     "Unreliable inner");
    425434        CheckBox("fUnreliableOuter",     "Unreliable outer");
    426 
    427         printf("  </tr><tr>\n");
    428 
    429435        CheckBox("fIsolatedInner",       "Isolated inner");
    430436        CheckBox("fIsolatedOuter",       "Isolated outer");
     437
     438        printf("  </tr><tr>\n");
     439
    431440        CheckBox("fIsolatedMaxCluster",  "IsolatedMaxCluster");
    432 
    433         printf("  </tr><tr>\n");
    434 
    435441        CheckBox("fArrTimeMeanInner",    "ArrTimeMean inner ");
    436442        CheckBox("fArrTimeMeanOuter",    "ArrTimeMean outer ");
    437443        CheckBox("fArrTimeRmsInner",     "ArrTimeRms inner ");
    438444        CheckBox("fArrTimeRmsOuter",     "ArrTimeRms outer ");
     445        CheckBox("fPulsePosMean",        "Mean PulsePos");
    439446
    440447        printf("  </tr><tr>\n");
     
    444451        CheckBox("fMeanPedRmsInner",     "MeanPedRms inner");
    445452        CheckBox("fMeanPedRmsOuter",     "MeanPedRms outer");
     453        CheckBox("fMeanSignalInner",     "MeanSignal inner");
     454        CheckBox("fMeanSignalOuter",     "MeanSignal outer");
    446455
    447456        printf(" </tr></table>\n");
Note: See TracChangeset for help on using the changeset viewer.