Hi Everyone,<br>I built a python class to get the bcm constant, you can find the code in:<br>/w/halla-1/g2p/codeshare/bcm/bcmconst.py<br>You just need to give it run number, device(sis3800,sis3801 or happex),upstream or downstream, clocktype(fast or slow clock), you can find the example and usage in that code(__main__ part). <br>

This code will read bcm constant from the spreadsheet which I posted in wiki one to two months ago(in <a href="https://hallaweb.jlab.org/wiki/index.php/G2p_BCM_calibration">https://hallaweb.jlab.org/wiki/index.php/G2p_BCM_calibration</a>), you canĀ  assign filename, or it will automatic download the file from the wiki.<br>

Also you will need to download odsread.py file in the same directory(/w/halla-1/g2p/codeshare/bcm/odsread.py) which I wrote for reading ods file(openoffice spreadsheet), you can also use it to read any other ods files.<br>

If you find any bugs please let me know.<br>Thanks!<br clear="all"><div>Pengjia</div><br>