<commit_before># VAWT Wake Model

## Installation instructions

- system requirements: gfortran, python 2.7, numpy, scipy
- navigate to the directory and run the following command in the terminal to build the Fortran code:

Mac
```
$ cd wake_model
$ f2py -c  --opt=-O2 -m _vortmodel vorticity.f90
```

Windows
```
cd wake_model
python \your\path\to\f2py.py -c --opt=-O2 --compiler=mingw32 --fcompiler=gfortran -m _vortmodel vorticity.f90
```
(most likely C:\Python27\Scripts\f2py.py)

- a unit test can then be run using the command:
```
$ cd tests
$ python test.py
```

## Running the Python code<commit_msg>Changed the Windows path to f2py<commit_after># VAWT Wake Model

## Installation instructions

- system requirements: gfortran, python 2.7, numpy, scipy
- navigate to the directory and run the following command in the terminal to build the Fortran code:

Mac
```
$ cd wake_model
$ f2py -c  --opt=-O2 -m _vortmodel vorticity.f90
```

Windows
```
cd wake_model
python [\your\path\to\f2py.py] -c --opt=-O2 --compiler=mingw32 --fcompiler=gfortran -m _vortmodel vorticity.f90
```
(most likely C:\Python27\Scripts\f2py.py)

- a unit test can then be run using the command:
```
$ cd tests
$ python test.py
```

## Running the Python code
{'fraction_non_alphanumeric': 0.11945117029862792, 'fraction_numerical': 0.025020177562550445, 'mean_word_length': 3.9206349206349205, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1709535', 'n_tokens_mistral': 455, 'n_tokens_neox': 422, 'n_words': 148}