An open API service indexing awesome lists of open source software.

https://github.com/mobeets/nullspacecontrol


https://github.com/mobeets/nullspacecontrol

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

### Setup

```
setpref('factorSpace', 'data_directory', '/path/to/data');
DATADIR = getpref('factorSpace', 'data_directory');
```
Data session files are structured as follows (n.b. `*` is a wildcard operator):

```
/DATADIR
/Jeffy
/20120302
*simpleData_combined.mat
kalmanInitParamsFA*.mat
/20120303
...
/Lincoln
/Nelson
...
```

### Processing new sessions

To process a list of session files for some dates, e.g., `dts = {'20160101', '20160102'}`, run the following:

1. __Preprocess__: `cellfun(@io.saveDataByData, dts);`
2. __Fit behavioral asymptotes__: Edit and run `behav.asymptotesAll`, making sure to add to the existing file `'data/asymptotes/bySession.mat'`.
3. __Fit IME__: Run `imefit.fitAll` for your `dts` with `opts = struct('doCv', false, 'doSave', true, 'fitPostLearnOnly', true)`. For each `dtstr`, you should verify there is now a file in `fullfile(DATADIR, 'ime', [dtstr '.mat'])`