-
New paper out: removal of spurious correlations between spike and LFPs
A lot of papers have been looking at correlations between spikes and LFPs recently, to figure out how the two signals relate to each other (do LFPs drive spikes or vice versa? Is some of what we usually consider neural noise really coupling to the local network measured by the LFP?). One thing that has
-
Video tutorial: Adobe Illustrator for scientists
Adobe Illustrator is an ancient program with obscure features that can be extremely frustrating to use if you don’t know its ins and outs. Once you do know how to use it well, however, it is incredibly powerful. I’ve create this Adobe Illustrator for scientists tutorial on YouTube. The tutorial lasts 1h45 minutesI have optimized
-
Batch export .ai files to pdf
March 2020 update: several blog readers have said that this works up to Illustrator CC 2018. Let me know if you have success on newer Illustrator versions. Every time I send a copy of the current version of a manuscript to contributors, I have to export .ai files to .pdf (they can’t read .ai) for
-
Hidden Illustrator layers show up in PDF files when reading in non-Adobe Reader: solution
Invisible layers will magically reappear when an Illustrator PDF is loaded in certain non-Adobe products (for example, the Mac PDF reader Preview). To avoid this issue, deselect “Preserve Illustrator Editing Capability” and “Create Acrobat Layers from top-level Layers” in the Save Adobe PDF dialog that pops up after choosing Save A Copy… from the File
-
Getting gcc to work with Matlab in Ubuntu to compile mex files
Matlab R2009b, Lucid Lynx My version of gcc (4.4) is too high for Matlab R2009b (4.1 and 4.2), and Matlab chokes on it. The solution is as follows: Install gcc-4.2: sudo apt-get install gcc-4.2 sudo apt-get install g++-4.2 In matlab, run mex -setup and select the GCC compiler (I believe you will have to have
-
Getting a plot with transparency to export in a vector format (e.g. eps) in Matlab
If you have a plot where one of the objects has the property facealpha or edgealpha set to something else than 1, Matlab will choke when attempting to export the figure to eps (it will render the plot as a low-res bitmap and stick it in an eps file if you use exportfig). The solution: