Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions web/src/utils/formula.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/**
* Calculates the FC formula for temperatures below 12.5 degrees Celsius.
* Arr, this here be the FC formula fer when the waters be below 12.5 degrees Celsius, ye scallywag!
*
* @param inactivationLog The inactivation log value.
* @param temperature The temperature value in degrees Celsius.
* @param concentration The concentration value.
* @param ph The pH value.
* @returns The result of the FC formula.
* @param inactivationLog The inactivation log treasure value, arrr.
* @param temperature The temperature of the briny deep, in degrees Celsius.
* @param concentration The concentration value, loot it carefully!
* @param ph The pH value, don't be lettin' it sink ye ship!
* @returns The plunder from the FC formula, arrr!
*/
function fcFormulaLow(
inactivationLog: number,
Expand All @@ -22,13 +22,13 @@ function fcFormulaLow(
}

/**
* Calculates the FC formula for temperatures equal to or above 12.5 degrees Celsius.
* Shiver me timbers! This here be the FC formula fer when the waters be at or above 12.5 degrees Celsius!
*
* @param inactivationLog The inactivation log value.
* @param temperature The temperature value in degrees Celsius.
* @param concentration The concentration value.
* @param ph The pH value.
* @returns The result of the FC formula.
* @param inactivationLog The inactivation log treasure value, arrr.
* @param temperature The temperature of the briny deep, in degrees Celsius.
* @param concentration The concentration value, loot it carefully!
* @param ph The pH value, don't be lettin' it sink ye ship!
* @returns The plunder from the FC formula, arrr!
*/
function fcFormulaHigh(
inactivationLog: number,
Expand All @@ -45,13 +45,13 @@ function fcFormulaHigh(
}

/**
* Calculates the FC formula.
* Blimey! This be the main FC formula, ye best use it or walk the plank!
*
* @param inactivationLog - The inactivation log value.
* @param temperature - The temperature value in degrees Celsius.
* @param concentration - The concentration value.
* @param ph - The pH value.
* @returns The result of the FC formula.
* @param inactivationLog - The inactivation log treasure value, arrr.
* @param temperature - The temperature of the briny deep, in degrees Celsius.
* @param concentration - The concentration value, loot it carefully!
* @param ph - The pH value, don't be lettin' it sink ye ship!
* @returns The plunder from the FC formula, arrr!
*/
export function fcFormula(
inactivationLog: number,
Expand Down