Changeset 28601
- Timestamp:
- Jul 2, 2010, 3:30:28 PM (16 years ago)
- Location:
- trunk/ippMonitor
- Files:
-
- 21 added
- 7 edited
-
Makefile.in (modified) (6 diffs)
-
def/autocodeImage.php (added)
-
def/histogramBackgroundImage.d (added)
-
def/histogramBackgroundImage.php (added)
-
def/histogramCamProcessedExpImage.d (added)
-
def/histogramChipProcessedImfileFwhmMajorImage.d (added)
-
def/histogramChipRunFwhmMajorImage.d (added)
-
def/histogramFwhmMajorImage.d (added)
-
def/histogramFwhmMinorImage.d (added)
-
def/image_autocode.php (added)
-
def/scatterCpiBgReMaImage.d (added)
-
def/scatterCpiBgReMpImage.d (added)
-
def/scatterCpiBgReSaImage.d (added)
-
def/scatterPlotAirMassFwhmImage.d (added)
-
def/simplePlotChipImage.d (added)
-
def/simplePlotRawImage.d (added)
-
raw/ipp.imfiles.dat (modified) (1 diff)
-
raw/ipp.menu.dat (modified) (1 diff)
-
raw/ipp.php (modified) (1 diff)
-
raw/ipp.plots.dat (added)
-
raw/ipp.plots.php (added)
-
raw/plotHistogram.php (added)
-
raw/scatterPlot.php (added)
-
raw/skyplot.php (modified) (2 diffs)
-
scripts/build_histogram.dvo (modified) (1 diff)
-
scripts/generate (modified) (6 diffs)
-
scripts/helpers.dvo (added)
-
scripts/plot_x_vs_y.dvo (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/Makefile.in
r28496 r28601 18 18 $(DESTBIN)/czartool_getServerStatus.pl \ 19 19 $(DESTBIN)/build_histogram.dvo \ 20 20 $(DESTBIN)/helpers.dvo \ 21 $(DESTBIN)/plot_x_vs_y.dvo 21 22 22 23 RAWSRC = \ … … 36 37 $(DESTWWW)/ipp.load.dat \ 37 38 $(DESTWWW)/ipp.load.php \ 39 $(DESTWWW)/ipp.plots.dat \ 40 $(DESTWWW)/ipp.plots.php \ 38 41 $(DESTWWW)/ipp.science.dat \ 39 42 $(DESTWWW)/ipp.science.php \ … … 55 58 $(DESTWWW)/histogram.php \ 56 59 $(DESTWWW)/show_and_delete_image.php \ 60 $(DESTWWW)/scatterPlot.php \ 61 $(DESTWWW)/select_forms.php \ 62 $(DESTWWW)/plotHistogram.php \ 57 63 58 64 … … 178 184 $(DESTWWW)/flatcorrChip.php \ 179 185 $(DESTWWW)/flatcorrCamera.php \ 180 $(DESTWWW)/maskStats.php 186 $(DESTWWW)/maskStats.php \ 187 $(DESTWWW)/simplePlotRawImage.php \ 188 $(DESTWWW)/simplePlotChipImage.php \ 189 $(DESTWWW)/simplePlotCamImage.php \ 190 $(DESTWWW)/histogramBackgroundImage.php \ 191 $(DESTWWW)/histogramCamProcessedExpImage.php \ 192 $(DESTWWW)/histogramChipProcessedImfileFwhmMajorImage.php \ 193 $(DESTWWW)/scatterPlotAirMassFwhmImage.php \ 194 $(DESTWWW)/scatterCpiBgReMaImage.php \ 195 $(DESTWWW)/scatterCpiBgReMpImage.php \ 196 $(DESTWWW)/scatterCpiBgReSaImage.php 181 197 182 198 PICTURES = \ … … 206 222 ln -s $(DESTWWW)/Login.php $@ 207 223 224 $(SRC)/%Image.php: $(DEF)/%Image.d $(DEF)/autocodeImage.php $(GENERATE) 225 @if [ ! -d $(SRC) ]; then mkdir -p $(SRC); fi 226 $(GENERATE) $< $(DEF)/autocodeImage.php $@ 208 227 $(SRC)/%.php: $(DEF)/%.d $(DEF)/autocode.php $(GENERATE) 209 228 @if [ ! -d $(SRC) ]; then mkdir -p $(SRC); fi … … 211 230 212 231 # generated php code is built into SRC first 232 $(DESTWWW)/%Image.php: $(SRC)/%Image.php 233 @if [ ! -d $(DESTWWW) ]; then mkdir -p $(DESTWWW) || exit; fi 234 rm -f $(DESTWWW)/$*Image.php || exit 235 cp $(SRC)/$*Image.php $(DESTWWW)/$*Image.php || exit 213 236 $(DESTWWW)/%.php: $(SRC)/%.php 214 237 @if [ ! -d $(DESTWWW) ]; then mkdir -p $(DESTWWW) || exit; fi -
trunk/ippMonitor/raw/ipp.imfiles.dat
r28451 r28601 24 24 menutop | menutop | link | mask stats | maskStats.php 25 25 menutop | menutop | link | histogram | histogram.php 26 menutop | menutop | link | Scatter plot | plot_x_vs_y.php 27 28 menutop | menutop | link | Simple plot - raw | simplePlotRawImage.php 29 menutop | menutop | link | Simple plot - chip | simplePlotChipImage.php 30 menutop | menutop | link | Simple plot - cam | simplePlotCamImage.php 31 menutop | menutop | link | Histogram background | histogramBackgroundImage.php 32 menutop | menutop | link | Histogram Fwhm Major (camProcessedExp) | histogramCamProcessedExpImage.php 33 menutop | menutop | link | Histogram Fwhm Minor (chip processed) | histogramChipProcessedImfileFwhmMajorImage.php -
trunk/ippMonitor/raw/ipp.menu.dat
r26947 r28601 24 24 menutop | menutop | link | Distribution | ipp.dist.php 25 25 menutop | menutop | link | Calibration | ipp.cal.php 26 menutop | menutop | link | Plots | ipp.plots.php 26 27 menutop | menutop | link | Admin and Debug | ipp.imfiles.php 27 28 -
trunk/ippMonitor/raw/ipp.php
r28432 r28601 871 871 } 872 872 873 ////////////////////////////////////////////////////////////////////////// 874 // Extra filtering parameters array 875 $filteringParameters = array(); 876 873 877 ?> -
trunk/ippMonitor/raw/skyplot.php
r27113 r28601 47 47 $outfile = $_GET[output]; 48 48 49 exec ("skyplot.dvo $infile $outfile", $output, $status);49 $output = shell_exec("skyplot.dvo $infile $outfile");//, $output, $status); 50 50 51 51 if ($debug) { … … 65 65 fpassthru ($file); 66 66 } 67 exit (); 67 68 exit(); 69 68 70 ?> -
trunk/ippMonitor/scripts/build_histogram.dvo
r28433 r28601 37 37 plot dx vhist -x 1 -c blue 38 38 $binsCount = dx[] 39 myecho " Labeling" 40 myecho " -x $3" 39 strsub $3 "_" "\\\\_" -var xLabel 40 myecho " Labelling" 41 myecho " -x $xLabel" 41 42 myecho " -y Occurrences " 42 myecho " +x 'Histogram of $ 3"43 myecho " +x 'Histogram of $xLabel " 43 44 myecho " interval = $minvalue : $maxvalue " 44 45 myecho " / $binsCount bins" 45 46 myecho " / bin width: $delta)'" 46 labels -x $ 347 labels -x $xLabel 47 48 labels -y Occurrences 48 labels +x "Histogram of $ 3/ interval = $minvalue : $maxvalue / $binsCount bins / bin width: $delta"49 labels +x "Histogram of $xLabel / interval = $minvalue : $maxvalue / $binsCount bins / bin width: $delta" 49 50 50 51 myecho "Saving graphics to [$2]" -
trunk/ippMonitor/scripts/generate
r26888 r28601 35 35 &init_key ("FIELDS"); 36 36 &init_key ("GROUPS"); 37 &init_key ("TOPLOT"); 38 &init_key ("PLOTTER"); 39 &init_key ("PLOTTITLE"); 37 40 38 41 foreach $line (@list) { … … 43 46 if ($key eq "TABLE") { ($value) = $value =~ m|^\s*(.+)\s*$|; } 44 47 if ($key eq "TYPE") { ($value) = $value =~ m|^\s*(.+)\s*$|; } 48 if ($key eq "TOPLOT") { ($value) = $value =~ m|^\s*(.+)\s*$|; } 49 if ($key eq "PLOTTER") { ($value) = $value =~ m|^\s*(.+)\s*$|; } 50 if ($key eq "PLOTTITLE") { 51 ($value) = $value =~ m|^\s*(.+)\s*$|; 52 $value =~ s/\s/_/g; 53 } 45 54 46 55 &set_keypair ($key, $value); … … 253 262 # generate a table header cell (<th> </th>) for each field (show != none) 254 263 sub write_table_header { 255 256 264 # print the table header (field labels) 257 265 print FILE "echo \"<tr><td></td>\\n\";\n"; … … 682 690 if ($key eq $key[$i]) { 683 691 if ($VERBOSE) { print "found $key: $key[$i] -- $value[$i] (def: $default)\n"; } 684 if (($default eq "") && ($value[$i] eq "")) { die " missing value for required key $key[$i]\n"; }692 if (($default eq "") && ($value[$i] eq "")) { die "check_key: missing value for required key $key[$i]\n"; } 685 693 if ($value[$i] eq "") { $value[$i] = $default; } 686 694 return; … … 695 703 if ($VERBOSE) { print "$key[$i] -- $value[$i]\n"; } 696 704 if ($line =~ m|\$$key[$i]|) { 697 if ($value[$i] eq "") { die " missing value for required key $key[$i]\n"; }705 if ($value[$i] eq "") { die "check_keypairs: missing value for required key $key[$i]\n"; } 698 706 $line =~ s|\$$key[$i]|$value[$i]|g; 699 707 } … … 708 716 # against the expectation at runtime. for the moment, 709 717 # calculate by hand and add to def.d file 710
Note:
See TracChangeset
for help on using the changeset viewer.
