-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathREADME.Rmd
57 lines (44 loc) · 1.56 KB
/
README.Rmd
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
---
output:
github_document:
toc: false
fig_width: 10.08
fig_height: 6
editor_options:
chunk_output_type: console
---
# TruScanEEGpy
```{r, echo = FALSE, warning=FALSE, message=FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
dpi=450,
fig.path = "docs/img/"
)
library(reticulate)
# Insert your own python path below whenever you want to knit the README
reticulate::use_python(python = "C:/Users/Dom/Desktop/WPy-3710/python-3.7.1.amd64/python.exe")
matplotlib <- reticulate::import("matplotlib", convert = TRUE)
matplotlib$use("Agg")
# Submit to pypi
# - cd to repo
# - python setup.py sdist bdist_wheel
# - twine upload dist/*
```
[![pypi](https://img.shields.io/pypi/v/TruScanEEGpy.svg)](https://pypi.python.org/pypi/TruScanEEGpy)
[![Build Status](https://img.shields.io/travis/neuropsychology/TruScanEEGpy.svg)](https://travis-ci.org/neuropsychology/TruScanEEGpy)
[![codecov](https://codecov.io/gh/neuropsychology/TruScanEEGpy/branch/master/graph/badge.svg)](https://codecov.io/gh/neuropsychology/TruScanEEGpy)
[![Documentation Status](https://readthedocs.org/projects/truscaneegpy/badge/?version=latest)](https://truscaneegpy.readthedocs.io/en/latest/?badge=latest)
**Utilities to work with Deymed's TruScan EEG system.**
## Installation
To install TruScanEEGpy, run this command in your terminal:
```
pip install https://github.com/neuropsychology/TruScanEEGpy/zipball/master
```
## Documentation
```{python}
import TruScanEEGpy
import mne
layout = TruScanEEGpy.layout_128('10-5')
montage = TruScanEEGpy.montage_mne_128(layout)
mne.viz.plot_montage(montage)
```