Open lngdet opened 4 months ago
from pyrqa.time_series import TimeSeries from pyrqa.settings import Settings from pyrqa.analysis_type import Classic from pyrqa.neighbourhood import FixedRadius from pyrqa.metric import EuclideanMetric from pyrqa.computation import RQAComputation data_points = [0.1, 0.5, 1.3, 0.7, 0.8, 1.4, 1.6, 1.2, 0.4, 1.1, 0.8, 0.2, 1.3] time_series = TimeSeries(data_points, embedding_dimension=2, time_delay=2) settings = Settings(time_series, analysis_type=Classic, neighbourhood=FixedRadius(0.65), similarity_measure=EuclideanMetric, theiler_corrector=1) computation = RQAComputation.create(settings, verbose=True) result = computation.run() result.min_diagonal_line_length = 2 result.min_vertical_line_length = 2 result.min_white_vertical_line_length = 2 print(result)
Whey I run the exact code given under the
Usage
section of the README (see below), i get an error:I get this error:
The version of pyrqa i'm using is: 8.1.0, installed using
pip install pyrqa==8.1.0