/apps/python/2.7.6/lib/python2.7/site-packages/scipy/signal/signaltools.py:122: VisibleDeprecationWarning: `rank` is deprecated; use the `ndim` attribute or function instead. To find the rank of a matrix see `numpy.linalg.matrix_rank`.
if rank(in1) == rank(in2) == 0:
Run time warning: