SugiharaLab / pyEDM

Python package of EDM tools
Other
112 stars 29 forks source link

Using negative Tp values to investigate time delays #10

Closed 4rachelgreen closed 4 years ago

4rachelgreen commented 4 years ago

Hello, I am trying to replicate this example of quantifying time delays in causation from rEDM into pyEDM https://ha0ye.github.io/rEDM/articles/rEDM-time-delay-ccm.html However, I am getting errors in using negative Tp values. Parameters::Validate(): Tp must be positive. Is it possible to allow negative Tp values?

nonlinearnature commented 4 years ago

Hi Rachel- Thank you for bringing this to our attention. This should be possible, so we will investigate quickly.

nonlinearnature commented 4 years ago

Rachel can you please clarify which version of pyEDM you are using, as well as which specific function call is giving you that error?

4rachelgreen commented 4 years ago

I'm using version 1.2.0.0 and the ccm function.

nonlinearnature commented 4 years ago

Ah! If you update to the latest version (from the github or pyPI) you should be able to set a negative Tp in ccm().