Import the wg1220.Generator class or use the command line interface to talk to the M&R WG1220 waveform generator:
wg1220.Generator
$ python wg1220.py --frequency 100 --amplitude 1.5 --offset 0.25 --dutycycle 10