# RSKreadcalibrations.m

**Arguments**

**Input**

-Required-

`RSK`

**Output **

`RSK`

Each sensor has a calculated set of calibration coefficients stored in the logger. This function adds a `calibrations`

field to the RSK structure, which contains the most current calibration coefficients.

Within the `calibrations`

field there are many other fields:

`calibrationID`

: Identifies the calibration.`channelOrder`

: Indicates which channel (sensor) is associated with which coefficients.`type`

: Describes how the coefficients were calculated. The most common is 'factory'. That means RBR calculated the coefficients.`tstamp`

: The time of the calibration calculation in datenum.`equation`

: The calibration equation used to calculate the coefficients.`c0...c23, x0...x10, n0...n3`

: The coefficients values.

Example:

rsk = RSKreadcalibrations(rsk)

Below is an example of the result of the `calibrations`

field added by `RSKreadcalibrations`

:

calibrationID | channelOrder | type | tstamp | equation | c0 | c1 | c2 | c3 | ... etc. |
---|---|---|---|---|---|---|---|---|---|

1 | 1 | 'factory' | 7.3644e+05 | corr_cond | 0.0179 | 153.7237 | - | - | ... |

2 | 2 | 'factory' | 7.3644e+05 | tmp | 0.0034 | -2.5581e-04 | 2.3594e-06 | -7.9667e-08 | ... |

3 | 3 | 'factory' | 7.3644e+05 | corr_pres2 | 8.8327 | 1.0845e+03 | -3.1193 | -20.6206 | ... |

4 | 4 | 'factory' | 7.3644e+05 | corr_rinkoBT | -2.4380 | 0.9221 | - | - | ... |

5 | 5 | 'factory' | 7.3644e+05 | tmp | 0.0034 | -2.7651e-04 | 2.3594e-06 | -1.1700e-06 | ... |

RSKtools is not able to recalculate the data if the calibration coefficients are changed. These actions must be performed in Ruskin.