{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "A feature of MotionClouds is the ability to precisely tune the precision of information following the principal axes. One which is particularly relevant for the primary visual cortical area of primates (area V1) is to tune the otirentation mean and bandwidth.\n", "\n", "## Studying the role of contrast in V1 using MotionClouds\n", "\n", "\n", "\n", "This is part of a larger study to tune [orientation bandwidth](https://laurentperrinet.github.io/sciblog/categories/orientation.html).\n", "\n" ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "import os\n", "import numpy as np\n", "import MotionClouds as mc\n", "downscale = 1\n", "fx, fy, ft = mc.get_grids(mc.N_X//downscale, mc.N_Y//downscale, mc.N_frame//downscale)\n", "name = '2016-04-06_IRM-protocol'\n", "mc.figpath = os.path.join('../files/', name)\n", "if not(os.path.isdir(mc.figpath)): os.mkdir(mc.figpath)" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "/usr/local/lib/python3.7/site-packages/vispy/visuals/isocurve.py:22: UserWarning: VisPy is not yet compatible with matplotlib 2.2+\n", " warnings.warn(\"VisPy is not yet compatible with matplotlib 2.2+\")\n" ] }, { "data": { "text/html": [ "\n", "
Software | Version |
---|---|
Python | 3.7.1 64bit [Clang 10.0.0 (clang-1000.11.45.5)] |
IPython | 7.1.1 |
OS | Darwin 17.7.0 x86_64 i386 64bit |
numpy | 1.15.4 |
scipy | 1.1.0 |
matplotlib | 3.0.1 |
MotionClouds | 20180606 |
Wed Nov 14 15:47:56 2018 CET |