ph_calibration | R Documentation |
Fit pH calibration parameters and generate new configuration file
This function estimates pH calibration parameters using Sea-Bird's calibration equation.
ph_calibration(
ph,
temperature,
ph_voltage,
xmlcon_in,
xmlcon_out = NULL,
ph_serial_number
)
ph |
ph of the reference standard |
temperature |
Reference standard temperature in degrees celcisus |
ph_voltage |
Measured pH channel voltage at the reference standard |
xmlcon_in |
Filepath to the current CTD configuration file. |
xmlcon_out |
Filepath to the output CTD configuration file. |
ph_serial_number |
Serial number for the pH sensor (typically four digits.) |
Sean Rohan
# Example of pH calibration with a demo file
ph_calibration(xmlcon_in = system.file("./extdata/example/SBE19plusV2_8106_ph_DO_leg2.xmlcon", package = "gapctd"),
ph_serial_number = 9090,
ph_voltage = c(1.977, 2.797, 3.534),
ph = c(4, 7, 10),
temperature = 23)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.