Changes between Version 1 and Version 2 of calibrate_bias_currents


Ignore:
Timestamp:
06/29/15 17:02:41 (10 years ago)
Author:
dneise
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • calibrate_bias_currents

    v1 v2  
    1010
    1111I write it here in pseudo-python:
    12 
     12{{{
     13   #!python
    1314   fb_cal_r8 = fits.open('20150628.FEEDBACK_CALIBRATION_R8.fits')[1].data
    1415   delta_i = fb_cal_r8['DeltaI'][0, :320]
     
    2021   I9 = bias_dac['U'][:, :320] * (1e-3/4096) * 100 / r8[np.newaxis, :]
    2122   Iout = (I8 - I9) / 4e-6
     23}}}