Skip to content

Commit

Permalink
Merge pull request #125 from ContextLab/args-refactor
Browse files Browse the repository at this point in the history
BIG refactor: merging
  • Loading branch information
jeremymanning authored May 31, 2017
2 parents ed5f078 + 6bb10c7 commit 91a0cc1
Show file tree
Hide file tree
Showing 533 changed files with 50,795 additions and 996 deletions.
Binary file added docs/_build/doctrees/api.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added docs/_build/doctrees/auto_examples/precog.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file added docs/_build/doctrees/hypertools.plot.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added docs/_build/doctrees/index.doctree
Binary file not shown.
4 changes: 4 additions & 0 deletions docs/_build/html/.buildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 27f69a987af6cebd72c9ce04198515dc
tags: 645f666f9bcd5a90fca523b33c5a78b7
54 changes: 54 additions & 0 deletions docs/_build/html/_downloads/animate.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"nbformat_minor": 0,
"nbformat": 4,
"cells": [
{
"execution_count": null,
"cell_type": "code",
"source": [
"%matplotlib inline"
],
"outputs": [],
"metadata": {
"collapsed": false
}
},
{
"source": [
"\n# Hyperalign a list of arrays and create an animated plot\n\n\nThe sample data is a list of 2D arrays, where each array is fMRI brain activity\nfrom one subject. The rows are timepoints and the columns are neural\n'features'. First, the matrices are hyperaligned using hyp.tools.align.\n\n"
],
"cell_type": "markdown",
"metadata": {}
},
{
"execution_count": null,
"cell_type": "code",
"source": [
"# Code source: Andrew Heusser\n# License: MIT\n\nimport hypertools as hyp\nimport scipy.io as sio\nimport numpy as np\n\ndata = hyp.tools.load('weights')\naligned_w = hyp.tools.align(data)\n\nw1 = np.mean(aligned_w[:17],0)\nw2 = np.mean(aligned_w[18:],0)\n\nhyp.plot([w1, w2], animate=True)"
],
"outputs": [],
"metadata": {
"collapsed": false
}
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 2",
"name": "python2",
"language": "python"
},
"language_info": {
"mimetype": "text/x-python",
"nbconvert_exporter": "python",
"name": "python",
"file_extension": ".py",
"version": "2.7.11",
"pygments_lexer": "ipython2",
"codemirror_mode": {
"version": 2,
"name": "ipython"
}
}
}
}
25 changes: 25 additions & 0 deletions docs/_build/html/_downloads/animate.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# -*- coding: utf-8 -*-
"""
=============================
Hyperalign a list of arrays and create an animated plot
=============================
The sample data is a list of 2D arrays, where each array is fMRI brain activity
from one subject. The rows are timepoints and the columns are neural
'features'. First, the matrices are hyperaligned using hyp.tools.align.
"""

# Code source: Andrew Heusser
# License: MIT

import hypertools as hyp
import scipy.io as sio
import numpy as np

data = hyp.tools.load('weights')
aligned_w = hyp.tools.align(data)

w1 = np.mean(aligned_w[:17],0)
w2 = np.mean(aligned_w[18:],0)

hyp.plot([w1, w2], animate=True)
54 changes: 54 additions & 0 deletions docs/_build/html/_downloads/animate1.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"nbformat_minor": 0,
"nbformat": 4,
"cells": [
{
"execution_count": null,
"cell_type": "code",
"source": [
"%matplotlib inline"
],
"outputs": [],
"metadata": {
"collapsed": false
}
},
{
"source": [
"\n# Hyperalign a list of arrays and create an animated plot\n\n\nThe sample data is a list of 2D arrays, where each array is fMRI brain activity\nfrom one subject. The rows are timepoints and the columns are neural\n'features'. First, the matrices are hyperaligned using hyp.tools.align.\n\n"
],
"cell_type": "markdown",
"metadata": {}
},
{
"execution_count": null,
"cell_type": "code",
"source": [
"# Code source: Andrew Heusser\n# License: MIT\n\nimport hypertools as hyp\nimport scipy.io as sio\nimport numpy as np\n\ndata = hyp.tools.load('weights')\naligned_w = hyp.tools.align(data)\n\nw1 = np.mean(aligned_w[:17],0)\nw2 = np.mean(aligned_w[18:],0)\n\nhyp.plot([w1,w2], animate=True)"
],
"outputs": [],
"metadata": {
"collapsed": false
}
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 2",
"name": "python2",
"language": "python"
},
"language_info": {
"mimetype": "text/x-python",
"nbconvert_exporter": "python",
"name": "python",
"file_extension": ".py",
"version": "2.7.11",
"pygments_lexer": "ipython2",
"codemirror_mode": {
"version": 2,
"name": "ipython"
}
}
}
}
25 changes: 25 additions & 0 deletions docs/_build/html/_downloads/animate1.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# -*- coding: utf-8 -*-
"""
=============================
Hyperalign a list of arrays and create an animated plot
=============================
The sample data is a list of 2D arrays, where each array is fMRI brain activity
from one subject. The rows are timepoints and the columns are neural
'features'. First, the matrices are hyperaligned using hyp.tools.align.
"""

# Code source: Andrew Heusser
# License: MIT

import hypertools as hyp
import scipy.io as sio
import numpy as np

data = hyp.tools.load('weights')
aligned_w = hyp.tools.align(data)

w1 = np.mean(aligned_w[:17],0)
w2 = np.mean(aligned_w[18:],0)

hyp.plot([w1,w2], animate=True)
File renamed without changes.
File renamed without changes.
54 changes: 54 additions & 0 deletions docs/_build/html/_downloads/animate_spin.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"nbformat_minor": 0,
"nbformat": 4,
"cells": [
{
"execution_count": null,
"cell_type": "code",
"source": [
"%matplotlib inline"
],
"outputs": [],
"metadata": {
"collapsed": false
}
},
{
"source": [
"\n# Create a rotating static plot\n\n\nIn addition to plotting dynamic timeseries data, the spin feature can be used to\nvisualize static data in an animated rotating plot.\n\n"
],
"cell_type": "markdown",
"metadata": {}
},
{
"execution_count": null,
"cell_type": "code",
"source": [
"# Code source: Andrew Heusser\n# License: MIT\n\n# load\nimport hypertools as hyp\n\n# load data\ndata = hyp.tools.load('weights_sample')\n\n# plot\nhyp.plot(data, '.', animate='spin')"
],
"outputs": [],
"metadata": {
"collapsed": false
}
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 2",
"name": "python2",
"language": "python"
},
"language_info": {
"mimetype": "text/x-python",
"nbconvert_exporter": "python",
"name": "python",
"file_extension": ".py",
"version": "2.7.11",
"pygments_lexer": "ipython2",
"codemirror_mode": {
"version": 2,
"name": "ipython"
}
}
}
}
21 changes: 21 additions & 0 deletions docs/_build/html/_downloads/animate_spin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# -*- coding: utf-8 -*-
"""
=============================
Create a rotating static plot
=============================
In addition to plotting dynamic timeseries data, the spin feature can be used to
visualize static data in an animated rotating plot.
"""

# Code source: Andrew Heusser
# License: MIT

# load
import hypertools as hyp

# load data
data = hyp.tools.load('weights_sample')

# plot
hyp.plot(data, '.', animate='spin')
54 changes: 54 additions & 0 deletions docs/_build/html/_downloads/animate_spin1.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"nbformat_minor": 0,
"nbformat": 4,
"cells": [
{
"execution_count": null,
"cell_type": "code",
"source": [
"%matplotlib inline"
],
"outputs": [],
"metadata": {
"collapsed": false
}
},
{
"source": [
"\n# Create a rotating static plot\n\n\nIn addition to plotting dynamic timeseries data, the spin feature can be used to\nvisualize static data in an animated rotating plot.\n\n"
],
"cell_type": "markdown",
"metadata": {}
},
{
"execution_count": null,
"cell_type": "code",
"source": [
"# Code source: Andrew Heusser\n# License: MIT\n\n# load\nimport hypertools as hyp\n\n# load data\ndata = hyp.tools.load('weights_sample')\n\n# plot\nhyp.plot(data, '.', animate='spin')"
],
"outputs": [],
"metadata": {
"collapsed": false
}
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 2",
"name": "python2",
"language": "python"
},
"language_info": {
"mimetype": "text/x-python",
"nbconvert_exporter": "python",
"name": "python",
"file_extension": ".py",
"version": "2.7.11",
"pygments_lexer": "ipython2",
"codemirror_mode": {
"version": 2,
"name": "ipython"
}
}
}
}
21 changes: 21 additions & 0 deletions docs/_build/html/_downloads/animate_spin1.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# -*- coding: utf-8 -*-
"""
=============================
Create a rotating static plot
=============================
In addition to plotting dynamic timeseries data, the spin feature can be used to
visualize static data in an animated rotating plot.
"""

# Code source: Andrew Heusser
# License: MIT

# load
import hypertools as hyp

# load data
data = hyp.tools.load('weights_sample')

# plot
hyp.plot(data, '.', animate='spin')
Binary file not shown.
Binary file not shown.
54 changes: 54 additions & 0 deletions docs/_build/html/_downloads/explore.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"nbformat_minor": 0,
"nbformat": 4,
"cells": [
{
"execution_count": null,
"cell_type": "code",
"source": [
"%matplotlib inline"
],
"outputs": [],
"metadata": {
"collapsed": false
}
},
{
"source": [
"\n=============================\nExplore mode!\n=============================\n\nExplore mode is an experimental feature that allows you to (not surprisingly)\nexplore the points in your dataset. When you hover over the points, a label\nwill pop up that will help you identify the datapoint. You can customize the\nlabels by passing a list of labels to the `label(s)` kwarg. Alternatively, if\nyou don't pass a list of labels, the labels will be the index of the datapoint,\nalong with the PCA coordinate.\n\n"
],
"cell_type": "markdown",
"metadata": {}
},
{
"execution_count": null,
"cell_type": "code",
"source": [
"# Code source: Andrew Heusser\n# License: MIT\n\nimport hypertools as hyp\nimport scipy.io as sio\nimport numpy as np\n\ndata = hyp.tools.load('weights_sample')\n\nhyp.plot(data, '.', explore=True)"
],
"outputs": [],
"metadata": {
"collapsed": false
}
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 2",
"name": "python2",
"language": "python"
},
"language_info": {
"mimetype": "text/x-python",
"nbconvert_exporter": "python",
"name": "python",
"file_extension": ".py",
"version": "2.7.11",
"pygments_lexer": "ipython2",
"codemirror_mode": {
"version": 2,
"name": "ipython"
}
}
}
}
Loading

0 comments on commit 91a0cc1

Please sign in to comment.