|
@@ -1,3 +1,20 @@
|
|
|
+# freesurfer-surface
|
|
|
+
|
|
|
+[](https://travis-ci.org/fphammerle/freesurfer-surface)
|
|
|
+[](https://coveralls.io/github/fphammerle/freesurfer-surface?branch=master)
|
|
|
+[](https://pypi.org/project/freesurfer-surface/#history)
|
|
|
+[](https://pypi.org/project/freesurfer-surface/)
|
|
|
+
|
|
|
+Python Library to Read and Write Surface Files in Freesurfer’s TriangularSurface Format
|
|
|
+
|
|
|
+Freesurfer https://surfer.nmr.mgh.harvard.edu/
|
|
|
+
|
|
|
+## Install
|
|
|
+
|
|
|
+```sh
|
|
|
+pip3 install --user freesurfer-surface
|
|
|
+```
|
|
|
+
|
|
|
## Usage
|
|
|
|
|
|
### Edit Surface File
|
|
@@ -47,3 +64,13 @@ region, = filter(lambda l: l.name == 'precentral',
|
|
|
annotation.labels.values())
|
|
|
print(surface.find_label_border_polygonal_chains(region))
|
|
|
```
|
|
|
+
|
|
|
+## Tests
|
|
|
+
|
|
|
+```sh
|
|
|
+pip3 install --user pipenv
|
|
|
+git clone https://github.com/fphammerle/freesurfer-surface.git
|
|
|
+cd freesurfer-surface
|
|
|
+pipenv run pylint freesurfer_surface
|
|
|
+pipenv run pytest --cov=freesurfer_surface
|
|
|
+```
|