Changeset 17852 for trunk/FACT++
- Timestamp:
- 05/14/14 13:01:16 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/www/viewer/index.js
r17848 r17852 1280 1280 1281 1281 if (hue>1) 1282 return " 700"; // 6661282 return "dde";//"700"; // 666 1283 1283 1284 1284 hue *= 14; … … 1397 1397 if (document.getElementById('image').checked) 1398 1398 { 1399 var h = Hillas(canv.dataAbs, canv.zmin );1399 var h = Hillas(canv.dataAbs, canv.zmin, canv.zmax); 1400 1400 if (h) 1401 1401 { … … 1494 1494 // =================================================================== 1495 1495 1496 function Hillas(data, min )1496 function Hillas(data, min, max) 1497 1497 { 1498 1498 var mx = 0; … … 1507 1507 for (var i=0; i<1440; i++) 1508 1508 { 1509 if (data[i]===undefined || data[i]<min )1509 if (data[i]===undefined || data[i]<min || data[i]>max) 1510 1510 continue; 1511 1511
Note:
See TracChangeset
for help on using the changeset viewer.