lumos.brdf.tools.pack_binomial_parameters

lumos.brdf.tools.pack_binomial_parameters(n, m, l1, l2, *params)[source]

Convert list into B & C matrices, which can then be passed to the Binomial Model

Parameters:
  • n (int) – n

  • m (int) – m

  • l1 (int) – l1

  • l2 (int) – l2, ensure l2 > l1

  • params (list[float]) – list of values

Returns:

B, C, d

Return type:

np.ndarray, np.ndarray, float