User Tools

Site Tools


ephys_pipeline:phys_gui

This is an old revision of the document!


Phys gui

Initiate phys_gui by using the command phys_gui_working
A figure will pop up which looks something like this: Select your monkey from the dropdown menu
Select the session folders you want to process after hitting the “Add date from list” button
If you hit “Run”, phys_gui will do all the preprocessing that you checked (see below) on the selected folders

Rename folders

In later TDT software versions (synapse - setup 3), the folder naming is different. For converting folders recorded with synapse to the old (our standard) folder naming, check the box “RenameSynapseTankNameToOldTankFormat”.

Automatic waveclus clustering

If you want to use the waveclus pipeline, you first need to create waveclus sortcodes. You can do so by checking “WCFromBB”. Folders (WC_Block-N) will be created for each block N, and one additional folder (WC) will contain the clustered data, concatining for each channel separately all blocks where the electrode was in certain range

Create Plexon files from snippets

If you want (or have) to use the online detected snippets, check “PLXFromSnippets”. If you first want to Realign your snippets to the minima, check “PLXFromRealignedSnippets” instead. PLX Files will be called Date_blocks_N.plx or Date_Realigned_blocks_N respectively.

Create Plexon files from waveclus sortcodes

After you sorted with waveclus, you can create a plexon file from your saved sortcodes. Check “PLXFromWCFromBB”. PLX Files will be called Date_from_BB_blocks_N.

Combine ephys and behavioral data

After you are done with sorting, you can synchronize your recorded data with behavioral data, adding LFP and spike information in the trial structure format that monkeypsych uses. Check “CombineTDTandMP”.
In order to indicate which type of sorting you want to use, select one option in the “Choose spikes” section
“Snippets” uses the sortcodes based on the original snippets
“Realigned” uses the sortcodes based on realigned snippets
“FromBB” uses the sortcodes based on WC clustered PLX files
Choose “none” in case you are only interested in LFP. No spikes will be added to your combined data.

There is also an option for disregarding LFP. If you select this option, LFP data in the combined file will not be updated (in case it has been processed previously) or completely left out (if it hasn't been processed before). Use this option as long as you are resorting. You can also add LFP dat at a later point.

Create Excel entries

Check “CreateExcelEntries” for creating/updating the automatic sorting sheet of the respective Excel sorting table with the selected data (sessions). Only works after you did all the preceding steps.

ephys_pipeline/phys_gui.1641907452.txt.gz · Last modified: 2022/12/29 07:15 (external edit)