2014-06-18 [Stage M1] Chloé Pasturel : week 3

Travail sur les Motion Clouds et observation des différents changement de paramètre particulièrement B_sf

  • introduction aux motions clouds: installation et display dans un notebook
  • synthèse de clouds avec différents theta
  • synthèse avec différents B_theta (V=0)
  • utilisation du trick dans http://motionclouds.invibe.net/posts/smooth-transition-between-mcs.html pour créer un stimulus pour lequel l'orientation tourne de 0 à 2*pi
  • proposer une façon simple de passer de ce signal à une entré pour le ring (un peu de maths? un MC est une texture définie en fourier, une cellule simple fait une convolution dans l'espace, donc une multiplication dans Fourier: on pourrait avoir la sortie linéaire du neurone de V1 directement ...)



Read more…


2014-06-18 [Stage M1] Chloé Pasturel : week 2

Simulation d'un ring model grâce au programme brian et observation des conséquences du changement de différents paramêtres

  • simulation d'un ring par l'intermédiaire de brian http://briansimulator.org/
  • courbe de sélectivité en fonction des parametres
  • courbe de sélectivité à différents contrastes

Read more…


2014-06-18 [Stage M1] Chloé Pasturel : week 1

  • définition du sujet - lecture Hansel
  • mise en place du python notebook
  • demos de brian

installation des outils

  1. virtual box
  2. VM ubuntu
  3. <<< guest additions + clone
  4. neurodebian
    wget -O- http://neuro.debian.net/lists/trusty.de-md.full | sudo tee /etc/apt/sources.list.d/neurodebian.sources.list
    sudo apt-key adv --recv-keys --keyserver pgp.mit.edu 2649A5A9
    sudo apt-get update
  1. install on ubuntu
sudo apt-get install aptitude
sudo aptitude install ipython-notebook
sudo aptitude install python-matplotlib
sudo aptitude install python-brian 
sudo aptitude install texlive-full

sudo aptitude install python-pynn 
pip install --user neurotools


2014-06-18 [Stage M1] Chloé Pasturel : plan du stage

Modele d'une entrée naturelle à un modèle de selectivité à l'orientation

Stage M1 de Chloé Pasturel, encadrée par Laurent Perrinet (INT, CNRS)

Contexte du stage

(importé depuis http://invibe.net/LaurentPerrinet/TagAnrBalaV1 )

Read more…


2014-05-15 Vim commands for moving around

Sometimes, it's good to go back to the basics.

In command mode, typing :help usr_02.txt (or simplier something like :h usr_<TAB>02<TAB><ENTER>), you learn the letters for navigating a file:

  • these letters are HJKL - glad it works on an international keyboard.
  • letters on the borders (HL) are for horizontal movements- obviously H for left, L for right
  • letters on the inside are for vertical movements - J for down, K for up; a nice feature is that these keys are now quite widely used in the community, take for example in the gmail interface when switching to the next message.

I was still using the arrows keys, but taking this habit makes thinks easier, especially when switching often keyboards.

Simalarly, to scroll the text - you can use:

  • <CTRL-U> to scroll a half-page up
  • <CTRL-D> to scroll a half-page down

Here, the :h ctrl-u page will give you more info (or :help usr_03.txt).

Note that to follow a link (think "searching a tag"), you can press * (or # to go backwards).


2014-02-28 Batch removing files on a FTP server

In a previous post, I have shown how to convert MoinMoin pages to this blog (Nikola angine). Let's now tidy up the place and remove obsolete pages.

Pages that were succesfully converted:

Read more…


2014-02-15 Converting moinmoin pages to nikola

nikolFrom a previous post, we have this function to import a page from moinmoin, convert it and publish:

Read more…


2014-02-11 Converting MoinMoin pages to Nikola

I have another wiki to take notes. These are written using the MoinMoin syntax, which is nice, but I found no converter from MoinMoin to anything compatible with Nikola.

Following this post http://carreau.github.io/posts/06-NBconvert-Doc-Draft.html , I thought I might give it a try using ipython within nikola:

In [1]:
URL = 'http://invibe.net/cgi-bin/index.cgi/SciBlog/2005-10-29?action=print'

NOTE: this should not be tried with these URLS as they do not exist anymore...

Read more…


2014-02-10 SSH says 'Read from socket failed: Operation timed out'

While SSH is rock solid, we stumbled on a strange bug while trying to establish a connection:

$ ssh myname@myserver.fr -vvv

OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011


Read from socket failed: Operation timed out

Nothing worked. The usual check of keys, encodings, permissions gave nothing.

The culprit could be the OS, the version of the OS or whatever magical spell. However, after investigating the issue it appears the issue was isolated for certain cases, in particular within some homemade LAN, but not for a laptop computer thatcame freshly unpacked with no homemade setting.

This rang a bell, and by checking network settign I remembered that I had set "jumbo frames", that is I increased the MTU of my network card (in the hardware tab from the network settings on MacOsX) from 1500 (standard) to 9000 (jumbo).

Going back to the default velues restored the capacity to connect. Many thanks to Jimmy for finding that one!


2014-01-15 Vim folding commands

Folds are useful when having long files to have a good perspective on its structure. Especially useful in LaTeX mode.

To install, I recommend using the python-mode described in http://unlogic.co.uk/2013/02/08/vim-as-a-python-ide/

The magical shortcut all begin with z. Type :hep fold to learn more about them.

These are the most common shortcuts in my personal order of preference.

  • zo opens a fold at the cursor.
  • zc closes a fold at the cursor.
  • zM closes all open folds.
  • zO opens all folds at the cursor.
  • [z move to start of open fold.
  • ]z move to end of open fold.
  • zj moves the cursor to the next fold.
  • zk moves the cursor to the previous fold.
  • zf#j creates a fold from the cursor down # lines.
  • zf/string creates a fold from the cursor to string .
  • zm increases the foldlevel by one.
  • zr decreases the foldlevel by one.
  • zR decreases the foldlevel to zero -- all folds will be open.
  • zd deletes the fold at the cursor.
  • zE deletes all folds.