Tool to read/write Plexon acquired data

891 views
Skip to first unread message

Ranganath, Ajit

unread,
Mar 8, 2017, 10:09:41 AM3/8/17
to klusta...@googlegroups.com

Dear all,


Does anybody use Klusta to sort data acquired in a Plexon system? If yes, could you please post/share which software tool you use to convert the .plx/.pl2 file into a flat binary file that is necessary for Klusta?


Thanks!!


---------------------------
Ajit Ranganath, M. Sc.
Translational NeuroCognition Laboratory
Institute for Neuroscience
Technische Universität München
Biedersteinerstr. 29, Bau 601
80802 München
Germany

Kelvin Quinones-Laracuente

unread,
Mar 12, 2017, 10:43:35 PM3/12/17
to KlustaViewas, ajit.ra...@tum.de
¡Hola!

I know that OFS can read and write to matlab in file>export (here's a troubleshooting guideline if it doesn't work: http://www.plexon.com/sites/default/files/MATLAB%20Export%20Troubleshooting%20Guide.pdf).  After exporting to matlab, I create the .dat file using these three lines of code:

a = fopen('name_desired_for_your_dat_file.dat', 'w')
fwrite(a, variable_that_contains_all_samples_in_columns_and_all_channels_in_rows, 'int16')
fclose(a)

I'm a rookie coder.  Sorry for my variables.  I hope that this is enough to point you in the right direction.  Let me know if you didn't understand something.

aji3...@gmail.com

unread,
Mar 29, 2017, 11:32:12 AM3/29/17
to KlustaViewas, ajit.ra...@tum.de
Thanks for your response Kelvin!

richardw...@gmail.com

unread,
Jul 9, 2017, 5:54:45 PM7/9/17
to KlustaViewas, ajit.ra...@tum.de
Thanks Kelvin,

How do you export the continuous recordings from Plexon to Matlab? I only see an option to export 'waveforms'. Also, for large regordings would Matlab have trouble opening up all of the data at once?

Thanks,
Rick

Ranganath, Ajit

unread,
Jul 10, 2017, 6:00:16 AM7/10/17
to richardw...@gmail.com, KlustaViewas

Continuous data from Plexon can be exported to MATLAB using Plexon's MATLAB SDK which has functions like 'PL2Ad' and 'plx_ad' which allows you to export the continuous data depending on the file format you used for the recording. Have a look at the toolbox:


http://www.plexon.com/software-downloads


Best

---------------------------

Ajit Ranganath, M. Sc.
Translational NeuroCognition Laboratory
Institute for Neuroscience
Technical University of Munich
Biedersteinerstr. 29, Bau 601
80802 Munich
Germany

From: richardw...@gmail.com <richardw...@gmail.com>
Sent: 09 July 2017 23:54:45
To: KlustaViewas
Cc: Ranganath, Ajit
Subject: Re: Tool to read/write Plexon acquired data
 

richardw...@gmail.com

unread,
Jul 10, 2017, 1:45:29 PM7/10/17
to KlustaViewas, richardw...@gmail.com, ajit.ra...@tum.de
Excellent! This works very well, thank you.
Reply all
Reply to author
Forward
0 new messages