Browse Source

refined K35 question

koellenberger 2 years ago
parent
commit
3e8c7d5985
1 changed files with 12 additions and 1 deletions
  1. 12 1
      public/checklist.php

+ 12 - 1
public/checklist.php

@@ -207,7 +207,11 @@
 
         <tr>
           <td><b>K35 Missing Points</b></td>
-          <td>Are there missing K35 values (only mark as bad if "K35 Missing Points" > 6)? </td>
+          <td>Are there missing K35 values? <br><br>
+            If there are runs with missing points, check the run individually (short subruns should have at least 10 points): <br>
+            <center>
+            <input type="text" placeholder ="KNMx" id="Campaign" size="5"><input type="text" placeholder ="Run number" id="CheckRun" size="10"><button type="submit" onclick="checkRun()" id="check">→ Check run</button>
+            </center>
           <td><label class="switch"><input type="checkbox"  id="MissingK35_checkbox"><span class="slider round"></span></label></td>
           <td style="text-align:center"><input type="text" placeholder ="Comment" id="MissingK35"></td>
         </tr>
@@ -267,6 +271,13 @@
               window.location.href="index.php";
           }
 
+          function checkRun() {
+              Campaign = document.getElementById('Campaign').value;
+              runToCheck = document.getElementById('CheckRun').value;
+              checkUrl = "http://katana.npl.washington.edu/~sanshiro/kaffee/" + Campaign + "/kaffee.cgi/attachment/fpd00" + runToCheck + "/RS/RsHv-SubRunVoltage-fpd00" + runToCheck + ".png"; //"http://katana.npl.washington.edu/~sanshiro/kaffee/KNM6/kaffee.cgi/attachment/fpd00"+document.getElementById('CheckRun').value;
+              window.open(checkUrl, '_blank').focus();
+          }
+
           function submit() {
 
               var VariableName = ["webtrium", "HV (K65)", "HV tank potential", "BIXS", "LARA", "FBM", "RW", "Run length", "Data size", "FPD energy", "Grid sync", "U MTD discrepancy", "Missing K35", "Rate 300", "Rate 90", "Tritium purity", "LARA consistency check" ];