-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample_fpn.xml
More file actions
155 lines (134 loc) · 5.11 KB
/
sample_fpn.xml
File metadata and controls
155 lines (134 loc) · 5.11 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<model xmlns="https://ossm.dev/sms/0.5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://ossm.dev/sms/0.5 ../SMS.xsd">
<metadata>
<name>FPN model</name>
<version>0.1</version>
<date>2025-05-25</date>
<license>cc-by-4.0</license>
<author>ossm-team</author>
<keyword>frontoparietal</keyword>
<keyword>cerebellum</keyword>
</metadata>
<species name="homo sapiens" ncbi_taxid="9606"/>
<time_base dt_ms="1"/>
<modules>
<module id="ppc" dt_ms="5">
<io>
<port id="ppc_vis_in" name="vis_in" dir="in" dtype="float32">
<shape spec="b,h,w,c">
<dim name="h" size="64"/>
<dim name="w" size="64"/>
<dim name="c" size="1"/>
</shape>
</port>
<port id="ppc_state_out" name="state_out" dir="out" dtype="float32">
<shape spec="b,f">
<dim name="f" size="128"/>
</shape>
</port>
</io>
<region id="BA7" atlas="Brodmann" />
</module>
<module id="pfc" dt_ms="5">
<io>
<port id="pfc_vis_in" name="vis_in" dir="in" dtype="float32">
<shape spec="b,h,w,c">
<dim name="h" size="64"/>
<dim name="w" size="64"/>
<dim name="c" size="1"/>
</shape>
</port>
<port id="pfc_ctx_in" name="ctx_in" dir="in" dtype="float32">
<shape spec="b,f">
<dim name="f" size="128"/>
</shape>
</port>
<port id="pfc_control_out" name="control_out" dir="out" dtype="float32">
<shape spec="b,f">
<dim name="f" size="16"/>
</shape>
</port>
</io>
<region id="BA8" atlas="Brodmann" />
</module>
<module id="m1" dt_ms="2">
<io>
<port id="m1_in" name="policy_in" dir="in" dtype="float32">
<shape spec="b,f">
<dim name="f" size="16"/>
</shape>
</port>
<port id="m1_motor_out" name="motor_out" dir="out" dtype="float32">
<shape spec="b,j">
<dim name="j" size="7"/>
</shape>
</port>
</io>
<region id="BA4" atlas="Brodmann" />
</module>
<module id="cbl" dt_ms="1">
<species name="macaque" ncbi_taxid="9539"/>
<io>
<port id="cbl_copy_in" name="cortical_copy_in" dir="in" dtype="float32">
<shape spec="b,f">
<dim name="f" size="16"/>
</shape>
</port>
<port id="cbl_err_in" name="error_in" dir="in" dtype="float32">
<shape spec="b,f">
<dim name="f" size="128"/>
</shape>
</port>
<port id="cbl_adj_out" name="adjustment_out" dir="out" dtype="float32">
<shape spec="b,f">
<dim name="f" size="16"/>
</shape>
</port>
</io>
</module>
<sensor id="vision">
<io>
<port id="vision_out" dir="in" dtype="float32" name="vision_out">
<shape spec="b,h,w,c">
<dim name="h" size="64"/>
<dim name="w" size="64"/>
<dim name="c" size="1"/>
</shape>
</port>
</io>
<organ id="eye" />
</sensor>
<actuator id="arm">
<io>
<port id="arm_in" dir="out" dtype="float32" name="arm_in">
<shape spec="b,j">
<dim name="j" size="7"/>
</shape>
</port>
</io>
<bodypart id="arm_right" />
</actuator>
</modules>
<port_groups>
<port_group id="vision_input">
<member ref="ppc_vis_in"/>
<member ref="pfc_vis_in"/>
</port_group>
</port_groups>
<connections>
<connection from="ppc_state_out" to="pfc_ctx_in"/>
<connection from="pfc_control_out" to="cbl_copy_in"/>
<connection from="ppc_state_out" to="cbl_err_in"/>
<connection from="pfc_control_out" to="m1_in"/>
<connection from="cbl_adj_out" to="m1_in"/>
<connection from="m1_motor_out" to="arm_in"/>
<connection from="vision_out" to="ppc_vis_in"/>
</connections>
<observables>
<observable id="obs_pfc" source="pfc_control_out"/>
<observable id="obs_cbl" source="cbl_adj_out"/>
<observable id="obs_m1" source="m1_motor_out"/>
</observables>
</model>