Version: 1.7.0 (using KDE 4.0.1) Compiler: Fedora 6 OS: Linux //access the CorssPowerSpectrum Clas kst> c=CrossPowerSpectrum CrossPowerSpectrum //set the inputs kst> c.v1=v; Vector kst> c.v2=v; Vector kst> c.length=new Scalar(10) Scalar kst> c.sample=new Scalar(10) Scalar //validate the inputs, returns false kst> c.validate() false //The property valid is undefined kst> c.valid undefined
You also need to set the output vectors, e.g: c.real="rl" c.imaginary="im" c.frequency="fr"