| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3.12.7 STFA
- Method on
mglGraph(C++, Python):voidSTFA (const mglData &x,const mglData &y,const mglData &re,const mglData &im,intdn,const char *sch="",floatzVal=NAN) - C function:
voidmgl_stfa_xy (HMGLgr,const HMDTx,const HMDTy,const HMDTre,const HMDTim,intdn,const char *sch,floatzVal) Draws spectrogram of complex array re+i*
imfor Fourier size of dn points at plane z=zVal. Parameter dn is arbitrary even integer. For example in 1D case, result is density plot of data res[i,j]=|\sum_d^dn exp(I*j*d)*(re[i*dn+d]+I*im[i*dn+d])|/dn with size {int(nx/dn), dn, ny}. At this array re, im parametrically depend on coordinates x, y. String sch sets the color scheme. Previous color scheme is used by default. The size of re and im must be the same. The minor dimensions of arrays x, y, re should be equal. Arrays x, y can be vectors (not matrix as re). See section STFA sample, for sample code and picture.
- Method on
mglGraph(C++, Python):voidSTFA (const mglData &re,const mglData &im,intdn,const char *sch="",floatzVal=NAN) - C function:
voidmgl_stfa (HMGLgr,const HMDTre,const HMDTim,intdn,const char *sch,floatzVal) The same as previous with x, y equidistantly distributed in interval [Min, Max].
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
