R/signal_summary.R
signal_summary.RdThis function will generate a summary of the signal data to view weak and saturated channels. The output contains the optode, the status of the min and max signal values, the status of the mean signal value, and whether there are any NA values in the signal data. It is meant as a quick way to check the quality of the signal data. Can be used in conjunction with visual inspection to determine low quality channels.
signal_summary(nirsData, min = 1000, max = 4000)(DATAFRAME) NIRS data that has been imported using the import_nirs function.
The lower value for the signal data to be considered "weak". Default is 1000.
The upper value for the signal data to be considered "saturated". Default is 4000.
A dataframe with the signal summary.
if (FALSE) {
nirsData <- import_nirs("path/to/nir/file.nir")
nirsData <- signal_summary(nirsData)
}