make_symmetry_functions() does not have 'offsets'

Issue #235 new
Rene Czepluch created an issue

Hi I tried following the example code for make_symmetry_functions():

import numpy as np
from amp import Amp
from amp.descriptor.gaussian import Gaussian, make_symmetry_functions
from amp.model.neuralnetwork import NeuralNetwork

elements = ['Cu', 'Pt']
G = make_symmetry_functions(elements=elements, type='G2',
                            etas=np.logspace(np.log10(0.05), np.log10(5.),
                                             num=4),
                            offsets=[0., 2.])

However this gives an error:

TypeError: make_symmetry_functions() got an unexpected keyword argument 'offsets'

Comments (0)

  1. Log in to comment