File: ica.dot

package info (click to toggle)
python-mne 1.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 131,492 kB
  • sloc: python: 213,302; javascript: 12,910; sh: 447; makefile: 144
file content (77 lines) | stat: -rw-r--r-- 2,415 bytes parent folder | download | duplicates (2)
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
digraph ICAdiagram {
    /* LAYOUT CONTROL */
    rankdir=LR
    newrank=true
    ranksep=0.75
    clusterrank=local

    /* GLOBAL STYLES */
    splines=true
    fontsize=20
    fontname="Source Code Pro"

    node [style="filled"
          fontsize=18
          fontname="Source Sans Pro"]

    edge [arrowsize=1.2
          penwidth=2.5
          color="gray50"
          fontsize=12
          fontname="Source Code Pro"]

    /* starting nodes */
    sensor [label="Sensor data" shape="box" fillcolor="#bbbbbb"]
    cov [label="Noise cov" shape="box" fillcolor="#bbbbbb"]

    /* ICA.FIT() */
    subgraph cluster_0 {
        label="ICA.fit()"
        color="#009988"
        fontcolor="#009988"
        penwidth=1.5


        /* PRE-WHITENING */
        subgraph cluster_1 {
            label="Whitening"
            style="dashed"
            fontname="Source Sans Pro"
            color="gray50"
            fontcolor="gray50"
            /* nodes & edges */
            pre [label="Pre-\nwhiten" fontsize=11 shape="circle" fillcolor="#ee7733"]
            pre -> pca
            pca        [label="PCA"                   shape="circle" fillcolor="#ee7733"]
            pcs        [label="Principal\ncomponents" shape="box"    fillcolor="#33bbee"]
            pca -> pcs
        }

        /* nodes & edges */
        ica        [label="ICA"                     shape="circle" fillcolor="#ee7733"]
        ics        [label="Independent\ncomponents" shape="box"    fillcolor="#33bbee"]
        ica -> ics [label="n_components\r"]
    }

    /* ICA.APPLY() */
    subgraph cluster_2 {
        label="ICA.apply()"
        color="#ee3377"
        fontcolor="#ee3377"
        penwidth=1.5
        /* ending node */
        recon [label="Reconstructed\nsensor data" shape="box" fillcolor="#bbbbbb"]
    }

    /* subgraph-crossing edges */
    sensor -> pre  [label="all sensor channels\r" fontsize=14 fontname="Source Sans Pro"]
    cov -> pre     [label="covariance or std. dev.\r" fontsize=14 fontname="Source Sans Pro"]
    pcs -> ica     [label="n_components\l"]
    ics -> recon   [constraint=false color="#ee3377"
                    xlabel="Retained ICs:\ln_components -\llen(ICA.exclude)\l"]
    pcs -> recon   [constraint=false color="#ee3377"
                    xlabel="PCA residual:\ln_pca_components\l- n_components\l"]

    /* position recon box where we want it */
    { rank="same" recon ica }
}