I've modified the __init.py__ file located at /ligo/apps/linux-x86_64/cdsutils-480/lib/python2.7/site-packages/cdsutils/__init__.py so that you can now simply import pyawg from cdsutils . On the control room workstations, iPython is set up such that cdsutils is automatically imported as "cds ". Now this import also includes the pyawg stuff. So to use some pyawg function, you would just do (for example):
exc=cds.awg.ArbitraryLoop(excChan,excit,rate=fs)
One could also explicitly do the import if cdsutils isn't automatically imported:
from cdsutils import awg
pyawg- away!
Linking this useful instructional elog from Chris here: https://nodus.ligo.caltech.edu:8081/Cryo_Lab/1748 |