lfp_data {LeadSense} | R Documentation |
Extract and summarize LFP data
Description
This function extracts and summarizes LFP (Local Field Potential) data from a JSON-like dataset.
Usage
lfp_data(dataset = NULL)
Arguments
dataset |
A JSON object/list loaded into the work environment. If NULL, attempts to load the default dataset from the LeadSense package. |
Value
A structured LFP dataset including:
Power in each frequency band
LFP Frequency vs Magnitude for each electrode
Time-domain signals for all sequences in the LFP montage
Examples
lfp_dataset <- lfp_data(dataset)
print(lfp_dataset$band_power_results)
print(lfp_dataset$structured_lfp_dataset)
[Package LeadSense version 0.0.2.0 Index]