source: trunk/www/dch/quality.php@ 19598

Last change on this file since 19598 was 18881, checked in by Daniela Dorner, 8 years ago
updates to text
File size: 3.7 KB
Line 
1<html>
2<head>
3 <meta name="Author" content="Daniela Dorner" />
4 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5 <title>FACT Project</title>
6 <link rel="StyleSheet" type="text/css" href="../style.css" />
7</head>
8<?php
9
10include ("dates.php");
11
12echo "<body>\n";
13echo "<form name='formular' action='quality.php' METHOD='GET'>\n";
14echo "quality plots for ";
15
16$date=GetDates($_GET["date"], "quality");
17$date2=date("Ymd", strtotime($date));
18$path="../quality/".date("Y/m/d", strtotime($date));
19
20echo "</form>\n";
21
22if (is_dir($path))
23{
24 //printf("<a href='%s'>more files</a>\n",$path);
25 echo "<table>\n";
26 echo "<tr>\n";
27 printf("<td><img src='%s/%s.png' alt='quality'></td>\n", $path, $date2);
28 echo "</tr>\n";
29// echo "<tr>\n";
30// printf("<td><img src='%s/%s-quality.png' alt='quality3'></td>\n", $path, $date2);
31// echo "</tr>\n";
32 echo "<tr>\n";
33 echo "</table>\n";
34}
35else
36 echo "No files available for ".$date.".\n";
37
38echo "<br>\n";
39echo "<br>\n";
40echo "<br>\n";
41//echo "Some information on the plots:<br>\n";
42echo "<u>From the top:</u> <br>\n";
43echo "THRESHOLD: <br>\n ";
44echo "&nbsp;&nbsp;&nbsp;threshold (RATE_CONTROL_THRESHOLD.fits threshold)<br>\n";
45echo "CURRENT: <br>\n";
46echo "&nbsp;&nbsp;&nbsp;blue: predicted currents <br>\n";
47echo "&nbsp;&nbsp;&nbsp;black: measured (FEEDBACK_CALIBRATED_CURRENTS.fits Imed)<br>\n";
48echo "&nbsp;&nbsp;&nbsp;gray: patch with highest current (FEEDBACK_CALIBRATED_CURRENTS.fits I[highest current])<br>\n";
49echo "&nbsp;&nbsp;&nbsp;dark gray: patch with 4th highest current (FEEDBACK_CALIBRATED_CURRENTS.fits I[4th highest current])<br>\n";
50echo "&nbsp;&nbsp;&nbsp;very dark gray: width of current distribution in camera (Imed+Idev)<br>\n";
51echo "TRIGGER RATE: <br>\n ";
52echo "&nbsp;&nbsp;&nbsp;black: trigger rate (FTM_CONTROL_TRIGGER_RATES.fits TriggerRate)<br>\n";
53echo "&nbsp;&nbsp;&nbsp;red (one point per run):cleaning rate (AnalysisResultsRunLP.fNumEvtsAfterCleaning/AnalysisResultsRunLP.fOnTimeAfterCuts)<br>\n";
54echo "&nbsp;&nbsp;&nbsp;blue (one point per run): rate after quality cuts (AnalysisResultsRunLP.fNumEvtsAfterQualCuts/AnalysisResultsRunLP.fOnTimeAfterCuts)<br>\n";
55echo "RELATIVE ONTIME: <br>\n ";
56echo "&nbsp;&nbsp;&nbsp;relative ontime (FTM_CONTROL_TRIGGER_RATES.fits OnTime/ElapsedTime)<br>\n";
57echo "ELEVATION: <br>\n ";
58echo "&nbsp;&nbsp;&nbsp;elevation (DRIVE_CONTROL_POINTING_POSITION.fits 90-Zd)<br>\n";
59echo "TEMPERATURE: <br>\n ";
60echo "&nbsp;&nbsp;&nbsp;black: sensor temperature (FSC_CONTROL_TEMPERATURE.fits T_sens)<br>\n";
61echo "&nbsp;&nbsp;&nbsp;blue: outside temperature (MAGIC_WEATHER_DATA.fits T)<br>\n";
62echo "&nbsp;&nbsp;&nbsp;red: container temperature (TEMPERATURE_DATA.fits T)<br>\n";
63echo "&nbsp;&nbsp;&nbsp;green: minimum, average and maximum fad temperature (FAD_CONTROL_TEMPERATURE.fits Data1/temp)<br>\n";
64echo "<br>\n";
65
66//echo "HUMIDITY: <br>\n ";
67//echo "&nbsp;&nbsp;&nbsp;green: PFmini rel. hum sensor (most trusted sensor) <br>\n";
68//echo "&nbsp;&nbsp;&nbsp;azure: 4 rel. hum. sensors of the FSC board. <br>\n";
69//echo "&nbsp;&nbsp;&nbsp;orange line: if humidity crosses this line, please note it in the logbook. <br>\n";
70//echo "&nbsp;&nbsp;&nbsp;red line: if humidity crosses this line, please write a mail about it to fact-online. <br>\n";
71//echo "These limits are not carved in stone. If we find, the humidity never crosses the 37% limit, we might lower the red line substantially. <br>\n";
72//echo "<br>\n";
73
74//echo "SQM: <br>\n ";
75//echo "&nbsp;&nbsp;&nbsp;black: 'mag' [magnitudes / (sq arcsec)] of the Unihedron SQM-LE, looking
76// close to the FoV of the telescope <br>\n";
77//echo "magnitudes/ (sq arcsec) can be converted to photons per (s sr m^2) as: <br>\n";
78//echo "photon flux = 4.4e20 * 10^(-0.4*mag) <br>\n";
79//echo "<br>\n";
80
81echo "</body>\n";
82echo "</html>\n";
83?>
Note: See TracBrowser for help on using the repository browser.