Ignore:
Timestamp:
02/15/06 13:13:22 (19 years ago)
Author:
hoehne
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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>");
Note: See TracChangeset for help on using the changeset viewer.