fSTG-Toolkit 1.0.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.
Files changed (44) hide show
  1. fstg_toolkit/__init__.py +56 -0
  2. fstg_toolkit/__main__.py +787 -0
  3. fstg_toolkit/_docker_utils.py +200 -0
  4. fstg_toolkit/app/__init__.py +32 -0
  5. fstg_toolkit/app/assets/common.js +138 -0
  6. fstg_toolkit/app/assets/custom.css +68 -0
  7. fstg_toolkit/app/core/__init__.py +32 -0
  8. fstg_toolkit/app/core/color.py +94 -0
  9. fstg_toolkit/app/core/config.py +126 -0
  10. fstg_toolkit/app/core/datafilesdb.py +267 -0
  11. fstg_toolkit/app/core/geometry.py +464 -0
  12. fstg_toolkit/app/core/processing.py +468 -0
  13. fstg_toolkit/app/core/utils.py +129 -0
  14. fstg_toolkit/app/figures/__init__.py +32 -0
  15. fstg_toolkit/app/figures/data.py +63 -0
  16. fstg_toolkit/app/figures/frequent.py +160 -0
  17. fstg_toolkit/app/figures/matrices.py +110 -0
  18. fstg_toolkit/app/figures/metrics.py +88 -0
  19. fstg_toolkit/app/figures/subject.py +357 -0
  20. fstg_toolkit/app/fstg_view.py +150 -0
  21. fstg_toolkit/app/pages/dashboard.py +81 -0
  22. fstg_toolkit/app/pages/home.py +126 -0
  23. fstg_toolkit/app/pages/list.py +180 -0
  24. fstg_toolkit/app/pages/submit.py +257 -0
  25. fstg_toolkit/app/views/__init__.py +0 -0
  26. fstg_toolkit/app/views/common.py +83 -0
  27. fstg_toolkit/app/views/data.py +133 -0
  28. fstg_toolkit/app/views/frequent.py +155 -0
  29. fstg_toolkit/app/views/matrices.py +105 -0
  30. fstg_toolkit/app/views/metrics.py +120 -0
  31. fstg_toolkit/app/views/subject.py +210 -0
  32. fstg_toolkit/factory.py +442 -0
  33. fstg_toolkit/frequent.py +415 -0
  34. fstg_toolkit/graph.py +418 -0
  35. fstg_toolkit/io.py +1723 -0
  36. fstg_toolkit/logging.yml +23 -0
  37. fstg_toolkit/metrics.py +415 -0
  38. fstg_toolkit/simulation.py +725 -0
  39. fstg_toolkit/utils.py +135 -0
  40. fstg_toolkit/visualization.py +918 -0
  41. fstg_toolkit-1.0.0.dist-info/LICENSE +515 -0
  42. fstg_toolkit-1.0.0.dist-info/METADATA +231 -0
  43. fstg_toolkit-1.0.0.dist-info/RECORD +44 -0
  44. fstg_toolkit-1.0.0.dist-info/WHEEL +4 -0
@@ -0,0 +1,56 @@
1
+ # Copyright 2025 ICube (University of Strasbourg - CNRS)
2
+ # author: Julien PONTABRY (ICube)
3
+ #
4
+ # This software is a computer program whose purpose is to provide a toolkit
5
+ # to model, process and analyze the longitudinal reorganization of brain
6
+ # connectivity data, as functional MRI for instance.
7
+ #
8
+ # This software is governed by the CeCILL-B license under French law and
9
+ # abiding by the rules of distribution of free software. You can use,
10
+ # modify and/or redistribute the software under the terms of the CeCILL-B
11
+ # license as circulated by CEA, CNRS and INRIA at the following URL
12
+ # "http://www.cecill.info".
13
+ #
14
+ # As a counterpart to the access to the source code and rights to copy,
15
+ # modify and redistribute granted by the license, users are provided only
16
+ # with a limited warranty and the software's author, the holder of the
17
+ # economic rights, and the successive licensors have only limited
18
+ # liability.
19
+ #
20
+ # In this respect, the user's attention is drawn to the risks associated
21
+ # with loading, using, modifying and/or developing or reproducing the
22
+ # software by the user in light of its specific status of free software,
23
+ # that may mean that it is complicated to manipulate, and that also
24
+ # therefore means that it is reserved for developers and experienced
25
+ # professionals having in-depth computer knowledge. Users are therefore
26
+ # encouraged to load and test the software's suitability as regards their
27
+ # requirements in conditions enabling the security of their systems and/or
28
+ # data to be ensured and, more generally, to use and operate it in the
29
+ # same conditions as regards security.
30
+ #
31
+ # The fact that you are presently reading this means that you have had
32
+ # knowledge of the CeCILL-B license and that you accept its terms.
33
+
34
+ from .factory import spatio_temporal_graph_from_corr_matrices
35
+ from .graph import SpatioTemporalGraph
36
+ from .io import load_spatio_temporal_graph, save_spatio_temporal_graph
37
+ from .simulation import CorrelationMatrixSequenceSimulator, generate_pattern, SpatioTemporalGraphSimulator
38
+
39
+ try:
40
+ from .visualization import multipartite_plot, spatial_plot, temporal_plot
41
+ except ImportError:
42
+ pass
43
+
44
+ from importlib.metadata import version
45
+
46
+ __version__ = version(__package__)
47
+
48
+ __all__ = [
49
+ 'spatio_temporal_graph_from_corr_matrices',
50
+ 'SpatioTemporalGraph',
51
+ 'load_spatio_temporal_graph',
52
+ 'save_spatio_temporal_graph',
53
+ 'CorrelationMatrixSequenceSimulator',
54
+ 'generate_pattern',
55
+ 'SpatioTemporalGraphSimulator'
56
+ ]