pik-copan / pyunicorn

Unified Complex Network and Recurrence Analysis Toolbox
http://pik-potsdam.de/~donges/pyunicorn/
Other
195 stars 87 forks source link

rp.recurrence_rate is None #60

Closed JonasAbernot closed 9 years ago

JonasAbernot commented 9 years ago
import numpy as np
from pyunicorn.timeseries import RecurrencePlot

x = np.random.normal(size=1000)
rp = RecurrencePlot(x, dim=1, tau=1, metric='supremum',  normalize=False, threshold=0.2)
print rp.recurrence_rate

returns

None
ntfrgl commented 9 years ago

Which version are you using? I cannot reproduce this behaviour with HEAD.

During initialization, RecurrencePlot.supremum_distance_matrix() should be calculated, which involves weave code. Are you experiencing problems with other weave functions, too? Is there any other output?

JonasAbernot commented 9 years ago

Wop, Sorry, my version was from April, I updated to HEAD, updated netcdf4 and everything works. I don't know what happened.

By the way, thanks you for your work.

ntfrgl commented 9 years ago

Nice to hear!