<commit_before># fieldtrip-beamforming

High level EEG beamforming pipeline with built in depedency checks

## install

Clone the repo
```
git clone https://github.com/pchrapka/fieldtrip-beamforming.git
```

### Optional

1. Install OpenMEEG, open a terminal and run
   ```
   ./install.sh
   ```
   This will install OpenMEEG in /home/user/Documents/MATLAB/openmeeg. You will also need to modify your .bashrc

## dependencies

This project is built on top of [fieldtrip](http://www.fieldtriptoolbox.org/). Follow [these instructions](http://www.fieldtriptoolbox.org/download) on how to download and install fieldtrip.

## setup

### Default anatomical data

The default [anatomical data](ftp://ftp.fieldtriptoolbox.org/pub/fieldtrip/tutorial/Subject01.zip) can be downloaded from the fieldtrip website. Download the file to /pathtoproject/myproject/anatomy. Unzip the file.
<commit_msg>updated readme with setup instructions<commit_after># fieldtrip-beamforming

High level EEG beamforming pipeline with built in depedency checks

## install

Clone the repo
```bash
cd projects
git clone https://github.com/pchrapka/fieldtrip-beamforming.git
```

### Optional

1. Install OpenMEEG, open a terminal and run
   ```
   ./install.sh
   ```
   This will install OpenMEEG in /home/user/Documents/MATLAB/openmeeg. You will also need to modify your .bashrc

## dependencies

This project is built on top of [fieldtrip](http://www.fieldtriptoolbox.org/). Follow [these instructions](http://www.fieldtriptoolbox.org/download) on how to download and install fieldtrip.

## setup

Open up matlab
```matlab
cd projects/fieldtrip-beamforming
fb_install
fb_make_configs
```

`fb_install` will throw up an error until you specify the path to your fieldtrip package

TODO i should make this interactive

### Default anatomical data

The default [anatomical data](ftp://ftp.fieldtriptoolbox.org/pub/fieldtrip/tutorial/Subject01.zip) can be downloaded from the fieldtrip website. Download the file to /pathtoproject/myproject/anatomy. Unzip the file.

{'fraction_non_alphanumeric': 0.09444171175602557, 'fraction_numerical': 0.002951303492375799, 'mean_word_length': 4.557377049180328, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5021657', 'n_tokens_mistral': 651, 'n_tokens_neox': 594, 'n_words': 206}