Changeset 28604
- Timestamp:
- Jul 2, 2010, 4:14:01 PM (16 years ago)
- Location:
- trunk/ippMonitor
- Files:
-
- 1 added
- 4 edited
-
Makefile.in (modified) (1 diff)
-
def/README (modified) (1 diff)
-
def/histogramBackgroundImage.d (modified) (1 diff)
-
def/histogramZptObsImage.d (added)
-
raw/ipp.plots.dat (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/Makefile.in
r28601 r28604 190 190 $(DESTWWW)/histogramBackgroundImage.php \ 191 191 $(DESTWWW)/histogramCamProcessedExpImage.php \ 192 $(DESTWWW)/histogram ChipProcessedImfileFwhmMajorImage.php \192 $(DESTWWW)/histogramZptObsImage.php \ 193 193 $(DESTWWW)/scatterPlotAirMassFwhmImage.php \ 194 194 $(DESTWWW)/scatterCpiBgReMaImage.php \ -
trunk/ippMonitor/def/README
r9323 r28604 98 98 output column in the HTML table. 99 99 100 Drawing Figures 101 =============== 102 - Definition files (def/*.d) MUST be appended with Image.d to allow specific 103 processing (the template is not def/autocode.php but autocodeImage.php) 104 e.g.: plotMyStuffImage.php 105 - No changes to the previous file content except for these 4 items: 106 107 1) The 'restrict' keyword should be used in the 'show' column of 108 FIELD entry if displaying the column values is wanted. 109 Such FIELDs are used in the WHERE restriction clause, not in 110 the query. 111 112 Note for developpers: actually any word different from the 113 existing keywords '', 'value', 'none', 'image=xxx', 114 'value=xxx' are ok. No code was developped to support this 115 keyword in the scritps/generate script. 116 117 2) 'TOPLOT <list of db columns>': defines the list of columns to 118 query. 119 e.g.: 120 TOPLOT camProcessedExp.fwhm_major 121 TOPLOT chipProcessedImfile.bg, rawExp.sun_angle 122 All values (no LIMIT) are written to a temporary (text) file 123 of the /tmp directory. 124 In a row, the different values are separated by a single space 125 (i.e. ' '). 126 127 3) 'PLOTTER <php_script_name>': defines the name of the PHP 128 script that will call an external tool (e.g. a DVO script). 129 130 It is expected that the PHP script named 'php_script_name' 131 supports the following parameters: 132 - input: the name of an input text filename; 133 - output: the name of an output image filename; 134 - title: a string (see item 4) PLOTTITLE). 135 136 e.g.: 137 PLOTTER scatterPlot.php 138 PLOTTER plotHistogram.php 139 140 The list of existing plotters are detailed further. 141 142 4) 'PLOTTITLE <A title>': defines the title of a figure. Could be 143 used in the external program which is effectively used for 144 rendering the figure. 145 146 e.g.: 147 PLOTTITLE A title 148 149 Existing plotting scripts 150 ========================= 151 raw/skyplot.php (calls scripts/skyplot.dvo) 152 Text input file needs to contain 3 columns 153 154 raw/plotHistogram.php (calls scripts/build_histogram.dvo) 155 Text input file needs to contain 1 column 156 Computes the histogram of the input file data for 100 bins. 157 158 raw/scatterPlot.php (calls scripts/pot_x_vs_y.dvo) 159 Text input file needs to contain 2 columns 160 Scatter plot of the first column values vs the second ones 161 Regression line is also plotted (correlation coefficient is 162 shown in title). 163 164 Known bugs of the plotting scripts 165 ================================== 166 - the temporary files are not deleted. -
trunk/ippMonitor/def/histogramBackgroundImage.d
r28601 r28604 2 2 TITLE New histogram background 3 3 FILE histogramBackgroundImage.php 4 MENU ipp. imfiles.dat4 MENU ipp.plots.dat 5 5 6 6 WHERE camRun.state = 'full' -
trunk/ippMonitor/raw/ipp.plots.dat
r28601 r28604 2 2 3 3 menutop | menutop | plain | | 4 menu top | menutop| link | Simple plot - raw | simplePlotRawImage.php5 menu top | menutop| link | Simple plot - chip | simplePlotChipImage.php6 menu top | menutop| link | Simple plot - cam | simplePlotCamImage.php4 menulink | menuselect | link | Simple plot - raw | simplePlotRawImage.php 5 menulink | menuselect | link | Simple plot - chip | simplePlotChipImage.php 6 menulink | menuselect | link | Simple plot - cam | simplePlotCamImage.php 7 7 8 8 menutop | menutop | plain | | 9 menu top | menutop| link | Histogram background | histogramBackgroundImage.php10 menu top | menutop| link | Histogram Fwhm Major (camProcessedExp) | histogramCamProcessedExpImage.php11 menu top | menutop | link | Histogram Fwhm Minor (chip processed) | histogramChipProcessedImfileFwhmMajorImage.php9 menulink | menuselect | link | Histogram background | histogramBackgroundImage.php 10 menulink | menuselect | link | Histogram Fwhm Major (camProcessedExp) | histogramCamProcessedExpImage.php 11 menulink | menuselect | link | Histogram Zpt Obs (camProcessedExp) | histogramZptObsImage.php 12 12 13 13 menutop | menutop | plain | | 14 menu top | menutop| link | Plot airmass vs fwhm_major (chipProcessedImfile) | scatterPlotAirMassFwhmImage.php15 menu top | menutop| link | Plot Background (chipProcessedImfile) vs Moon Angle (rawExp) | scatterCpiBgReMaImage.php16 menu top | menutop| link | Plot Background (chipProcessedImfile) vs Moon Phase (rawExp) | scatterCpiBgReMpImage.php17 menu top | menutop| link | Plot Background (chipProcessedImfile) vs Sun Angle (rawExp) | scatterCpiBgReSaImage.php14 menulink | menuselect | link | Plot airmass vs fwhm_major (chipProcessedImfile) | scatterPlotAirMassFwhmImage.php 15 menulink | menuselect | link | Plot Background (chipProcessedImfile) vs Moon Angle (rawExp) | scatterCpiBgReMaImage.php 16 menulink | menuselect | link | Plot Background (chipProcessedImfile) vs Moon Phase (rawExp) | scatterCpiBgReMpImage.php 17 menulink | menuselect | link | Plot Background (chipProcessedImfile) vs Sun Angle (rawExp) | scatterCpiBgReSaImage.php
Note:
See TracChangeset
for help on using the changeset viewer.
