geoprior.params.FixedGammaW#

class geoprior.params.FixedGammaW(value=9810.0, name=None, non_negative=True, **kws)[source]#

Bases: BaseFixed

Fixed scalar for the (effective) unit weight of water \(\gamma_w\).

Used in \(s_{\mathrm{eq}}(h) = m_v\,\gamma_w\,\Delta h\,H\). Treated as a constant (non-trainable); in most applications \(\gamma_w \approx 9{,}810\ \mathrm{N\,m^{-3}}\).

Internally we keep \(\log(\gamma_w)\) for numerical stability and return \(\gamma_w\) via get_value().

Parameters:
  • value (float, default 9810.0) – Value for \(\gamma_w\) [N m^-3]. Must be positive.

  • name (str, optional) – Variable name.

  • non_negative (bool, default True) – Ensures the value cannot be negative.

__init__(value=9810.0, name=None, non_negative=True, **kws)[source]#
Parameters:

Methods

__init__([value, name, non_negative])

from_config(config)

Re-instantiate from configuration dict.

get_config()

Return a JSON-serialisable dict for tf.keras serialization.

get_value()

Retrieve the fixed parameter value.

__init__(value=9810.0, name=None, non_negative=True, **kws)[source]#
Parameters: