Skip to content

Commit

Permalink
Update doc and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
teristam committed Mar 11, 2021
1 parent 6d0d652 commit ee2315e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,17 @@ Allow one to write data into open-ephys continuous and binary format. Useful for
- Basically allow one to convert any neuron data readable in python to open-ephys format


### Installation

- clone the repository `git clone https://github.com/teristam/openephys-fileIO.git`
- go to the `openephys-fileIO` folder, then `pip install .`

### Usage

Fast load a continuous file:

```
import fileIO
from openephys_fileIO import fileIO
file = fileIO.loadContinuousFast('test/data/100_CH1.continuous')
```

Expand Down
2 changes: 1 addition & 1 deletion example_WriteBinary.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import numpy as np
from pathlib import Path
from openephys_fileIO import fileIO
from openephys_fileIO import fileIO

#%% Convert continuous data to flat binary
outFolder = 'E:\\open-ephys-testdata\\M2_D23-binary'
Expand Down
2 changes: 1 addition & 1 deletion example_shortenRecordings.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#%%
import fileIO
from openephys_fileIO import fileIO
import numpy as np
import os
import shutil
Expand Down

0 comments on commit ee2315e

Please sign in to comment.