Changeset 7507 for trunk/MagicSoft
- Timestamp:
- 02/15/06 13:13:22 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/datacenter/db
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/magicdefs.php
r7504 r7507 171 171 "fArrTimeRmsInner" => "Rms<br>ArrT<br>In", 172 172 "fArrTimeRmsOuter" => "Rms<br>ArrT<br>Out", 173 "fMeanSignalInner" => "Sign<br>In", 174 "fMeanSignalOuter" => "Sign<br>Out", 175 "fPulsePosMean" => "Puls<br>Pos", 173 176 "fConvFactorInner" => "Conv<br>In", 174 177 "fConvFactorOuter" => "Conv<br>Out", … … 266 269 $alias["fArrTimeRmsInner"] => "1", 267 270 $alias["fArrTimeRmsOuter"] => "1", 271 $alias["fMeanSignalInner"] => "1", 272 $alias["fMeanSignalOuter"] => "1", 273 $alias["fPulsePosMean"] => "1", 268 274 $alias["fConvFactorInner"] => "1", 269 275 $alias["fConvFactorOuter"] => "1", … … 403 409 "fArrTimeRmsInner" => "Calibration.fArrTimeRmsInner", 404 410 "fArrTimeRmsOuter" => "Calibration.fArrTimeRmsOuter", 411 "fMeanSignalInner" => "Calibration.fMeanSignalInner", 412 "fMeanSignalOuter" => "Calibration.fMeanSignalOuter", 413 "fPulsePosMean" => "Calibration.fPulsePosMean", 405 414 "fConvFactorInner" => "Calibration.fConvFactorInner", 406 415 "fConvFactorOuter" => "Calibration.fConvFactorOuter", -
trunk/MagicSoft/Mars/datacenter/db/querycal.php
r7484 r7507 85 85 $_GET["fArrTimeRmsOuter"]=$first?"On":""; 86 86 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 87 96 if (empty($_GET["fConvFactorInner"])) 88 97 $_GET["fConvFactorInner"]=$first?"On":""; … … 104 113 CheckBox("fUnreliableInner", "Unreliable inner"); 105 114 CheckBox("fUnreliableOuter", "Unreliable outer"); 106 107 printf(" </tr><tr>\n");108 109 115 CheckBox("fIsolatedInner", "Isolated inner"); 110 116 CheckBox("fIsolatedOuter", "Isolated outer"); 117 118 printf(" </tr><tr>\n"); 119 111 120 CheckBox("fIsolatedMaxCluster", "IsolatedMaxCluster"); 112 113 printf(" </tr><tr>\n");114 115 121 CheckBox("fArrTimeMeanInner", "ArrTimeMean inner "); 116 122 CheckBox("fArrTimeMeanOuter", "ArrTimeMean outer "); 117 123 CheckBox("fArrTimeRmsInner", "ArrTimeRms inner "); 118 124 CheckBox("fArrTimeRmsOuter", "ArrTimeRms outer "); 125 CheckBox("fPulsePosMean", "Mean PulsePos"); 119 126 120 127 printf(" </tr><tr>\n"); … … 124 131 CheckBox("fMeanPedRmsInner", "MeanPedRms inner"); 125 132 CheckBox("fMeanPedRmsOuter", "MeanPedRms outer"); 133 CheckBox("fMeanSignalInner", "MeanSignal inner"); 134 CheckBox("fMeanSignalOuter", "MeanSignal outer"); 126 135 127 136 printf(" </table>\n"); -
trunk/MagicSoft/Mars/datacenter/db/sequence.php
r7484 r7507 18 18 $query0 .= " fCallisto, fFillCallisto, ";//21,22 19 19 $query0 .= " fStar, fFillStar, ";//23,24 20 //calibration (25- 39)20 //calibration (25-42) 21 21 $query0 .= " fUnsuitableInner, fUnsuitableOuter, ";//25,26 22 22 $query0 .= " fUnreliableInner, fUnreliableOuter, ";//27,28 … … 26 26 $query0 .= " fConvFactorInner, fConvFactorOuter, ";//36,37 27 27 $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 35 37 36 38 $query0 .= " FROM Sequences "; … … 248 250 $meanpedrmsi=mysql_result($result0, $i, 38); 249 251 $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); 261 267 262 268 printf("<tr><td>"); … … 416 422 printf(" <td align='right'> %s </td>\n", $meanpedrmsi); 417 423 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); 418 431 printf(" </tr>"); 419 432 printf(" </table>"); … … 426 439 printf(" <table BORDER=\"1\">"); 427 440 printf(" <tr BGCOLOR='#C0C0C0'>"); 428 printf(" <th colspan=\" 7\">star</th>\n");441 printf(" <th colspan=\"8\">star</th>\n"); 429 442 printf(" </tr><tr BGCOLOR='#D0D0D0' ALIGN='center'>"); 430 443 printf(" <td># islands</td>\n"); … … 435 448 printf(" <td>ratio</td>\n"); 436 449 printf(" <td>psf</td>\n"); 450 printf(" <td>inhom</td>\n"); 437 451 printf(" <tr BGCOLOR='#E0E0E0' ALIGN='right'>"); 438 452 printf(" <td> %s </td>\n", $meannumislands); … … 443 457 printf(" <td> %s </td>\n", $ratio); 444 458 printf(" <td> %smm </td>\n", $psf); 459 printf(" <td> %s </td>\n", $inhom); 445 460 printf(" </tr>"); 446 461 printf(" </table>"); -
trunk/MagicSoft/Mars/datacenter/db/sequinfo.php
r7504 r7507 343 343 $_GET["fArrTimeRmsOuter"]="Off"; 344 344 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 345 354 if (empty($_GET["fConvFactorInner"])) 346 355 $_GET["fConvFactorInner"]=$first?"On":""; … … 424 433 CheckBox("fUnreliableInner", "Unreliable inner"); 425 434 CheckBox("fUnreliableOuter", "Unreliable outer"); 426 427 printf(" </tr><tr>\n");428 429 435 CheckBox("fIsolatedInner", "Isolated inner"); 430 436 CheckBox("fIsolatedOuter", "Isolated outer"); 437 438 printf(" </tr><tr>\n"); 439 431 440 CheckBox("fIsolatedMaxCluster", "IsolatedMaxCluster"); 432 433 printf(" </tr><tr>\n");434 435 441 CheckBox("fArrTimeMeanInner", "ArrTimeMean inner "); 436 442 CheckBox("fArrTimeMeanOuter", "ArrTimeMean outer "); 437 443 CheckBox("fArrTimeRmsInner", "ArrTimeRms inner "); 438 444 CheckBox("fArrTimeRmsOuter", "ArrTimeRms outer "); 445 CheckBox("fPulsePosMean", "Mean PulsePos"); 439 446 440 447 printf(" </tr><tr>\n"); … … 444 451 CheckBox("fMeanPedRmsInner", "MeanPedRms inner"); 445 452 CheckBox("fMeanPedRmsOuter", "MeanPedRms outer"); 453 CheckBox("fMeanSignalInner", "MeanSignal inner"); 454 CheckBox("fMeanSignalOuter", "MeanSignal outer"); 446 455 447 456 printf(" </tr></table>\n");
Note:
See TracChangeset
for help on using the changeset viewer.