<commit_before>pycortex
========
![quickflat demo](https://raw.github.com/jamesgao/pycortex/master/docs/wn_med.png)

Pycortex is a software that allows you to visualize fMRI or other volumetric mapping data on cortical surfaces.

Quickstart
----------
The easiest way to get pycortex is to use the [Anaconda python distribution](https://store.continuum.io/cshop/anaconda/). Download and install anaconda, then run the following commands:

```
$ sudo pip install nibabel
$ sudo pip install pycortex
```

If you are using [Ubuntu](http://ubuntu.com), using [Neurodebian](http://neuro.debian.net/) is highly recommended. The following command will install all python prerequisites:

```
$ sudo apt-get install python-pip python-dev python-numpy python-scipy python-matplotlib python-h5py python-nibabel python-lxml python-shapely python-html5lib mayavi2 inkscape blender
$ sudo pip install pycortex
```

Demo
----
Pycortex is best used with [IPython](http://www.ipython.org/). To run this demo, please download this [example dataset](http://gallantlab.org/pycortex/S1_retinotopy.hdf).

```
$ ipython
In [1]: import cortex
In [2]: ds = cortex.openFile("S1_retinotopy.hdf")
In [3]: cortex.webshow(ds)
```

Documentation
-------------
Please find more complete documentation for pycortex at http://gallantlab.org/pycortex/docs/. The documentation for pycortex is currently incomplete, but will be improved in the coming days.
<commit_msg>update readme for the new syntax<commit_after>pycortex
========
![quickflat demo](https://raw.github.com/jamesgao/pycortex/master/docs/wn_med.png)

Pycortex is a software that allows you to visualize fMRI or other volumetric mapping data on cortical surfaces.

Quickstart
----------
The easiest way to get pycortex is to use the [Anaconda python distribution](https://store.continuum.io/cshop/anaconda/). Download and install anaconda, then run the following commands:

```
$ sudo pip install nibabel
$ sudo pip install pycortex
```

If you are using [Ubuntu](http://ubuntu.com), using [Neurodebian](http://neuro.debian.net/) is highly recommended. The following command will install all python prerequisites:

```
$ sudo apt-get install python-pip python-dev python-numpy python-scipy python-matplotlib python-h5py python-nibabel python-lxml python-shapely python-html5lib mayavi2 inkscape blender
$ sudo pip install pycortex
```

Demo
----
Pycortex is best used with [IPython](http://www.ipython.org/). To run this demo, please download this [example dataset](http://gallantlab.org/pycortex/S1_retinotopy.hdf).

```
$ ipython
In [1]: import cortex
In [2]: ds = cortex.load("S1_retinotopy.hdf")
In [3]: cortex.webshow(ds)
```

Documentation
-------------
Please find more complete documentation for pycortex at http://gallantlab.org/pycortex/docs/. The documentation for pycortex is currently incomplete, but will be improved in the coming days.

{'fraction_non_alphanumeric': 0.12365404654393887, 'fraction_numerical': 0.0055574852379298365, 'mean_word_length': 4.538461538461538, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3153257', 'n_tokens_mistral': 950, 'n_tokens_neox': 863, 'n_words': 291}