User Tools

Site Tools


Sidebar

[[people:ContactList|ContactList]]\\ [[protocols:Protocols|Protocols]]\\ [[logs:LogSheets|LogSheets]]\\ [[computing:Computing|Computing]]\\ [[protocols:EotW|EotW]]\\ [[protocols:IssueTracker|IssueTracker]]\\ **Reference** [[guides:Guides|HowToGuides]]\\ [[guides:Manuals|Manuals]]\\ [[literature:Literature]]\\ [[jclub:JournalClub|JournalClub]]\\ [[people:LabAlumni|LabAlumni]]\\ [[analysis:DataAnalysis|DataAnalysis]]\\ **Training** [[guides:TheBasics|TheBasics]]\\ [[tutorials:TutorialList|TutorialList]]\\ [[guides:About|About this wiki]] **Beyond the lab** [[Fellowships]]\\ [[Advice for...]]\\ **Admin** [[orphanswanted|OrphansWanted]]\\

analysis:neuralynx

**This is an old revision of the document!** ----

A PCRE internal error occured. This might be caused by a faulty plugin

====== Loading LFP data into fieldtrip ====== To load *.Ncs (Neuralynx Continuously Sampled, sometimes also referred to as CSC for Continuously Sampled Channel) files in MATLAB, use the following: <code matlab> fc = FindFiles('*.ncs'); data = ft_read_neuralynx_interp(fc); </code> This will create a [[http://fieldtrip.fcdonders.nl/|fieldtrip]] data structure with all CSCs, filling any gaps in the original data with ''NaNs''. Note that ''ft_read_neuralynx_interp'' calls a custom version of ''ft_read_data''. Make sure you use the version available from the [[https://github.com/mvdm/vandermeerlab|vandermeerlab code repository]] (see also the [[computing:CodeRepository|guide]] on how to use this).

analysis/neuralynx.1366900065.txt.gz · Last modified: 2018/04/17 15:21 (external edit)