{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "155622" ] }, "execution_count": 1, "metadata": {}, "output_type": "execute_result" } ], "source": [ "from freesurfer_surface import Surface\n", "\n", "SUBJECTS_DIR = '../tests/subjects'\n", "surface = Surface.read_triangular(SUBJECTS_DIR + '/fabian/surf/lh.pial')\n", "surface.load_annotation(SUBJECTS_DIR + '/fabian/label/lh.aparc.annot')\n", "len(surface.vertex_annotation_values)" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | annotation_value | \n", "vertex_index | \n", "
---|---|---|
0 | \n", "6558940 | \n", "0 | \n", "
1 | \n", "6558940 | \n", "1 | \n", "
2 | \n", "6558940 | \n", "2 | \n", "
3 | \n", "6558940 | \n", "3 | \n", "
4 | \n", "6558940 | \n", "4 | \n", "