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.
Arguments
- nirsData
(DATAFRAME) NIRS data that has been imported using the
import_nirs
function.
Examples
if (FALSE) {
nirsData <- import_nirs("path/to/nir/file.nir")
nirsData <- remove_ambient(nirsData)
}