Converts a sensorSpectra object to a Sensor object. A sensor object exists alongside a wavelength ratio (e.g. 410/470), so this function must be supplied those (in the form lambda_1/lambda_2)

newSensorFromSpectra(sensorSpectra, lambda_1, lambda_2)

Arguments

sensorSpectra

A sensorSpectra object

lambda_1

the first wavelength in the excitation ratio lambda_1/lambda_2

lambda_2

the second wavelength in the excitation ratio lambda_1/lambda_2

Value

A Sensor object