Monday, January 20, 2014

SR850 lock-in amplifier, with PyVISA

It's a breeze, as always, to connect instruments to Python. This is a PyVISA sub-class that you can use with an SR850 lock-in amplifier.



 Here is how to use these utility functions to measure a noise spectrum with the SR850. (Watch out for the dynamic reserve when making noise measurements!)

Thursday, January 16, 2014

RLC circuit tuner

I got bored of calculating resonances by hand, so here's a tuner for an RLC circuit. The transfer function is the ratio of the voltage across $R_L$ to the input voltage.

 

 RLC circuit tuner