Liking cljdoc? Tell your friends :D

brewtility.calculations

Namespace for handling recipe calculations. This namespace assumes ingredients that conform to the common-beer-format.

Namespace for handling recipe calculations.
This namespace assumes ingredients that conform to the common-beer-format.
raw docstring

calculate-alpha-acid-unitsclj/s

(calculate-alpha-acid-units weight alpha)

Calculate the maximum amount of alpha acid released by weight ounce of a hop at percent alpha acid

Calculate the maximum amount of alpha acid released by `weight` ounce of a hop at `percent` alpha acid
sourceraw docstring

calculate-ebc-colorclj/s

Given a collection of common-beer-format conforming fermentables, and a conformed batch-size in liters, return the EBC color for a recipe

Given a collection of `common-beer-format` conforming `fermentables`, and a conformed `batch-size` in liters, return the EBC color for a recipe
sourceraw docstring

calculate-hop-utilizationclj/s

(calculate-hop-utilization gravity boil-duration)

Calculate the percentage of alpha acid that a hop could release over boil-duration in a wort at a specific gravity Based on: http://howtobrew.com/book/section-1/hops/hop-bittering-calculations

Calculate the percentage of alpha acid that a hop could release over `boil-duration` in a wort at a specific `gravity`
Based on: http://howtobrew.com/book/section-1/hops/hop-bittering-calculations
sourceraw docstring

calculate-ibu-per-hopclj/s

(calculate-ibu-per-hop hop batch-size potential-gravity)

Given a common-beer-format conforming hop, batch-size, and potential-gravity, calculate the amount of IBUs generated

Given a `common-beer-format` conforming `hop`, `batch-size`, and `potential-gravity`, calculate the amount of IBUs generated
sourceraw docstring

calculate-lovibond-colorclj/s

Given a collection of common-beer-format conforming fermentables, and a conformed batch-size in liters, return the color in degrees Lovibond for a recipe

Given a collection of `common-beer-format` conforming `fermentables`, and a conformed `batch-size` in liters, return the color in degrees Lovibond for a recipe
sourceraw docstring

calculate-malt-color-unitsclj/s

(calculate-malt-color-units fermentables batch-size)

Given a collection of common-beer-format conforming fermentables, and a conformed batch-size in liters, return the overall Malt Color Units for a recipe

Given a collection of `common-beer-format` conforming `fermentables`, and a conformed `batch-size` in liters, return the overall Malt Color Units for a recipe
sourceraw docstring

calculate-potential-abvclj/s

(calculate-potential-abv fermentables batch-size)
(calculate-potential-abv fermentables batch-size attenuation)

Given a collection of common-beer-format conforming fermentables, and a conformed batch-size in liters, estimate the ABV. The primary fermentation yeast's attenuation may also be passed, otherwise 75% is assumed.

Given a collection of `common-beer-format` conforming `fermentables`, and a conformed `batch-size` in liters, estimate the ABV.
The primary fermentation yeast's `attenuation` may also be passed, otherwise 75% is assumed.
sourceraw docstring

calculate-potential-final-gravityclj/s

(calculate-potential-final-gravity fermentables batch-size)
(calculate-potential-final-gravity fermentables batch-size attenuation)

Given a collection of common-beer-format conforming fermentables, and a conformed batch-size in liters, estimate the Final Gravity. The primary fermentation yeast's attenuation may also be passed, otherwise 75% is assumed.

Given a collection of `common-beer-format` conforming `fermentables`, and a conformed `batch-size` in liters, estimate the Final Gravity.
The primary fermentation yeast's `attenuation` may also be passed, otherwise 75% is assumed.
sourceraw docstring

calculate-potential-gravityclj/s

(calculate-potential-gravity fermentables batch-size)

Given a collection of common-beer-format conforming fermentables, and a conformed batch-size in liters, calculate the potential original gravity.

Given a collection of `common-beer-format` conforming `fermentables`, and a conformed `batch-size` in liters, calculate the potential original gravity.
sourceraw docstring

calculate-recipe-ibusclj/s

(calculate-recipe-ibus hops batch-size potential-gravity)

Given a collection of common-beer-format conforming hops, batch-size, and potential-gravity calculate the amount of IBUs generated

Given a collection of `common-beer-format` conforming `hops`, `batch-size`, and `potential-gravity` calculate the amount of IBUs generated
sourceraw docstring

calculate-rgba-colorclj/s

Given a collection of common-beer-format conforming fermentables, and a conformed batch-size in liters, return the RGBA color for a recipe

Given a collection of `common-beer-format` conforming `fermentables`, and a conformed `batch-size` in liters, return the RGBA color for a recipe
sourceraw docstring

calculate-srm-colorclj/s

(calculate-srm-color fermentables batch-size)

Given a collection of common-beer-format conforming fermentables, and a conformed batch-size in liters, return the SRM color for a recipe

Given a collection of `common-beer-format` conforming `fermentables`, and a conformed `batch-size` in liters, return the SRM color for a recipe
sourceraw docstring

default-attenuationclj/s

source

gravity->abv-multiplierclj/s

source

gravity-points->potential-gravityclj/s

(gravity-points->potential-gravity gravity-points volume)

Given the gravity-points of a recipe, and the volume of the batch, calculate the potential gravity

Given the `gravity-points` of a recipe, and the `volume` of the batch, calculate the potential gravity
sourceraw docstring

normalize-fermentableclj/s

(normalize-fermentable fermentable)

Given a common-beer-format conforming fermentable, normalize it for color computation

Given a `common-beer-format` conforming `fermentable`, normalize it for color computation
sourceraw docstring

potential-gravity->gravity-pointsclj/s

(potential-gravity->gravity-points potential-gravity weight)

Given the potential-gravity of a fermentable, and the weight of the fermentable, calculate gravity points

Given the `potential-gravity` of a fermentable, and the `weight` of the fermentable, calculate gravity points
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close