espaloma.mm.functional.linear_mixture

espaloma.mm.functional.linear_mixture(x, coefficients, phases=[0.0, 1.0])[source]

Linear mixture basis function.

x : torch.Tensor coefficients : list or torch.Tensor of length 2 phases : list of length 2