<html>
<title> Documentation of QC procedures: procedure run_amber_processQC.sh.averaged for AMBER </title>
<h2> Documentation of QC procedures: procedure run_amber_processQC.sh.averaged for AMBER </h2>
<link rel="StyleSheet" href="http://www.eso.org/qc/ALL/common/qc_eso.style" type="text/css">
<!-- java script -->
<script type="text/javascript"><!--
 imageOn = new Image();  imageOff = new Image();
 imageOn.src  = "http://www.eso.org/images/itemOn.gif";
 imageOff.src = "http://www.eso.org/images/itemOff.gif";

 function over(imgname) { imgname.src = imageOn.src }
 function out(imgname)  { imgname.src = imageOff.src }
//--></script>
</title>

<table> 
  <tr>
    <td bgcolor=#cccccc><font size=2>back to:</td>
    <td bgcolor=#006A9D><a href="/~qc/dfos/details.html"><font color=#FFFFFF size=2><b>dfos</b></font></td>
    <td bgcolor=#009933><a href="/~qc/tqs/details_tqs.html"><font color=#FFFFFF size=2><b>tqs</b></font></td>
  </tr>
</table>

<table width=800>
<!-- vertical navbar -->
<tr width=10% bgcolor=#009933 valign=top>
  <td ROWSPAN=1000><font size=2> 
    <table width="10" border="0" cellpadding="1" cellspacing="0">
      <tr align="left" valign="top">
        <th class="qcnav-head" nowrap>
        <img name="HOME" align="bottom" src="http://www.eso.org/images/itemOff.gif" width="10" height="10" border="0" vspace="0" hspace="1">
        <a class="qcnav-head" onMouseOver="over(HOME); return true" onMouseOut="out(HOME); return true" href="http://www.eso.org/~qc/docu/QC1/qc1docu.html" title="QC1 documentation: HOME">HOME</a>
        </th>
      </tr>
      <tr>
        <th>&nbsp;</th>
      </tr>
      <tr align="left" valign="top">
        <th class="qcnav-head" nowrap>
        <img name="AMBER" align="bottom" src="http://www.eso.org/images/itemOff.gif" width="10" height="10" border="0" vspace="0" hspace="1">
        <a class="this-qcnav-head" onMouseOver="over(AMBER); return true" onMouseOut="out(AMBER); return true" href="http://www.eso.org/~qc/docu/QC1/AMBER/run_amber_processQC.sh" title="AMBER QC1 documentation"><font bgcolor=#CCCCCC>AMBER</a>
        </th>
      </tr>
      <tr align="left" valign="top">
        <th class="qcnav-head" nowrap>
        <img name="CRIRES" align="bottom" src="http://www.eso.org/images/itemOff.gif" width="10" height="10" border="0" vspace="0" hspace="1">
        <a class="qcnav-head" onMouseOver="over(CRIRES); return true" onMouseOut="out(CRIRES); return true" href="http://www.eso.org/~qc/docu/QC1/CRIRES/firstlink.html" title="CRIRES QC1 documentation">CRIRES</a>
        </th>
      </tr>
      <tr align="left" valign="top">
        <th class="qcnav-head" nowrap>
        <img name="FORS1" align="bottom" src="http://www.eso.org/images/itemOff.gif" width="10" height="10" border="0" vspace="0" hspace="1">
        <a class="qcnav-head" onMouseOver="over(FORS1); return true" onMouseOut="out(FORS1); return true" href="http://www.eso.org/~qc/docu/QC1/FORS1/firstlink.html" title="FORS1 QC1 documentation">FORS1</a>
        </th>
      </tr>
      <tr align="left" valign="top">
        <th class="qcnav-head" nowrap>
        <img name="FORS2" align="bottom" src="http://www.eso.org/images/itemOff.gif" width="10" height="10" border="0" vspace="0" hspace="1">
        <a class="qcnav-head" onMouseOver="over(FORS2); return true" onMouseOut="out(FORS2); return true" href="http://www.eso.org/~qc/docu/QC1/FORS2/firstlink.html" title="FORS2 QC1 documentation">FORS2</a>
        </th>
      </tr>
      <tr align="left" valign="top">
        <th class="qcnav-head" nowrap>
        <img name="GIRAFFE" align="bottom" src="http://www.eso.org/images/itemOff.gif" width="10" height="10" border="0" vspace="0" hspace="1">
        <a class="qcnav-head" onMouseOver="over(GIRAFFE); return true" onMouseOut="out(GIRAFFE); return true" href="http://www.eso.org/~qc/docu/QC1/GIRAFFE/firstlink.html" title="GIRAFFE QC1 documentation">GIRAFFE</a>
        </th>
      </tr>
      <tr align="left" valign="top">
        <th class="qcnav-head" nowrap>
        <img name="HAWK-I" align="bottom" src="http://www.eso.org/images/itemOff.gif" width="10" height="10" border="0" vspace="0" hspace="1">
        <a class="qcnav-head" onMouseOver="over(HAWK-I); return true" onMouseOut="out(HAWK-I); return true" href="http://www.eso.org/~qc/docu/QC1/HAWK-I/firstlink.html" title="HAWK-I QC1 documentation">HAWK-I</a>
        </th>
      </tr>
      <tr align="left" valign="top">
        <th class="qcnav-head" nowrap>
        <img name="ISAAC" align="bottom" src="http://www.eso.org/images/itemOff.gif" width="10" height="10" border="0" vspace="0" hspace="1">
        <a class="qcnav-head" onMouseOver="over(ISAAC); return true" onMouseOut="out(ISAAC); return true" href="http://www.eso.org/~qc/docu/QC1/ISAAC/firstlink.html" title="ISAAC QC1 documentation">ISAAC</a>
        </th>
      </tr>
      <tr align="left" valign="top">
        <th class="qcnav-head" nowrap>
        <img name="MIDI" align="bottom" src="http://www.eso.org/images/itemOff.gif" width="10" height="10" border="0" vspace="0" hspace="1">
        <a class="qcnav-head" onMouseOver="over(MIDI); return true" onMouseOut="out(MIDI); return true" href="http://www.eso.org/~qc/docu/QC1/MIDI/firstlink.html" title="MIDI QC1 documentation">MIDI</a>
        </th>
      </tr>
      <tr align="left" valign="top">
        <th class="qcnav-head" nowrap>
        <img name="NACO" align="bottom" src="http://www.eso.org/images/itemOff.gif" width="10" height="10" border="0" vspace="0" hspace="1">
        <a class="qcnav-head" onMouseOver="over(NACO); return true" onMouseOut="out(NACO); return true" href="http://www.eso.org/~qc/docu/QC1/NACO/firstlink.html" title="NACO QC1 documentation">NACO</a>
        </th>
      </tr>
      <tr align="left" valign="top">
        <th class="qcnav-head" nowrap>
        <img name="SINFONI" align="bottom" src="http://www.eso.org/images/itemOff.gif" width="10" height="10" border="0" vspace="0" hspace="1">
        <a class="qcnav-head" onMouseOver="over(SINFONI); return true" onMouseOut="out(SINFONI); return true" href="http://www.eso.org/~qc/docu/QC1/SINFONI/firstlink.html" title="SINFONI QC1 documentation">SINFONI</a>
        </th>
      </tr>
      <tr align="left" valign="top">
        <th class="qcnav-head" nowrap>
        <img name="UVES" align="bottom" src="http://www.eso.org/images/itemOff.gif" width="10" height="10" border="0" vspace="0" hspace="1">
        <a class="qcnav-head" onMouseOver="over(UVES); return true" onMouseOut="out(UVES); return true" href="http://www.eso.org/~qc/docu/QC1/UVES/firstlink.html" title="UVES QC1 documentation">UVES</a>
        </th>
      </tr>
      <tr align="left" valign="top">
        <th class="qcnav-head" nowrap>
        <img name="VIMOS" align="bottom" src="http://www.eso.org/images/itemOff.gif" width="10" height="10" border="0" vspace="0" hspace="1">
        <a class="qcnav-head" onMouseOver="over(VIMOS); return true" onMouseOut="out(VIMOS); return true" href="http://www.eso.org/~qc/docu/QC1/VIMOS/firstlink.html" title="VIMOS QC1 documentation">VIMOS</a>
        </th>
      </tr>
      <tr align="left" valign="top">
        <th class="qcnav-head" nowrap>
        <img name="VISIR" align="bottom" src="http://www.eso.org/images/itemOff.gif" width="10" height="10" border="0" vspace="0" hspace="1">
        <a class="qcnav-head" onMouseOver="over(VISIR); return true" onMouseOut="out(VISIR); return true" href="http://www.eso.org/~qc/docu/QC1/VISIR/firstlink.html" title="VISIR QC1 documentation">VISIR</a>
        </th>
      </tr>
    <tr>
      <td>
      <a class="hide"> [best viewing with style sheets and javascript enabled]</a>
      </td>
    </tr>
    </table>
  </td>
</tr>
<!-- horizontal navbar -->
<tr bgcolor=#FFFFFF><td COLSPAN=8>
  <table width="50%">
    <tr>
<td BGCOLOR=#CCCCCC align=CENTER><font size=2><a href=run_amber_processQC.sh><b>run_amber_processQC.sh</b></a></td>
<td BGCOLOR=#CCCCCC align=CENTER><font size=2><a href=run_amber_bpos_qcDocu.sh><b>run_amber_bpos_qcDocu.sh</b></a></td>
<td BGCOLOR=#CCCCCC align=CENTER><font size=2><a href=run_amber_p2vm_qcDocu.sh><b>run_amber_p2vm_qcDocu.sh</b></a></td>
<td BGCOLOR=#CCCCCC align=CENTER><font size=2><a href=run_amber_calib_fringe_qcDocu.sh><b>run_amber_calib_fringe_qcDocu.sh</b></a></td>
    </tr>
  </table>
</td>
</tr>
<tr><td COLSPAN=2></td></tr>
<tr bgcolor=#CCCCCC valign=top><td align=right><font size=2><b>NAME</td>
<td align=left><font size=2>
     run_amber_processQC.csh
</td></tr>
<tr><td COLSPAN=2></td></tr>
<tr bgcolor=#CCCCCC valign=top><td align=right><font size=2><b>VERSION</td>
<td align=left><font size=2>
  1.0
</td></tr>
<tr><td COLSPAN=2></td></tr>
<tr bgcolor=#CCCCCC valign=top><td align=right><font size=2><b>INSTRUMENT</td>
<td align=left><font size=2>
AMBER
</td></tr>
<tr><td COLSPAN=2></td></tr>
<tr bgcolor=#CCCCCC valign=top><td align=right><font size=2><b>SYNTAX</td>
<td align=left><font size=2>
   SHELL
</td></tr>
<tr><td COLSPAN=2></td></tr>
<tr bgcolor=#CCCCCC valign=top><td align=right><font size=2><b>RAWTYPE</td>
<td align=left><font size=2>
  CALIB_FRINGE
  SCIENCE_FRINGE
  BPOS 
  3P2V
</td></tr>
<tr><td COLSPAN=2></td></tr>
<tr bgcolor=#CCCCCC valign=top><td align=right><font size=2><b>CALL</td>
<td align=left><font size=2>
     processQC -a abname or <br>
     . ~/Isabelle/SCRIPTS/MeasureQuality/run_amber_processQC.sh.averaged $RAW_TYPE $DATE $PF <br>
</td></tr>
<tr><td COLSPAN=2></td></tr>
<tr bgcolor=#CCCCCC valign=top><td align=right><font size=2><b>PURPOSE</td>
<td align=left><font size=2>
  extracting various QC parameters
</td></tr>
<tr><td COLSPAN=2></td></tr>
<tr bgcolor=#CCCCCC valign=top><td align=right><font size=2><b>PROCINPUT</td>
<td align=left><font size=2>
 products under CALIB_FRINGE/SCIENCE_FRINGE/BPOS/3P2V
</td></tr>
<tr><td COLSPAN=2></td></tr>
<tr bgcolor=#CCCCCC valign=top><td align=right><font size=2><b>QC1TABLE</td>
<td align=left><font size=2>
<b>trending</b> | table(s) in QC1 database: <br>
<a href=http://archive.eso.org/bin/qc1_cgi?action=qc1_browse_table&table=amber_bpos,amber_p2vm,amber_calibrators_K>amber_bpos,amber_p2vm,amber_calibrators_K</a>
<a href=http://archive.eso.org/bin/qc1_cgi?action=qc1_browse_table&table=(JH),amber_cutoff,>(JH),amber_cutoff,</a>
<a href=http://archive.eso.org/bin/qc1_cgi?action=qc1_browse_table&table=amber_science_fringe>amber_science_fringe</a>
<a href=http://archive.eso.org/bin/qc1_cgi?action=qc1_browse_table&table=(KJH)>(KJH)</a>
</td></tr>
<tr><td COLSPAN=2></td></tr>
<tr bgcolor=#CCCCCC valign=top><td align=right><font size=2><b>TRENDPLOT</td>
<td align=left><font size=2>
<b>trending</b> | current trending plot(s) associated to this procedure: <br>
<a href=http://www.eso.org/qc/AMBER/reports/HEALTH/trend_report_BPOS_shiftK_noBCD_HC.html<br>>trend_report_BPOS_shiftK_noBCD_HC.html<br></a> | 
<a href=http://www.eso.org/qc/AMBER/reports/HEALTH/trend_report_P2VM_LJHK_HC.html<br>>trend_report_P2VM_LJHK_HC.html<br></a> | 
<a href=http://www.eso.org/qc/AMBER/reports/HEALTH/trend_report_WINDOW_SM_HC.html<br>>trend_report_WINDOW_SM_HC.html<br></a> | 
<a href=http://www.eso.org/qc/AMBER/reports/HEALTH/trend_report_SNR_HC.html<br>>trend_report_SNR_HC.html<br></a>
</td></tr>
<tr><td COLSPAN=2></td></tr>
<tr bgcolor=#CCCCCC valign=top><td align=right><font size=2><b>QC1PAGE</td>
<td align=left><font size=2>
<b>trending</b> | associated trending page(s): <br>
<a href=http://www.eso.org/qc/AMBER/qc/none>none</a>
</td></tr>
<tr><td COLSPAN=2></td></tr>
<tr bgcolor=#CCCCCC valign=top><td align=right><font size=2><b>QC1PLOTS</td>
<td align=left><font size=2>
<table><tr bgcolor=white>
<td><font size=2><a href=http://www.eso.org/~qc/docu/QC1/AMBER/trend_report_BPOS_shiftK_noBCD_HC.png><img src=http://www.eso.org/~qc/docu/QC1/AMBER/trend_report_BPOS_shiftK_noBCD_HC.png size=30 height=30 border=0></a></td>
<td><font size=2><a href=http://www.eso.org/~qc/docu/QC1/AMBER/trend_report_P2VM_LJHK_HC.png><img src=http://www.eso.org/~qc/docu/QC1/AMBER/trend_report_P2VM_LJHK_HC.png size=30 height=30 border=0></a></td>
<td><font size=2><a href=http://www.eso.org/~qc/docu/QC1/AMBER/trend_report_WINDOW_SM_HC.png><img src=http://www.eso.org/~qc/docu/QC1/AMBER/trend_report_WINDOW_SM_HC.png size=30 height=30 border=0></a></td>
<td><font size=2><a href=http://www.eso.org/~qc/docu/QC1/AMBER/trend_report_SNR_HC.png><img src=http://www.eso.org/~qc/docu/QC1/AMBER/trend_report_SNR_HC.png size=30 height=30 border=0></a></td>
<td><font size=2><a href=http://www.eso.org/~qc/docu/QC1/AMBER/product_name.fits.gif><img src=http://www.eso.org/~qc/docu/QC1/AMBER/product_name.fits.gif size=30 height=30 border=0></a></td>
</tr></table>
<br><a href=http://www.eso.org/~qc/docu/QC1/AMBER/trend_report_BPOS_shiftK_noBCD_HC.png>trend_report_BPOS_shiftK_noBCD_HC.png</a><br>
<br><a href=http://www.eso.org/~qc/docu/QC1/AMBER/trend_report_P2VM_LJHK_HC.png>trend_report_P2VM_LJHK_HC.png</a><br>
<br><a href=http://www.eso.org/~qc/docu/QC1/AMBER/trend_report_WINDOW_SM_HC.png>trend_report_WINDOW_SM_HC.png</a><br>
<br><a href=http://www.eso.org/~qc/docu/QC1/AMBER/trend_report_SNR_HC.png>trend_report_SNR_HC.png</a><br>
<br><a href=http://www.eso.org/~qc/docu/QC1/AMBER/product_name.fits.gif>product_name.fits.gif</a><br>
</td></tr>
<tr><td COLSPAN=2></td></tr>
<tr bgcolor=#CCCCCC valign=top><td align=right><font size=2><b>QC1PARAM</td>
<td align=left><font size=2>
 QC1 parameters written into QC1 table:<br>
 <b>QC1db names</b>: amber_bpos | amber_p2vm | amber_cutoff | amber_calibrators_K(JH) | amber_science_fringe (KHJ) <br>
 <b>FITS key names for BPOS</b>: QC.REFPIX.A/B/C.K/H/J.SHX/SHY | QC.REFPIX.A/B/C.K/H/J.X/Y | QC.REFPIX.A/B/C.K/H/J.FLUX/PEAKFLUX/SIZX/SIZY/ANGLE <br>
 <b>FITS key names for P2VM</b>: QC.P1/2/3.OFFSETX/Y | QC.P2VM.K/H/J.VIS12/VIS23/VIS31 | QC.P2VM.K/H/J.ERRVIS12/ERRVIS23/ERRVIS31 <br>
 <b>FITS key names</b> for cutoff: CHANMAX/MIN | LAMBDAMAX/MIN | <br>
 <b>FITS key names for SNR (amber_calibrators_K/H/J and amber_science_fringeKHJ)</b>: QC.FRAMES.SELECTED.SNRGT2 | QC.FRAMES.SELECTED.PERCENT <br>
 QC1 params created by pipeline: all (except cutoff)<br>
 QC1 params created by this procedure: CHANMAX/MIN | LAMBDAMAX/MIN
</td></tr>
<tr><td COLSPAN=2></td></tr>
<tr bgcolor=#CCCCCC valign=top><td align=right><font size=2><b>ALGORITHM</td>
<td align=left><font size=2>
 Description of algorithms:<br>
 <b>BPOS:</b> HC calibration: under Position Ref. measure the XY position of the beam for the 3 beams ABC and the JHK bands. The shift between these different settings and the amber reference (coldstop) is calculated.  <br>
 <b>BPOS:</b> HC calibration: under Flux Angle Ref. measure the flux, the flux on the peak, the position angle and the size in X and Y  of the beam for the 3 beams ABC and the JHK bands.  <br>
 <b>BPOS:</b> HC calibration: under LAMP. monitoring of the LAMP in (XY, FLUX and SIZZE) for beam A/B/C in J/H/K  <br>
 Description of algorithms:<br>
 <b>P2VM:</b> Calculate the internal instrumental Visibility for the different instrumental settings (Low, Medium and High resolution) and for the 3 baselines (12, 23, 31). The Spectral Configuration is given by OCS.OBS.SPECCONF or INS.MODE, teh observing band by QC.BAND. When observing in Low Resolution JHK or Medium Resolution the offsets between the different photometric channels is also measured   <br>
 Description of algorithms:<br>
 <b>Cutoff:</b> When fringes are obtained in Low Resolution, we monitor the cutoff of the K spectruum, this has been an issue with AMBER and needs to be monitor to insure that the full K spectruum is present in the raw data.   <br>
 Description of algorithms:<br>
 <b>SNR:</b> When fringes are obtained, teh number of frames with a SNR >= 2 is calculated.    <br>
</td></tr>
<tr><td COLSPAN=2></td></tr>
<tr bgcolor=#CCCCCC valign=top><td align=right><font size=2><b>CERTIF</td>
<td align=left><font size=2>
   (guidelines for acceptance/rejection): for the BPOS, P2VM, check if it is within the same range as the HC plots <br>
   (guidelines for acceptance/rejection): for the fringe files, check the Vis2=f(SNR), the shape of the spectruum and the shape of the dispersed fringes (!! still fringes for MR and HR)<br>
</td></tr>
<tr><td COLSPAN=2></td></tr>
<tr bgcolor=#CCCCCC valign=top><td align=right><font size=2><b>COMMENTS</td>
<td align=left><font size=2>
 This run_amber_processQC.sh.averaged includes all the QC procedures <br>
 To see the individual qcDocu comments, please check the individual documentations
</td></tr>
  <tr BGCOLOR=#CCCCCC>
    <td ALIGN=RIGHT COLSPAN=10>
      <font COLOR=#FFFFFF size=2> created by qcDocu, a <b>tqs</b> tool</font>
    </td>
  </tr>
</table>
</html>
