emod_config_func
grav_coeff_guess(exp_vals, ln_offset=None)
Helper function to calculate approximate gravity model coefficients for a list of gravity model exponents. Fit using empirical correlation. Ought to be tuned with data; should be adequate as an initial guess.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
exp_vals
|
list[float]
|
List of gravity model exponent values. |
required |
ln_offset
|
list[float]
|
List of offsets for each exponent. Adjusts the calculated constant based on a log-scale offset. |
None
|
Returns:
| Type | Description |
|---|---|
list[float]
|
Estimated gravity model coffefficient for each gravity model exponent provided in input. |