add accessor macros for cpx types
re-jig the spectrum analyzer examples