This function will remove the ambient light channel from the NIRs data. It is not required to do this, but it can make the data easier to work with.

remove_ambient(nirsData)

Arguments

nirsData

(DATAFRAME) NIRS data that has been imported using the import_nirs function.

Value

A dataframe with the ambient light channel removed.

See also

Examples

if (FALSE) {
nirsData <- import_nirs("path/to/nir/file.nir")
nirsData <- remove_ambient(nirsData)
}