-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
iandol
committed
Jan 14, 2022
1 parent
6a8d9a1
commit ceb0300
Showing
62 changed files
with
694 additions
and
483 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Detailed Install Instructions {#install} | ||
|
||
## Requirements: | ||
|
||
* Latest Psychophysics Toolbox (V3.0.18+) — please ensure it is kept up-to-date. Also consider donating to PTB to ensure its future development: <https://www.psychtoolbox.net/#future> | ||
* MATLAB 2017a+ (Opticka utilises object-oriented property validation first introduced in that version). While I would like to support Octave, its `classdef` support is currently incomplete... | ||
* Ubuntu V20.04+ strongly recommended, but also runs under macOS and Windows 10+ | ||
* [Eyelink developer kit](https://www.sr-support.com) for Eyelink eyetrackers. | ||
* [Titta Toolbox](https://github.com/dcnieho/Titta) for Tobii Pro eyetrackers. | ||
* [LJM](https://labjack.com/support/software/installers/ljm) for LabJack T4 / T7 digital I/O devices. | ||
* [Exodriver](https://labjack.com/support/software/installers/exodriver) for LabJack U3/6 devices. | ||
|
||
Opticka is tested and mostly used on 64bit Ubuntu 20.04 (in the lab) & macOS 12.x (only development) under MATLAB 2021b. The older LabJack U3/U6 interface ([`labJack.m`](https://github.com/iandol/opticka/blob/master/communication/labJack.m)) currently only works under Linux and macOS (Labjack uses a different interface on Linux/macOS vs. Windows). The newer LabJack T4/T7 interface ([`labJackT.m`](https://github.com/iandol/opticka/blob/master/communication/labJackT.m)) does work cross-platform. Linux is the best OS according the PTB developer Mario Kleiner, and receives the majority of development work from him. It is **_strongly advised_** to use it for all real data collection. My experience is that Linux is *much more* robust and performs better than both macOS or Windows, and it is well worth the effort to use Linux for all PTB experimental computers. | ||
|
||
## Using the Git repository | ||
|
||
Using `git` to install is the recommended route; it makes it easy to update: | ||
|
||
* Create a parent folder to hold the code, I use `~/Code/` on Ubuntu and macOS and `C:/Code/` on windows. | ||
* `cd` to that parent folder in the terminal and run | ||
```shell | ||
git clone https://github.com/iandol/opticka.git | ||
``` | ||
* `cd` to the new `~/Code/opticka` folder in MATLAB and run `addOptickaToPath.m` | ||
|
||
To keep opticka up-to-date in the terminal: `git pull` — if you want to make local changes, then please create a new local branch to keep the main branch clean so you can pull without issue. If you do have issues pulling you can either (1) reset the repo losing any local changes: `git fetch -v; git reset --hard origin/master; git clean -f -d; git pull` — (2) stash your changes: `git fetch -v; git stash push; git pull` | ||
|
||
## Using the ZIP file | ||
|
||
I recommend using `git` as you can keep the code up-to-date by pulling from Github, but a ZIP install is easier: | ||
|
||
* Download the latest ZIP file: [GitHub ZIP File](https://github.com/iandol/opticka/archive/refs/heads/master.zip) | ||
* Unzip the **contents** of the `opticka-master` folder in the zip to a new folder (I use `~/Code/opticka`). You should end up with something like `~/Code/opticka/opticka.m` as a path. | ||
* In MATLAB, `cd` to that folder and run `addOptickaToPath.m`. | ||
|
||
To keep up-to-date you should manually keep downloading and unzipping the newest versions... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.