This file is indexed.

/usr/share/octave/packages/tisean-0.2.3/doc-cache is in octave-tisean 0.2.3-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
# doc-cache created by Octave 4.2.1
# name: cache
# type: cell
# rows: 3
# columns: 34
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 5
av_d2


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1915
 -- Function File: OUTPUT = av_d2 (D2_C2D_C1_OUT)
 -- Function File: OUTPUT = av_d2 (D2_C2D_C1_OUT, PARAMNAME, PARAMVALUE,
          ...)

     This program takes the output of d2, c2d or c1 and smooths it by
     averaging over a given interval.  It is also possible to specify
     the range of embedding dimensions to be smoothed.  This function
     makes most sense for the "d2" field of the d2 output or the output
     of c2d.  By default it only smooths field "d2" of the d2 output.

     Assuming the two column vectors of a matrix (one of the fields of
     the input struct) are R and D then one of the output matrices will
     be of the form:

           _                              _
          |                  __ a          |
          |            1    \              |
          |   r    ,  ----   |       d     |
          |_   i      2a+1  /__ j=-a  i-j _|

     *Input*

     The input needs to be the output of d2, c2d or c1.

     *Parameters*

     MINDIM
          Minimum dimension to smooth, this also determines the size of
          the output struct [default = 1].
     MAXDIM
          Maximum dimension to smooth (also determines size of output
          struct) [default = 1].
     A
          Smooth over an interval of '2 * a + 1' points [default = 1].

     *Switch*

     SMOOTHALL
          This switch makes only works for inputs that were generated by
          d2.  If this switch is set all of the fields of the input are
          smoothed and not just field "d2".

     *Output*

     The output is a struct array, which is a subarray of the input.
     The indexes used to create the subarray are MINDIM:MAXDIM.  Some or
     all of the fields of this output have been smoothed (depending on
     the SMOOTHALL switch).

     See also: demo av_d2, d2, c2t, c2g.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
This program takes the output of d2, c2d or c1 and smooths it by
averaging over 



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 8
boxcount


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 2038
 -- Function File: OUTPUT = boxcount (S)
 -- Function File: OUTPUT = boxcount (S, PARAMNAME, PARAMVALUE, ...)

     Estimates the Renyi entropy of Qth order using a partition of the
     phase space instead of using the Grassberger-Procaccia scheme.

     The program also can handle multivariate data, so that the phase
     space is build of the components of the time series plus a temporal
     embedding, if desired.  Also, note that the memory requirement does
     not increase exponentially like 1/epsilon^M but only like M*(length
     of series).  So it can also be used for small epsilon and large M.
     No finite sample corrections are implemented so far.

     *Input*

     S
          This function always assumes that each time series is along
          the longer dimension of matrix S.  It also assumes that every
          dimension (counting along the shorter dimension) of S is
          considered a component of the time series.

     *Parameters*

     M
          The maximum embedding dimension [default = 10].
     D
          The delay used [default = 1].
     Q
          Order of the entropy [default = 2.0].
     RLOW
          Minimum length scale [default = 1e-3].
     RHIGH
          Maximum length scale [default = 1].
     EPS_NO
          Number of length scale values [default = 20].

     *Output*

     The output is alligned with the input.  If the input components
     where column vectors then the output is a
     maximum-embedding-dimension x number-of-components struct array
     with the following fields:
     DIM
          Holds the embedding dimension of the struct.
     ENTROPY
          The entropy output.  Contains three columns which hold:
            1. epsilon
            2. Qth order entropy (Hq (dimension,epsilon))
            3. Qth order differential entropy (Hq (dimension,epsilon) -
               Hq (dimension-1,epsilon))

     See also: demo boxcount, d2, c1.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
Estimates the Renyi entropy of Qth order using a partition of the phase
space in



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 2
c1


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 2110
 -- Function File: OUTPUT = c1 (S)
 -- Function File: OUTPUT = c1 (S, PARAMNAME, PARAMVALUE, ...)

     Computers curves for the fixed mass computation of information
     dimension (mentioned in TISEAN 3.0.1 documentation).

     A logarithmic range of masses between 1/N and 1 is realised by
     varying the neighbour order k as well as the subsequence length n.
     For a given mass k/n, n is chosen as small is possible as long as k
     is not smaller than the value specified by parameter K .

     You will probably use the auxiliary functions c2d or c2t to process
     the output further.  The formula used for the Gaussian kernel
     correlation sum does not apply to the information dimension.

     *Input*

     S
          This function always assumes that each time series is along
          the longer dimension of matrix S.  It also assumes that every
          dimension (counting along the shorter dimension) of S is
          considered a component of the time series.

     *Parameters*

     MINDIM
          The minimum embedding dimension [default = 1].
     MAXDIM
          The maximum embedding dimension [default = 10].
     D
          The delay used [default = 1].
     T
          Minimum time separation [default = 0].
     N
          The number of reference points.  That number of points are
          selected at random from all time indices [default = 100].
     RES
          Resolution, values per octave [default = 2].
     I
          Seed for the random numbers [use default seed].
     K
          Maximum number of neighbors [default = 100].

     *Switch*

     VERBOSE
          Display information about current mass during execution.

     *Output*

     The output is a MAXDIM - MINDIM + 1 x 1 struct array with the
     following fields:
     DIM
          The embedding dimension of the struct.
     C1
          A matrix with two collumns that contain the following data:
            1. radius
            2. 'mass'

     See also: demo c1, c2d, c2t.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
Computers curves for the fixed mass computation of information dimension
(mentio



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 3
c2d


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 804
 -- Function File: OUTPUT = c2d (C1_OUT)
 -- Function File: OUTPUT = c2d (C1_OUT, IAV)

     This program calculates the local slopes by fitting straight lines
     onto c1 correlation sum data (the 'c1' field of the c1 output).

     *Inputs*

     C1_OUT
          The output of function c1.
     IAV
          Set what range the average should be calculated on (-IAV, ...,
          +IAV) [default = 1].

     *Output*

     The output is a struct array of the same length as the input.  It
     contains the following fiels:

     DIM
          The dimension for each matrix D.
     D
          Contains the local slopes of the logarithm of the correlation
          sum.

     See also: c1, d2.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
This program calculates the local slopes by fitting straight lines onto
c1 corre



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 3
c2g


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1323
 -- Function File: OUTPUT = c2g (D2_OUT)

     This program calculates the Gaussian kernel correlation integral
     and its logarithmic derivatice from correlation sums calculated by
     d2 (the 'c2' field of the d2 output).

     It uses the following formula to calculate the Gaussian kernel
     correlation integral:

                       /00            2
                   1   |        /    x   \
          C (r) = ---  | dx exp |- ----- | x C(x)
           G        2  |        \     2  /
                   r   /0           2r

     And the logarithmic derivative is calculated using:

                     d
          D (r) = ------- log C (r)
           G      d log r      G

     *Input*

     The input needs to be the output of d2.

     *Output*

     The output is a struct array of the same length as the input.  It
     contains the following fiels:

     DIM
          The dimension for each matrix G.
     G
          Matrix with three columns.  The first contains epsilon (the
          first column of field 'c2' from the d2 output), the second is
          the Gaussian kernel correlation integral and the third its
          logarithmic derivative.

     See also: demo c2g, d2, c2t, av_d2.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
This program calculates the Gaussian kernel correlation integral and its
logarit



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 3
c2t


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1234
 -- Function File: OUTPUT = c2t (D2_C1_OUT)

     This program calculates the maximum likelihood estimator (the
     Takens' estimator) from correlation sums of the output of d2 (the
     'c2' field of the d2 output) or c1 (the 'c1' field of c1 output).

     The estimator is calculated using the following equation (the
     integral is computed for the discrete values of C(r) by assuming an
     exact power law between the available points):

                      C(r)
          D (r) = ------------
           T       /r    C(x)
                   |  dx ----
                   /0     x

     *Input*

     The input needs to be the output of d2 or c1.

     *Output*

     The output is a struct array of the same length as the input.  It
     contains the following fiels:

     DIM
          The dimension for each matrix T.
     T
          Matrix with two columns.  The first contains epsilon (the
          first column of field 'c2' from d2 output or field 'c1' from
          c1 output) and the second is the maximum likelihood estimator
          (Takens' estimator).

     See also: demo c2t, d2, c1, c2g, av_d2.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
This program calculates the maximum likelihood estimator (the Takens'
estimator)



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 2
d2


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 3573
 -- Function File: [VALUES, PARS] = d2 (S)
 -- Function File: [VALUES, PARS] = d2 (S, PARAMNAME, PARAMVALUE, ...)

     This program estimates the correlation sum, the correlation
     dimension and the correlation entropy of a given, possibly
     multivariate, data set.  It uses the box assisted search algorithm
     and is quite fast as long as one is not interested in large length
     scales.  All length scales are computed simultaneously and the
     current center and epsilon are written every 2 min (real time, not
     cpu time) or every set number of center value increases.  It is
     possible to set a maximum number of pairs.  If this number is
     reached for a given length scale, the length scale will no longer
     be treated for the rest of the estimate.

     *Input*

     S
          This function always assumes that each time series is along
          the longer dimension of matrix S.  It also assumes that every
          dimension (counting along the shorter dimension) of S is
          considered a component of the time series.

     *Parameters*

     M
          The maximum embedding dimension [default = 10].
     D
          The delay used [default = 1].
     T
          Theiler window [default = 0].
     RLOW
          Minimum length scale [default = 1e-3].
     RHIGH
          Maximum length scale [default = 1].
     EPS_NO
          Number of length scale values [default = 100].
     N
          Maximum number of pairs to be used (value 0 means all possible
          pairs) [default = 1000].
     P
          This parameter determines after how many iterations (center
          points) should the program pause and write out how many center
          points have been treated so far and the current epsilon.  If
          PLOT_CORR or PLOT_SLOPES or PLOT_ENTROP is set then during the
          pause a plot of the current state of C2, D2 or H2
          (respectively) is produced.  Regardless of the value of this
          parameter the program will pause every two minutes [default =
          only pause every 2 minutes].

     *Switches*

     NORMALIZED
          When this switch is set the program uses data normalized to
          [0,1] for all components.
     PLOT_CORR
          If this switch is set then whenever the execution is paused
          (the frequency can be set with parameter P) the most recent
          correlation sums are plotted.  The color used for them is
          blue.
     PLOT_SLOPES
          Same as PLOT_CORR except the plotted values are the local
          slopes.  They are plotted in red.
     PLOT_ENTROP
          Same as PLOT_CORR except the correlation entropies are
          plotted.  They are plotted in green.

     *Output*

     VALUES
          This is a struct array that contains the following fields:
             * dim - the dimension of the data
             * c2 - the first column is the epsilon and the second the
               correlation sums for a particular embedding dimension
             * d2 - the first column is the epsilon and the second the
               local slopes of the logarithm of the corrlation sum
             * h2 - the first column is the epsilon and the second the
               correlation entropies
     PARS
          This is a struct.  It contains the following fields:
             * treated - the number of center points treated
             * eps - the maximum epsilon used

     See also: demo d2, av_d2, c2t, c2g.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
This program estimates the correlation sum, the correlation dimension
and the co



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 5
delay


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 2158
 -- Function File: OUTPUT = delay (S)
 -- Function File: OUTPUT = delay (S, PARAMNAME, PARAMVALUE, ...)

     Produce delay vectors

     *Input*

     S
          This function always assumes that each time series is along
          the longer dimension of matrix S.  It also assumes that every
          dimension (counting along the shorter dimension) of S is
          considered a component of the time series.  So

               S = [[1:1000];[5:1004]]

          would be considered a 2 component, 1000 element time series.
          Thus a typical call of 'henon' requires to choose one column
          of it.  For instance:

               res = henon (5000);
               delay (res(:,1));


     *Parameters*

     D
          Delay of the embedding vector.  Can be either a vector of
          delays or a single value.  Replaces flags '-d' and '-D' from
          TISEAN package.  Example

               delay ([1:10], 'd', [2,4], 'm', 3)

          This input will produce a delay vetor of the form

               (X(i),X(i-2),X(i-2-4))

          It is important to remember to keep (lenght of 'D') == (value
          of flag '-M' from TISEAN == number of components of (S))
          whenever parameter 'D' is a vector.
     F
          The format of the embedding vector.  Replaces flag '-F' from
          TISEAN. Example (assuming A and B are column vectors of the
          same length)

               delay ([A,B], 'f', [3,2])

          This input will produce a delay vector in the form

               (A(i),A(i-1),A(i-2),B(i),B(i-1))

     M
          The embedding dimension.  Replaces flag '-m' from TISEAN. Must
          be scalar integer.  Also it needs to be integer multiple of
          number of components of (S) or else 'F' needs to be set.  The
          following two examples are equivalent calls (A, B, C are
          column vectors of the same size)

               delay ([A,B,C], 'm', 9)
               delay ([A,B,C], 'f', [3,3,3])


     *Output*

     Produces a matrix that contains delay vectors.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 21
Produce delay vectors



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 8
endtoend


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 2732
 -- Function File: OUTPUT = endtoend (S)
 -- Function File: OUTPUT = endtoend (..., 'verbose', ...)
 -- Function File: OUTPUT = endtoend (..., WEIGTH_JUMP, ...)

     Determine the effect of an end-to-end mismatch on the
     autocorrelation structure for various sub-sequence lengths.

     It is important to avoid jumps and phase slips that occur when the
     data is periodically continued when making Fourier based
     surrogates, e.g.  with surrogates.

     The mismatch in value is measured by:
                    /           \ 2
                    | x(1)-x(N) |
                    \           /
          d     = __________________
           jump     __
                   \   /      _ \ 2
                    |  | x(n)-x |
                   /__ \        /

     And the phase slip by:
                   /                           \ 2
                   | (x(2)-x(1))-(x(N)-x(N-1)) |
                   \                           /
          d     = _________________________________
           slip        __
                      \   /      _ \ 2
                       |  | x(n)-x |
                      /__ \        /

     The weighted mismatch is then:
                weight*d     + (1-weight)*d
                        jump               slip

     In the multivariate case, the values are computed for each channel
     separately and then averaged.

     *Inputs*

     S
          This function always assumes that each time series is along
          the longer dimension of matrix S.  It also assumes that every
          dimension (counting along the shorter dimension) of S is
          considered a component of the time series.
     WEIGHT_JUMP
          The weight used [default = 0.5].

     *Switch*

     VERBOSE
          If this switch is set the output will be displayed on the
          screen in readible format.

     *Output*

     OUTPUT
          The output is a struct array that contains the following
          fields:
             * length - the length of the series used in calculating the
               mismatch
             * offset - the offset (counting from the first element) of
               the subseries used to calculate the mismatch
             * lost - percent of the of the original series that was
               lost (not used)
             * jump - the mismatch in value (given as percentage)
             * slip - the phase slip (given as percentage)
             * weigthed - the weigthed mismatch (given as percentage)
          Each consecutive structure in this array has an increasingly
          lower weighted mismatch

     See also: surrogates.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
Determine the effect of an end-to-end mismatch on the autocorrelation
structure 



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 13
false_nearest


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1918
 -- Function File: [DIM, FRAC, AVGSIZE, AVGSRTSIZE] = false_nearest (S)
 -- Function File: ... = false_nearest (S, PARAMNAME, PARAMVALUE, ...)

     Determines the fraction of false nearest neighbors.

     *Input*

     S
          This function always assumes that each time series is along
          the longer dimension of matrix S.  It also assumes that every
          dimension (counting along the shorter dimension) of S is
          considered a component of the time series.  So

               S = [[1:1000];[5:1004]]

          would be considered a 2 component, 1000 element time series.

     *Parameters*

     MINEMB
          This is the flag '-m' from TISEAN. It is the minimal embedding
          dimensions of the vectors [default = 1].
     MAXEMB
          This parameter is consistent with the second part of the flag
          '-M' from TISEAN. The first part of that flag is unnecessary
          as this function assumes that all components of the input data
          are used.  This parameter determines the maximum embedding
          dimension of the vectors [default = 5].
     D
          The delay of the vectors [default = 1].
     T
          The theiler window [default = 0].
     F
          Ratio factor [default = 2.0].

     *Switches*

     VERBOSE
          If this switch is selected the function will give progress
          reports along the way.

     *Outputs*

     DIM
          This holds the dimension of the output data.
     FRAC
          The fraction of false nearest neighbors.
     AVGSIZE
          The average size of the neighborhood.
     AVGRTSIZE
          The average of the squared size of the neighborhood.

     See also:
     http://www.mpipks-dresden.mpg.de/~tisean/Tisean_3.0.1/docs/docs_c/false_nearest.html
     or demo for more information.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 51
Determines the fraction of false nearest neighbors.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 5
ghkss


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1636
 -- Function File: OUTPUT = ghkss (S)
 -- Function File: OUTPUT = ghkss (S, PARAMNAME, PARAMVALUE, ...)

     Multivariate noise reduction using the GHKSS algorithm.

     *Input*

     S
          This function always assumes that each time series is along
          the longer dimension of matrix S.  It also assumes that every
          dimension (counting along the shorter dimension) of S is
          considered a component of the time series.

     *Parameters*

     M
          The embedding dimension used.  It is synonymous to the second
          part of flag '-m' from TISEAN. The first part of the TISEAN
          flag is omitted as all of the available components of S are
          analyzed.  [default = 1].
     D
          The delay for the embedding [default = 1].
     Q
          Dimension of the manifold to project to [default = 2].
     K
          Minimal number of neighbours [default = 50].
     R
          Minimal size of neighbourhood [default = 1/1000].
     I
          Number of iterations [default = 1].

     *Switches*

     EUCLIDEAN
          When this switch is selected the function will use the
          euclidean metric instead of the tricky one.
     VERBOSE
          If this switch is selected the function will give progress
          reports along the way.  Those include the average correction,
          trend and how many points were corrected for which epsilon.

     *Output*

     The OUTPUT contains the cleaned time series.  The output is of the
     same size as the input.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 55
Multivariate noise reduction using the GHKSS algorithm.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 5
henon


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 972
 -- Function File: OUTPUT_ARRAY = henon (L, ...)
 -- Function File: OUTPUT_ARRAY = henon (L, PARAMNAME, PARAMVALUE, ...)

     Generate Henon map

          x(n+1) = 1 - a * x(n) * x(n) + b * y(n)
          y(n+1) = x(n)

     *Input*

     L
          The number of points (x,y), must be integer.  Required value.

     *Parameters*

     A
          Defines parameter 'a' (default=1.4)
     B
          Defines parameter 'b' (default=0.3)
     X
          Initial 'x' (default=0.68587)
     Y
          Initial 'y' (defaul=0.65876)
     NTRANS
          Defines number of transient points (default=10000), must be
          positive integer scalar

     *Output*

     OUTPUT_ARRAY is of length L.  It contains points on the Henon Map.

     *Usage example*

     'out = henon(1000, "a", 1.25)'

     After this command OUT will be a 1000x2 matrix with Henon map
     points as rows.  It will generate 1000 points.

     *Algorithm*
     On basis of TISEAN package henon


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 18
Generate Henon map



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 5
ikeda


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1294
 -- Function File: OUTPUT_ARRAY = ikeda (L, ...)
 -- Function File: OUTPUT_ARRAY = ikeda (L, PARAMNAME, PARAMVALUE, ...)

     Generate Ikeda map

                                                b*i
          z(n+1) = 1 + c * z(n) * exp (a*i - ---------)
                                             1+|z(n)|

     *Input*

     L
          The number of points (x,y), must be integer.  Required value.

     *Parameters*

     A
          Defines parameter 'a' (default=0.4)
     B
          Defines parameter 'b' (default=6.0)
     C
          Defines parameter 'c' (default=0.9)
     R
          Initial real value of 'z' (default=0.68587)
     I
          Initial imaginary value of 'z' (defaul=0.65876)
     NTRANS
          Defines number of transient points (default=10000), must be
          positive integer scalar

     *Output*

     OUTPUT is of length L.  The first columns are the real values of
     the Ikeda Map and the second are the imaginary values of the Ikeda
     map.  This is done to be work the same way that 'ikeda' in TISEAN
     works.

     *Usage example*

     'out = ikeda(1000, "a", 1.25)'

     After this command OUT will be a 1000x2 matrix with Henon map
     points as rows.  It will generate 1000 points.

     *Algorithm* On basis of TISEAN package ikeda


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 18
Generate Ikeda map



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 6
lfo_ar


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 2328
 -- Function File: OUTPUT = lzo_gm (S)
 -- Function File: OUTPUT = lzo_gm (S, PARAMNAME, PARAMVALUE, ...)

     This program makes a local linear ansatz and estimates the one step
     prediction error of the model.  The difference to lfo-test is that
     it does it as a function of the neighborhood size.  The name
     "lzo_ar" means 'local first order -> AR-model'.

     *Input*

     S
          This function always assumes that each time series is along
          the longer dimension of matrix S.  It also assumes that every
          dimension (counting along the shorter dimension) of S is
          considered a component of the time series.

     *Parameters*

     M
          The embedding dimension used.  It is synonymous to the second
          part of flag '-m' from TISEAN. The first part of the TISEAN
          flag is omitted as all of the available components of S are
          analyzed [default = 1].
     D
          Delay used for the embedding [default = 1].
     I
          For how many points should the error be calculated [default =
          length (S)].
     RLOW
          The neighborhood size to start with [default = 1e-3].
     RHIGH
          The neighborhood size to end with [default = 1].
     F
          Factor to increase neighborhood size if not enough neighbors
          were found [default = 1.2].
     S
          Steps to be forecast 'x(n+s) = f(x(n))' [default = 1].
     C
          Width of causality window [default = value of parameter S]

     *Output*

     The output is alligned with the input.  If the components of the
     input(S) were column vectors then the number of columns of the
     output is 4 + number of components of S.  In this case the output
     will have the following values in each row:
        * Neighborhood size (units of data)
        * Relative forecast error ((forecast error)/(variance of data))
        * Relative forecast error for the individual components of the
          input, this will take as many columns as the input has
        * Fraction of points for which neighbors were found for this
          neighborhood size
        * Average number of neighbors found per point

     See also: demo lfo_ar, lfo_test, lfo_run.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
This program makes a local linear ansatz and estimates the one step
prediction e



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 7
lfo_run


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1811
 -- Function File: OUTPUT = lfo_run (S)
 -- Function File: OUTPUT = lfo_run (S, PARAMNAME, PARAMVALUE, ...)

     This function depending on whether switch 'zeroth' is set produces
     either a local linear ansatz or a zeroth order ansatz for a
     possibly multivariate time series and iterates an artificial
     trajectory.  The initial values for the trajectory are the last
     points of the original time series.  Thus it actually forecasts the
     time series.

     *Input*

     S
          This function always assumes that each time series is along
          the longer dimension of matrix S.  It also assumes that every
          dimension (counting along the shorter dimension) of S is
          considered a component of the time series.

     *Parameters*

     M
          The embedding dimension used.  It is synonymous to the second
          part of flag '-m' from TISEAN. The first part of the TISEAN
          flag is omitted as all of the available components of S are
          analyzed [default = 1].
     D
          Delay used for the embedding [default = 1].
     L
          Number of iterations into the future, length of prediction
          [default = 1000].
     K
          Minimal number of neighbors for the fit [default = 30].
     R
          Neighborhood size to start with [default = 1e-3].
     F
          Factor to increase neighborhood size if not enough neighbors
          were found [default = 1.2].

     *Switch*

     ZEROTH
          Perform a zeroth order fit instead a local linear one.  This
          is synonymous with flag '-0' from TISEAN.

     *Output*

     Components of the forecasted time series.

     See also: lfo_test, lfo_ar, lzo_run.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
This function depending on whether switch 'zeroth' is set produces
either a loca



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 8
lfo_test


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 2495
 -- Function File: [REL, IND] = lfo_test (S)
 -- Function File: [REL, IND] = lfo_test (S, PARAMNAME, PARAMVALUE, ...)

     Makes a local linear ansatz and estimates the one step prediction
     error of the model.  It allows to determine the optimal set of
     parameters for the program lfo-run, which iterates the local linear
     model to get a clean trajectory.  The given forecast error is
     normalized to the variance of the data.

     *Input*

     S
          This function always assumes that each time series is along
          the longer dimension of matrix S.  It also assumes that every
          dimension (counting along the shorter dimension) of S is
          considered a component of the time series.

     *Parameters*

     M
          The embedding dimension used.  It is synonymous to the second
          part of flag '-m' from TISEAN. The first part of the TISEAN
          flag is omitted as all of the available components of S are
          analyzed [default = 1].
     D
          Delay used for the embedding [default = 1].
     N
          Sets for how many points the error should be calculated
          [default is for all of the points].
     K
          Minimum number of neighbors for the fit [default = 30].
     R
          Size of neighbourhood to start with [default = 1/1000].
     F
          Factor to increase the neighbourhood size if not enough
          naighbors were found [default = 1.2].
     S
          Steps to be forecast 'x(n+s) = f(x(n))' [default = 1].
     C
          Width of causality window [default = value of parameter 'S'].

     *Outputs*

     REL
          This is a matrix of length equal to the parameter 'S'.  It
          contains the relative forecast error.  The first column (row
          depending on the input) contains the steps forecasted.
          Relative means that the forecast error is divided by the
          standard deviation of the vector component.  Note: This does
          output is different than that of lzo_test.  Here it gives
          relative forecast error for each component globally, not for
          each forecasted datapoint of each component.
     IND
          This is a matrix that contais the individual forecast error
          for each comonent of each reference point.  This is the same
          as passing '-V2' to TISEAN lfo-test.

     See also: lfo_ar, lfo_run.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
Makes a local linear ansatz and estimates the one step prediction error
of the m



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 6
lyap_k


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1815
 -- Function File: OUTPUT = lyap_k (X)
 -- Function File: OUTPUT = lyap_k (X, PARAMNAME, PARAMVALUE, ...)

     Estimates the maximum Lyapunov exponent using the algorithm
     described by Kantz on the TISEAN reference page:

     http://www.mpipks-dresden.mpg.de/~tisean/Tisean_3.0.1/docs/chaospaper/citation.html

     *Input*

     X
          Must be realvector.

     *Parameters*

     MMAX
          Maximum embedding dimension to use [default = 2].
     MMIN
          Minimum embedding dimension to use [default = 2].
     D
          Delay used [default = 1].
     RLOW
          Minimum length scale to search neighbors [default = 1e-3].
     RHIGH
          Maximum length scale to search neighbors [default = 1e-2].
     ECOUNT
          Number of length scales to use [default = 5].
     N
          Reference points to use [all].
     S
          Number of iterations in time [default = 50].
     T
          'theiler window' [default = 0].

     *Switch*

     VERBOSE
          Prints information about the current length scale at runtime.

     *Output*

     The output is a struct array of size:

     ''ecount' x ('mmax' - 'mmin' + 1)'

     It has the following fields:
        * 'eps' - holds the epsilon for the exponent
        * 'dim' - holds the embedding dimension used in exponent
        * 'exp' - contains the exponent data.  It consists of 3 columns:
            1. The number of the iteration
            2. The logarithm of the stretching factor (the slope is the
               Laypunov exponent if it is a straight line)
            3. The number of points for which a neighborhood with enough
               points was found

     See also: demo lyap_k, lyap_r, lyap_spec.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
Estimates the maximum Lyapunov exponent using the algorithm described by
Kantz o



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 6
lyap_r


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1364
 -- Function File: OUTPUT = lyap_r (X)
 -- Function File: OUTPUT = lyap_r (X, PARAMNAME, PARAMVALUE, ...)

     Estimates the largest Lyapunov exponent of a given scalar data set
     using the algorithm described by Resentein et al.  on the TISEAN
     refernce page:

     http://www.mpipks-dresden.mpg.de/~tisean/Tisean_3.0.1/docs/chaospaper/citation.html

     *Input*

     X
          Must be realvector.  The output will be alligned with the
          input.

     *Parameters*

     M
          Embedding dimension to use [default = 2].
     D
          Delay used [default = 1].
     T
          Window around the reference point which should be omitted
          [default = 0].
     R
          Minimum length scale for the neighborhood search [default =
          1e-3].
     S
          Number of iterations in time [default = 10].

     *Switch*

     VERBOSE
          Gives information about the current epsilon while performing
          computation.

     *Output*

     Alligned with input.  If input was a column vector than output
     contains two columns.  The first contains the iteration number and
     the second contains the logarithm of the stretching factor for that
     iteration.

     See also: demo lyap_r, lyap_k, lyap_spec.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
Estimates the largest Lyapunov exponent of a given scalar data set using
the alg



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 9
lyap_spec


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 2623
 -- Function File: [LYAP_EXP, PARS] = lyap_spec (S)
 -- Function File: [LYAP_EXP, PARS] = lyap_spec (S, PARAMNAME,
          PARAMVALUE, ...)

     Estimates the spectrum of Lyapunov exponents using the method of
     Sano and Sawada.

     *Input*

     S
          This function always assumes that each time series is along
          the longer dimension of matrix S.  It also assumes that every
          dimension (counting along the shorter dimension) of S is
          considered a component of the time series.

     *Parameters*

     M
          Embedding dimension [default = 2].
     D
          Currently unused, will be delay used in future.
     N
          Number of iterations [default = length (S)].
     R
          Minimum neighborhood size [default = 1e-3].
     F
          Factor to increase the size of the neighborhood if the program
          didn't find enough neighbors [default = 1.2].
     K
          Number of neighbors to use (this implementation uses exactly
          the number of neighbors specified, if more are found only the
          K nearest are used) [default = 30].
     P
          Specify after how many iteration should the current output be
          displayed.  This is useful for data sets that can take a long
          time.  Also, if the program runs longer than 10 seconds it
          will display the current state, regardless [default =
          calculate all of the data at once and don't intermediary
          steps].

     *Switch*

     INVERT
          Inverts the order of the time series.  Can help finding
          spurious exponents.

     *Output*

     The output is alligned with the components of the input.
     LYAP_EXP
          Assuming an input with column vectors this part of the output
          will consist of 'columns (S) * m + 1' columns (the 'm' stands
          for the embedding dimension).  The first column will be the
          iteration number and rest contain estimates of the Lyapunov
          exponents in decreasing order.
     PARS
          This is a struct that contains the following parameters
          associated with the calculated Lyapunov exponents:
             * rel_err - the relative error for every dimension of the
               input
             * abs_err - the absolute error for every dimension of the
               input
             * nsize - average neighborhood size
             * nno - average number of neighbors
             * ky_dim - estimated KY-Dimension

     See also: lyap_k, lyap_r.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
Estimates the spectrum of Lyapunov exponents using the method of Sano
and Sawada



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 6
lzo_gm


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 2245
 -- Function File: OUTPUT = lzo_gm (S)
 -- Function File: OUTPUT = lzo_gm (S, PARAMNAME, PARAMVALUE, ...)

     Estimates the average forecast error for a local constant (zeroth
     order) fit as a function of the neighborhood size.  The name
     "lzo_gm" means 'local zeroth order -> global mean'.

     *Input*

     S
          This function always assumes that each time series is along
          the longer dimension of matrix S.  It also assumes that every
          dimension (counting along the shorter dimension) of S is
          considered a component of the time series.

     *Parameters*

     M
          The embedding dimension used.  It is synonymous to the second
          part of flag '-m' from TISEAN. The first part of the TISEAN
          flag is omitted as all of the available components of S are
          analyzed [default = 1].
     D
          Delay used for the embedding [default = 1].
     I
          For how many points should the error be calculated [default =
          length (S)].
     RLOW
          The neighborhood size to start with [default = 1e-3].
     RHIGH
          The neighborhood size to end with [default = 1].
     F
          Factor to increase neighborhood size if not enough neighbors
          were found [default = 1.2].
     S
          Steps to be forecast 'x(n+s) = f(x(n))' [default = 1].
     C
          Width of causality window [default = value of parameter S]

     *Output*

     The output is alligned with the input.  If the components of the
     input(S) were column vectors then the number of columns of the
     output is 4 + number of components of S.  In this case the output
     will have the following values in each row:
        * Neighborhood size (units of data)
        * Relative forecast error ((forecast error)/(variance of data))
        * Relative forecast error for the individual components of the
          input, this will take as many columns as the input has
        * Fraction of points for which neighbors were found for this
          neighborhood size
        * Average number of neighbors found per point

     See also: lzo_test, lzo_run.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
Estimates the average forecast error for a local constant (zeroth order)
fit as 



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 7
lzo_run


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 2126
 -- Function File: OUTPUT = lzo_run (S)
 -- Function File: OUTPUT = lzo_run (S, PARAMNAME, PARAMVALUE, ...)

     This program fits a locally zeroth order model to a possibly
     multivariate time series and iterates the time series into the
     future.  The existing data set is extended starting with the last
     point in time.  It is possible to add gaussian white dynamical
     noise during the iteration.

     *Input*

     S
          This function always assumes that each time series is along
          the longer dimension of matrix S.  It also assumes that every
          dimension (counting along the shorter dimension) of S is
          considered a component of the time series.

     *Parameters*

     M
          The embedding dimension used.  It is synonymous to the second
          part of flag '-m' from TISEAN. The first part of the TISEAN
          flag is omitted as all of the available components of S are
          analyzed [default = 1].
     D
          Delay used for the embedding [default = 1].
     L
          Number of iterations into the future [default = 1000].
     K
          Minimal number of neighbors for the fit [default = 50].
     DNOISE
          Add dynamical noise as percentage of the variance, this value
          is given in percentage.  The same as flag '-%' from TISEAN
          [default = no noise (0)].
     I
          Seed for the random number generator used to add noise.  If
          set to 0 the time command is used to create a seed [default =
          0x9074325].
     R
          Neighborhood size to start with [default = 1e-3].
     F
          Factor to increase neighborhood size if not enough neighbors
          were found [default = 1.2].

     *Switch*

     ONLYNEAREST
          If this switch is set then the program uses only the nearest K
          neighbor found.  This is synonymous with flag '-K' from
          TISEAN.

     *Output*

     Components of the forecasted time series.

     See also: demo lzo_run, lzo_test, lzo_gm.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
This program fits a locally zeroth order model to a possibly
multivariate time s



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 8
lzo_test


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 2354
 -- Function File: [REL, IND] = lzo_test (S)
 -- Function File: [REL, IND] = lzo_test (S, PARAMNAME, PARAMVALUE, ...)

     Estimates the average forecast error for a zeroth order fit from a
     multidimensional time series

     *Input*

     S
          This function always assumes that each time series is along
          the longer dimension of matrix S.  It also assumes that every
          dimension (counting along the shorter dimension) of S is
          considered a component of the time series.

     *Parameters*

     M
          The embedding dimension used.  It is synonymous to the second
          part of flag '-m' from TISEAN. The first part of the TISEAN
          flag is omitted as all of the available components of S are
          analyzed [default = 1].
     D
          Delay used for the embedding [default = 1].
     N
          Sets for how many points the error should be calculated
          [default is for all of the points].
     TDIST
          Temporal distance between the reference points [default = 1].
     K
          Minimum number of neighbors for the fit [default = 30].
     R
          Size of neighbourhood to start with [default = 1/1000].
     F
          Factor to increase the neighbourhood size if not enough
          naighbors were found [default = 1.2].
     S
          Steps to be forecast 'x(n+s) = f(x(n))' [default = 1].
     C
          Width of causality window [default = value of parameter 'S'].

     *Switch*

     ONLYNEAREST
          If this switch is set then the program uses only the nearest K
          neighbor found.  This is synonymous with flag '-K' from
          TISEAN.

     *Outputs*

     REL
          This is a matrix of length equal to the parameter 'S'.  It
          contains the relative forecast error.  The first column (row
          depending on the input) contains the steps forecasted.
          Relative means that the forecast error is divided by the
          standard deviation of the vector component.
     IND
          This is a matrix that contais the individual forecast error
          for each comonent of each reference point.  This is the same
          as passing '-V2' to TISEAN lzo-test.

     See also: demo lzo_test, lzo_gm, lzo_run.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
Estimates the average forecast error for a zeroth order fit from a
multidimensio



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 3
pca


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 2152
 -- Function File: EIGVAL = pca (S)
 -- Function File: [EIGVAL, EIGVEC] = pca (S)
 -- Function File: [EIGVAL, EIGVEC, TS] = pca (S)
 -- Function File: [...] = pca (S, PARAMNAME, PARAMVALUE, ...)

     Performs a global principal component analysis (PCA). It gives the
     eigenvalues of the covariance matrix and depending on the flag W
     settings the eigenvectors, projections of the input time series.

     *Input*

     S
          This function always assumes that each time series is along
          the longer dimension of matrix S.  It also assumes that every
          dimension (counting along the shorter dimension) of S is
          considered a component of the time series.

     *Parameters*

     M
          Defines embedding dimension.  Since all of the data in S is
          analysed there is no need for setting the number of columns to
          be read (as is the case in TISEAN 'pca') [default = 1].
     D
          Delay must be scalar integer [default = 1].
     Q
          Determines the properties of TS.  When parameter W is set then
          Q determines the projection dimension.  Otherwise it
          determines the number of components written to output [default
          = full dimension/all components].

     *Switch*

     W
          If W is set then TS is a projection of the time series onto
          the first Q eigenvectors (global noise reduction).  If W is
          not set then TS is a transformation of the time series onto
          the eigenvector basis.  The number of projection
          dimension/components printed is determined by parameter Q.

     *Output*

     EIGVAL
          The calculated eigenvalues.
     EIGVEC
          The eigenvectors.  The vectors are alligned with the longer
          dimension of S.
     TS
          If W is set then this variable holds the projected time series
          onto the first Q eigenvectors.  If W is not set then TS is the
          transformed time series onto the eigenvector basis (number of
          components == parameter Q).

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 53
Performs a global principal component analysis (PCA).



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 8
poincare


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1343
 -- Function File: OUTPUT = poincare (X)
 -- Function File: OUTPUT = poincare (X, M, PARAMNAME, PARAMVALUE, ...)
 -- Function File: OUTPUT = poincare (..., 'FromAbove', ...)

     Make a Poincare section for time continuous scalar data sets along
     one of the coordinates of the embedding vector.

     *Input*

     X
          Must be realvector.  If it is a row vector then the output
          will be a matrix that consists of row vectors as well.

     *Parameters*

     M
          The embedding dimension used.  It is synonymous to flag '-m'
          from TISEAN [default = 2].
     D
          Delay used for the embedding [default = 1].
     Q
          Component for the crossing [default = value of parameter 'm'
          (last one)].
     A

     *Switch*

     FROMABOVE
          If this switch is set the crossing will occur from above,
          instead of from below.  This is equivalent to setting flag
          '-C1' from TISEAN.

     *Output*

     The output consists of the as many components as the value of
     parameter M (columns or rows depending on input).  The first 'M-1'
     are the coordinates of the vector at the crossing and the last
     component is the time between the last two crossings.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
Make a Poincare section for time continuous scalar data sets along one
of the co



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 7
polynom


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1432
 -- Function File: [PARS, FORECAST] = rbf (X)
 -- Function File: [PARS, FORECAST] = rbf (X, PARAMNAME, PARAMVALUE,
          ...)

     Models the data making a polynomial ansatz.

     *Input*

     X
          Must be realvector.  The output will be alligned with the
          input.

     *Parameters*

     M
          The embedding dimension.  Synonymous with flag '-m' from
          TISEAN [default = 2].
     D
          Delay used for embedding [default = 1].
     P
          Order of the polynomial [default = 2].
     N
          Number of points for the fit.  The other points are used to
          estimate the out of sample error [default = length (X)].
     L
          The length of the predicted series [default = 0].

     *Output*

     PARS
          This structure contains parameters used for the fit.  It has
          the following fields:
             * free - contains the number of free parameters of the fit
             * norm - contains the norm used for the fit
             * coeffs - contains the coefficients used for the fit
             * err - err(1) is the in sample error, and err(2) is the
               out of sample error (if it exists)
     FORECAST
          Contains the forecasted points.  It's length is equal to the
          value of parameter L

     See also: demo polynom.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 43
Models the data making a polynomial ansatz.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 3
rbf


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 2335
 -- Function File: [PAR, FORECAST] = rbf (X)
 -- Function File: [PAR, FORECAST] = rbf (X, PARAMNAME, PARAMVALUE, ...)

     This program models the data using a radial basis function (rbf)
     ansatz.  The basis functions used are gaussians, with center points
     chosen to be data from the time series.  If the 'DriftOff' switch
     is not set, a kind of Coulomb force is applied to them to let them
     drift a bit in order to distribute them more uniformly.  The
     variance of the gaussians is set to the average distance between
     the centers.  This program either tests the ansatz by calculating
     the average forecast error of the model, or makes a i-step
     prediction using the -L flag, additionally.  The ansatz made is:

          x_n+1 = a_0 SUM a_i * f_i(x_n)

     where x_n is the nth delay vector and f_i is a gaussian centered at
     the ith center point.

     *Input*

     X
          Must be realvector.  The output will be alligned with the
          input.

     *Parameters*

     M
          The embedding dimension.  Synonymous with flag '-m' from
          TISEAN [default = 2].
     D
          Delay used for embedding [default = 1].
     P
          Number of centers [default = 10].
     S
          Steps to forecast (for the forecast error) [default = 1].
     N
          Number of points for the fit.  The other points are used to
          estimate the out of sample error [default = length (X)].
     L
          Determines the length of the predicted series [default = 0].

     *Switch*

     DRIFTOFF
          Deactivates the drift (Coulomb force), which is otherwise on.

     *Output*

     PARS
          This structure contains parameters used for the fit.  It has
          the following fields:
             * centers - contains coordinates of the center points
             * var - variance used for the gaussians
             * coeffs - contains the coefficients (weights) of the basis
               functions used for the model
             * err - err(1) is the in sample error, and err(2) is the
               out of sample error (if it exists)
     FORECAST
          Contains the forecasted points.  It's length is equal to the
          value of parameter L

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 72
This program models the data using a radial basis function (rbf) ansatz.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 8
spectrum


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 728
 -- Function File: [FREQS, SPEC] = spectrum (X)
 -- Function File: [FREQS, SPEC] = spectrum (X, PARAMNAME, PARAMVALUE,
          ...)

     Produce delay vectors

     *Input*

     X
          Must be realvector.  The spectrum will be performed on it.

     *Parameters*

     F
          Frequency sampling rate in Hz [default = 1]
     W
          Frequency resolution in Hz [default = f / length (X)]

     *Output*

     FREQS
          The frequencies for the spectrum of vector X
     SPEC
          The spectrum of the input vector X

     *Example of Usage*


          spectrum (data_vector, 'f', 10, 'w', 0.001)


     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 21
Produce delay vectors



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 9
spikeauto


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1476
 -- Function File: output = spikeauto (X, BIN, BINTOT)
 -- Function File: output = spikeauto (..., 'INTER')

     Computes the binned autocorrelation function of a series of event
     times.

     The data is assumed to represent a sum of delta functions centered
     at the times given.  The autocorrelation function is then a double
     sum of delta functions which must be binned to be representable.
     Therfore, you have to choose the duration of a single bin (with
     argument BIN) and the maximum time lag (argument BINTOT)
     considered.

     *Inputs*

     S
          This function always assumes that each time series is along
          the longer dimension of matrix S.  It also assumes that every
          dimension (counting along the shorter dimension) of S is
          considered a component of the time series.
     BIN
          The duration of a single bin.
     BINTOT
          The maximum lag considered.

     *Switch*

     INTER
          Treat the input as inter-event intervals instead of the time
          at which the event occured.

     *Output*

     The output is alligned with the input.  If the input was a column
     vector the output will consist of two columns, the first holds
     information about which bin did the autocorellation fit into, and
     the second the number of autocorellations that fit into that bin.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 72
Computes the binned autocorrelation function of a series of event times.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 9
spikespec


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 2246
 -- Function File: output = spikespec (X)
 -- Function File: output = spikespec (X, PARAMNAME, PARAMVALUE, ...)

     Computes a power spectrum assuming that the data are the times of
     singular events, e.g.  heart beats.

     These events do not need to be in ascending order.  Furthermore,
     the input can be treated as inter-event intervals rather than time
     if switch INTER is set.

     If the event times are 't(n), n=1,...,l' the spectrum is defined by

                      l                    2
                   | ---                  |
                   | \     -i 2 pi f t(n) |
            S(f) = |  |  e                |
                   | /                    |
                   | ---                  |
                     n=1

     that is, the signal is taken to be a sum of delta functions at
     't(n)'.  'S(f)' is computed for parameter F_NO frequencies between
     0 and value of parameter F.  The result is binned down to a
     frequency resolution defined by parameter W.

     *Input*

     S
          This function always assumes that each time series is along
          the longer dimension of matrix S.  It also assumes that every
          dimension (counting along the shorter dimension) of S is
          considered a component of the time series.

     *Parameters*

     F
          The maximum frequency [default = 2 * length (X) / total time].
     F_NO
          Number of frequencies [default = F * total time / 2].
     W
          Frequency resolution [defualt = 0 - return all frequencies].

     *Switch*

     INTER
          Treat the input as inter-event intervals instead of the time
          at which the event occured.
     VERBOSE
          Write to standard output the value of the 'total time', number
          of frequencies used, the maximum frequency and how many
          frequencies are binned.

     *Output*

     The output is alligned with the input.  If the input was a column
     vector the output will consist of two columns, the first holds the
     frequencies to which the spectrum was binned and the second holds
     the calculated spectrum value.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
Computes a power spectrum assuming that the data are the times of
singular event



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 10
surrogates


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 2766
 -- Function File: [SURRO_DATA, PARS] = surrogates (S)
 -- Function File: [SURRO_DATA, PARS] = surrogates (S, PARAMNAME,
          PARAMVALUE, ...)

     Generates multivariate surrogate data (implements the iterative
     Fourier scheme).  Surrogate data is generated from a dataset with
     the aim of testing whether the dataset was generated by a given
     process (null hypothesis).  The Fourier scheme assumes that the
     dataset is the output of a Gaussian linear stochastic process.
     Surrogate data is generally used to test the null hypothesis.

     *Input*

     S
          This function always assumes that each time series is along
          the longer dimension of matrix S.  It also assumes that every
          dimension (counting along the shorter dimension) of S is
          considered a component of the time series.  It's length must
          be factorizable by only 2, 3 and 5.  If not the largest
          submatrix that fulfills this requirement will be used.  The
          function 'endtoend' can be used to determine what is the best
          submatrix for the data and then sending only that submatrix to
          this program.  Padding with zeros is *not* and option.

     *Parameters*

     N
          Sets the number of surrogates to be calculated.  Determines
          the form of the output (see Output section) [default = 1].
     I
          The maximum number of permutations.  Value '0' yields random
          permutations or if switch EXACT is set an unrescaled FFT
          surrogate.  Value '1' is a surrogate close to the result of
          the AAFT procedure, but not quite the same.  Value '-1' means
          the program will perform iterations until there is no change
          between them [default = -1].
     SEED
          Set the seed for the random generator [default = use default
          seed].

     *Switch*

     EXACT
          This switch makes the spectrum of the output exact rather than
          a distribution.

     *Outputs*

     SURRO_DATA
          If parameter 'n == 1' then this is a matrix that holds the
          surrogate data.  If parameter 'n > 1' then it is N x 1 cell
          array of matrixes with the data.  In both cases the matrixes
          themselves are alligned with the input.
     PARS
          This is a matrix of size N x 2 (if the input components were
          column vectors, otherwise transposed).  The first column
          contains the number of iteration it took to generate the I-th
          surrogate, whereas the second column is the relative
          discrepency for the I-th surrogate.

     See also: demo surrogates, endtoend.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
Generates multivariate surrogate data (implements the iterative Fourier
scheme).



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 7
timerev


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1200
 -- Function File: OUTPUT = timerev (S)
 -- Function File: OUTPUT = timerev (S, DELAY)

     Calculates time reversal assymetry statistic.

     Accomplishes this using the following equation applied to each
     component separately:

                          3
           sum (y  - y   )
                 n    n-d
          ------------------
                          2
           sum (y  - y   )
                 n    n-d

     *Input*

     S
          This function always assumes that each time series is along
          the longer dimension of matrix S.  It also assumes that every
          dimension (counting along the shorter dimension) of S is
          considered a component of the time series.
     DELAY
          The delay for the statistic ('d' in the equation above)
          [default = 1].

     *Output*

     The output is the calculated time reversal asymmetry statistic.  It
     is calculated for each component separately and is alligned with
     the components, so if the input's components were columns vectors
     the output will be a row vector and vice versa.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 45
Calculates time reversal assymetry statistic.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 3
upo


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 2520
 -- Function File: [OLENS, ORBIT_DATA, ACC, STAB] = upo (X, M)
 -- Function File: ... = upo (X, M, PARAMNAME, PARAMVALUE, ...)

     Locates unstable periodic points.

     Note: This function provides a wrapper for the original upo from
     TISEAN. The documentation to TISEAN states that upo has not been
     tested thoroughly and therefore might contain errors.  Since this
     function only provides a wrapper for the TISEAN upo any such errors
     will be inherited.  For more information consult the TISEAN
     documentation:
     http://www.mpipks-dresden.mpg.de/~tisean/Tisean_3.0.1/docs/docs_f/upo.html

     *Inputs*

     X
          Must be realvector.  If it is a row vector then the output
          will be row vectors as well.  Maximum length is 1e6.  This
          constraint existed in the TISEAN program and therefore it is
          inherited.  This should not be a problem as this program takes
          9 seconds for a 10000 element long noisy henon series.
     M
          Embedding dimension.  Must be scalar positive integer.

     *Parameters*

     Either R or V must be set and at least one must be different from
     zero.
     R
          Absolute kernel bandwidth.  Must be a scalar.
     V
          Same as fraction of standard deviation.
     MTP
          Minimum separation of trial points [default = value of 'r' OR
          std(data) * value of 'v'].
     MDO
          Minimum separation of distinct orbits [default = value of 'r'
          OR std(data) * value of 'v'].
     S
          Initial separation for stability [default = value of 'r' OR
          std(data) * value of 'v'].
     A
          Maximum error of orbit to be plotted [default = all plotted].
     P
          Period of orbit [default = 1].
     N
          Number of trials [default = numel (X)].

     *Outputs*

     OLENS
          A vector that contains the period lengths (sizes) for each
          orbit.
     ORBIT_DATA
          A vector that contains all of the orbit data.  To find data
          for the n-the orbit you need to:

               nth_orbit_data = orbit_data(sum(olens(1:n-1)).+(1:olens(n)));

     ACC
          A vector that contains the accuracy of each orbit.
     STAB
          A vector that contains the stability of each orbit.
     Note that

     'length (olens) == length (acc) == length (stab) #== number of
     orbits'.

     See also: demo upo, upoembed.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 33
Locates unstable periodic points.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 8
upoembed


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 971
 -- Function File: OUTPUT = upoembed (OLENS,ORBIT_DATA, DELAY)
 -- Function File: OUTPUT = upoembed (OLENS,ORBIT_DATA, DELAY,
          PARAMNAME, PARAMVALUE, ...)

     Creates delay coordinates for upo output.

     *Inputs*

     OLENS
          This vector contains the periods that are generated by upo.
     ORBIT_DATA
          The orbit data that is generated by upo.
     DELAY
          The delay used to get the delay coordinates.

     *Parameter*
     M
          The embedding dimension used [default = 2].
     P
          The period of the orbit to be extracted.  This may be a vector
          [default = extract all orbit periods].

     *Output*

     A cell that contains the delay vectors for each orbit.  The orbits
     are in the same order as they are in OLENS.  Can be converted to
     matrix using 'str2mat (output)'.

     See also: upo.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 41
Creates delay coordinates for upo output.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 5
xzero


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1588
 -- Function File: output = xzero (X1, X2)
 -- Function File: output = xzero (X1, X2, PARAMNAME, PARAMVALUE, ...)

     Takes two data sets and fits a zeroth order model of data set 1
     (X1) to predict data set 2 (X2) - cross prediction.  It then
     computes the error of the model.  This is done by searching for all
     neighbors in X1 of the points of set X2 which should be forecasted
     and taking as their images the average of the images of the
     neighbors.  The obtained forecast error is normalized to the
     variance of data set X2.

     *Inputs*

     Both X1 and X2 must be present.  They must be realvectors of the
     same length.

     *Parameters*

     M
          Embedding dimension [default = 3].
     D
          Delay for embedding [default = 1].
     N
          The number of points for which the error should be calculated
          [default = all].
     K
          Minimum number of neighbors for the fit [default = 30].
     R
          The neighborhood size to start with [default = 1e-3].
     F
          Factor by which to increase the neighborhood size if not
          enough neighbors were found [default = 1.2].
     S
          Steps to be forecast ('x2(n+steps) = av(x1(i+steps)') [default
          = 1].

     *Output*

     Contains value of parameter 'S' lines.  Each line represents the
     forecast error divided by the standard deviation of the second data
     set (X2).  This second data set is the one being forecasted.

     *Algorithms*

     The algorithms for this functions have been taken from the TISEAN
     package.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
Takes two data sets and fits a zeroth order model of data set 1 (X1) to
predict