xopto.materials.density.sucrose module¶
- class Lit(t: float = 297.45)[source]¶
Bases:
xopto.materials.density.base.Density
- Density of sucrose as measured by:
LST: calibrated density bottle (ISOLAB Laborgeräte GmbH, Eschau, Germany)
- Parameters
t (float) – Default temperature (K) of the medium. Defaults to 297.45 K (24.3 C).
- check_brix(brix: float)[source]¶
Check if the Brix value is within valid range and display a warning if not.
- Parameters
brix (float or np.ndarray) – Degree Brix value (1 Brix equals 1 g of sucrose in 100 g of solution). Defaults to 0 Brix, i.e. pure water.
- is_valid_brix(brix: float) → bool[source]¶
Check if the Brix value is within the valid range.
- Parameters
brix (float or np.ndarray) – Degree Brix value (1 Brix equals 1 g of sucrose in 100 g of solution). Defaults to 0 Brix, i.e. pure water.
- Returns
valid – True if the Brix value is within the valid range.
- Return type
bool
- material = 'sucrose'¶