"2022-02-11 11:40:43,461 - WARNING - tvb.simulator.common - psutil module not available: no warnings will be issued when a\n",
" simulation may require more memory than available\n",
" INFO log level set to INFO\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"/home/izaak/local_repos/nostromo/tvb-ebrains-data/env/lib/python3.6/site-packages/tvb/datatypes/surfaces.py:63: UserWarning: Geodesic distance module is unavailable; some functionality for surfaces will be unavailable.\n",
" warnings.warn(msg)\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"WARNING Token required outside collaboratory environment. Set EBRAINS_TOKEN in the environment or provide directly.\n"
]
}
],
"outputs": [],
"source": [
"from tvb_ebrains_data import Brains1000Dataset"
]
...
...
@@ -374,11 +343,136 @@
"source": [
"W.shape, D.shape"
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "896ad8f3-c824-48d7-a2dc-8503a808294e",
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"from tvb_ebrains_data import HCPDomhof"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "4e730e39-68cf-4abc-b0dd-14abd74e82e3",
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"dset = HCPDomhof(data_root='.')"
]
},
{
"cell_type": "code",
"execution_count": 6,
"id": "4e58c1d7-743d-41aa-9a43-bf7b90cc195d",
"metadata": {
"tags": []
},
"outputs": [
{
"data": {
"text/plain": [
"['093', '124', '106', '020', '077']"
]
},
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"dset.subjects[:5]"
]
},
{
"cell_type": "code",
"execution_count": 7,
"id": "5dcd7edd-8067-4d37-a55b-46a831279b75",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"(1200, 200)"
]
},
"execution_count": 7,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"dset.load_bold('093').shape"
]
},
{
"cell_type": "code",
"execution_count": 12,
"id": "a1a6c4ef-5a0f-4f81-a952-c0117c168e85",
"metadata": {
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Help on method load_sc in module tvb_ebrains_data.data:\n",
"\n",
"load_sc(subj) method of tvb_ebrains_data.data.HCPDomhof instance\n",
2022-02-11 11:40:43,461 - WARNING - tvb.simulator.common - psutil module not available: no warnings will be issued when a
simulation may require more memory than available
INFO log level set to INFO
/home/izaak/local_repos/nostromo/tvb-ebrains-data/env/lib/python3.6/site-packages/tvb/datatypes/surfaces.py:63: UserWarning: Geodesic distance module is unavailable; some functionality for surfaces will be unavailable.
warnings.warn(msg)
WARNING Token required outside collaboratory environment. Set EBRAINS_TOKEN in the environment or provide directly.