ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/osprai/osprai/trunk/cal_module.py
(Generate patch)
# Line 44 | Line 44
44          ## Apply the calibration to the new ba object.
45          ba2.roi[i].calibM = slope
46          ba2.roi[i].calibB = intercept
47 <        ba2.roi[i].value = ba0.value * slope + intercept  ## type np.array
47 >        ba2.roi[i].value = ba0.roi[i].value * slope + intercept  ## type np.array
48      return ba2
49      ## End of calibrate().
50  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines