Python code for generating and uploading epu calbration tables to the undcontrol
IOC
- Start ipython session (
analysis
) %run -i maketable.py
- Develop the fits to data and determine paramters fr
set_EPUioc_table()
- if you encounter an issue with "memory" you may need to set the maximum sized array allow for EPICS. I am not sure if
!export....
command will work in ipython session. you may need to exit the session torun export EPICS_CA_MAX_ARRAY_BYTES=100000000
. - pyepics has not been imported as a fail safe. When ready, you will need to
import epics
testing w/ conversion of first harmonic data to third harmonic data without writing lookup values to the IOC table
`set_EPUioc_table('20190813_Gap_1stH_Phase28p5.csv', Emin=600, Emax=2000, Epts=22500, third_fm_first=True)`
writing lookup values to ioc table 6 with default setttings
`set_EPUioc_table('20190813_Gap_1stH_Phase28p5.csv',22500, 6, True)`