edgeofpy 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
edgeofpy/__init__.py ADDED
@@ -0,0 +1,77 @@
1
+ """edgeofpy: tools for assessing the distance to criticality in brain
2
+ dynamics."""
3
+
4
+ from importlib.metadata import version, PackageNotFoundError
5
+
6
+ from edgeofpy.avalanche import (detect_avalanches,
7
+ plot_pdf,
8
+ plot_cdf,
9
+ fit_powerlaw,
10
+ fit_third_exponent,
11
+ dcc,
12
+ shape_collapse_error,
13
+ lattice_search,
14
+ dcc_collapse,
15
+ dcc_collapse_2,
16
+ avl_repertoire,
17
+ avl_pattern_dissimilarity,
18
+ avl_branching_ratio,
19
+ branching_ratio,
20
+ susceptibility,
21
+ fano_factor,
22
+ )
23
+ from edgeofpy.chaos import (z1_chaos_test,
24
+ chaos_pipeline,
25
+ lambda_max,
26
+ minmaxsig,
27
+ schreiber_denoise,
28
+ )
29
+ from edgeofpy.synchrony import (pcf,
30
+ pli,
31
+ ple,
32
+ complex_phase_relationship,
33
+ phase_locking,
34
+ phase_lock_interval,
35
+ global_lability,
36
+ detect_phase_avls,
37
+ detect_phase_avls_full,
38
+ )
39
+ from edgeofpy.ising import (fit_pmem,
40
+ fit_beta,
41
+ sk_diagram,
42
+ metropolis,
43
+ plot_sk,
44
+ ht_diagram,
45
+ ising_energy,
46
+ heat_capacity,
47
+ energy_landscape_2d,
48
+ )
49
+ from edgeofpy.utils import (binarized_events,
50
+ time_bin_events,
51
+ )
52
+
53
+ try:
54
+ __version__ = version('edgeofpy')
55
+ except PackageNotFoundError: # not installed, e.g. run from a source checkout
56
+ __version__ = 'unknown'
57
+
58
+ __all__ = [
59
+ # avalanche
60
+ 'detect_avalanches', 'plot_pdf', 'plot_cdf', 'fit_powerlaw',
61
+ 'fit_third_exponent', 'dcc', 'shape_collapse_error', 'lattice_search',
62
+ 'dcc_collapse', 'dcc_collapse_2', 'avl_repertoire',
63
+ 'avl_pattern_dissimilarity', 'avl_branching_ratio', 'branching_ratio',
64
+ 'susceptibility', 'fano_factor',
65
+ # chaos
66
+ 'z1_chaos_test', 'chaos_pipeline', 'lambda_max', 'minmaxsig',
67
+ 'schreiber_denoise',
68
+ # synchrony
69
+ 'pcf', 'pli', 'ple', 'complex_phase_relationship', 'phase_locking',
70
+ 'phase_lock_interval', 'global_lability', 'detect_phase_avls',
71
+ 'detect_phase_avls_full',
72
+ # ising
73
+ 'fit_pmem', 'fit_beta', 'sk_diagram', 'metropolis', 'plot_sk',
74
+ 'ht_diagram', 'ising_energy', 'heat_capacity', 'energy_landscape_2d',
75
+ # utils
76
+ 'binarized_events', 'time_bin_events',
77
+ ]