csv_to_spike: Get spikes from .csv file of raw data.

Description Usage Arguments Value

View source: R/Analyse_real_data.R

Description

Get spikes from .csv file of raw data.

Usage

1
2
3
4
5
6
7
8
csv_to_spike(
  filename,
  time.step = 2,
  transients = 2000,
  spike.occur = 0.6,
  closeness = 40,
  rm.trend = TRUE
)

Arguments

filename

path to the csv file .

time.step

Vector of time from the time series data, or if step size is regular the time step of the experiment.

transients

transient periods where we want to remove spikes.

spike.occur

threshold where we record spikes.

closeness

Value which if two spikes are within this distance they are merged.

rm.trend

Flag, where if TRUE we remove linear trends.

Value

data frame containing spike sequences as columns.


JPNotts/Package documentation built on Oct. 5, 2021, 2:04 p.m.