Error_E: What is the error in redox potential at a given redox...

Description Usage Arguments Value Examples

View source: R/utils.R View source: R/extra/helpers_scratch.R View source: R/extra/error_table_from_spectra.R View source: R/extra/error_table_from_params.R

Description

What is the error in redox potential at a given redox potential (mV), given some parameters of R and the error in R?

Usage

1
Error_E(E, Rmin, Rmax, delta, e0, error_R, temp = 295.15)

Arguments

E

the redox potential

Rmin

the minimum possible ratiometric fluorescence

Rmax

the maximum possible ratiometric fluorescence

delta

the ratiometric fluorescence in the first wavelength

e0

the sensor's midpoint potential

error_R

a function that, given an R, returns the error in that R

temp

the temperature at which measurements were made

Value

A list with (1) 'E', the given redox potential, (2) 'larger_E', the largest possible E, at the given error (3) 'smaller_E', the smallest possible E, at the given error (4) 'max_error' the largest possible difference between the observed and expected E

Examples

1
Error_E(E = -275, Rmin = 1, Rmax = 5, delta = 0.2, e0 = -275, error_R = function(x) 0.02 * x)

julianstanley/SensorOverlord documentation built on Oct. 19, 2020, 2:29 p.m.