ecl-logo Documentation

PathLength

PathLength[blankDistance,sampleDistance]pathLength

returns a blanked pathLength given a blankDistance and sampleDistance.

PathLength[volume,volumeCalibration]pathLength

returns a 'pathlength' when given a volume, using the inverse of a volumeCalibration fit between path length and volume to do so.

PathLength[emptyAbsorbance,sampleAbsorbance,pathLengthCalibration]pathLength

returns a 'pathlength' when given an emptyAbsorbance and sampleAbsorbance, using a 'pathLengthcalibration' fit between absorbance and path length to do so.

Details

    Input
    Output
    General Options
    Messages
  • BlankSmallerThanSampleThe provided blank distance, `1`, is smaller than the provided sample distance, `2`. As path length is being determined assuming an above-sample reference point, the blank distance is expected to be larger than the sample distance.
    MismatchedEmptyAndSampleLenghts`1` empty absorbance data objects were provided, and `2` sample absorbance objects. These lists must match in length in order for blanking and path length calculation to proceed properly.
    NonLinearPathLengthFitThe provided volume calibration object, `1`, contains a fit that is non-linear and not suitable for inversion to create a volume-to-pathlength fit. Please provide a calibration with a linear fit function.

Examples

Basic Examples  (4)

When provided a blank and sample distance, subtracts the sample from the blank to return path length:

When provided with a volume and a volume calibration, inverts the volume calibration to return path length:

Provide empty absorbance and sample datas along with an absorbance-to-pathlength calibration to return path length:

Lists of empty and sample absorbances can be provided:

Options  (2)

MaxRamanScattering  (1)

The maximum raman scattering distance where the calibrations are being done:

MinRamanScattering  (1)

The minimum raman scattering distance where the calibrations are being done:

Messages  (3)

BlankSmallerThanSample  (1)

A soft message will be thrown if the provided blank is less than the sample:

MismatchedEmptyAndSampleLenghts  (1)

The function will fail if the empty and sample absorbance lists do not match in length:

NonLinearPathLengthFit  (1)

If the fit function in the path length to volume calibration is non-linear, the function will fail: