75bbea353c6e6e51166f4a51350ca6a35bd31040,regtests/soap.py,SoapTests,test_poly_integration,#SoapTests#,932

Before Change


        // Calculate the analytical power spectrum and the weights and decays of
        // the radial basis functions.
        soap = SOAP(species=species, lmax=lmax, nmax=nmax, sigma=sigma, rcut=rcut, rbf="polynomial", crossover=True, sparse=False)
        analytical_power_spectrum = soap.create(system, positions=[[0, 0, 0]])[0]

        coeffs = np.zeros((n_elems, nmax, lmax+1, 2*lmax+1))
        for iZ, Z in enumerate(elements):
            indices = np.argwhere(species == Z)[0]

After Change


        // the radial basis functions.
        soap = SOAP(species=species, lmax=lmax, nmax=nmax, sigma=sigma, rcut=rcut, rbf="polynomial", crossover=True, sparse=False)
        // analytical_power_spectrum = soap.create(system, positions=[[0, 0, 0]])[0]
        print(soap.get_number_of_features())

        coeffs = np.zeros((n_elems, nmax, lmax+1, 2*lmax+1))
        for iZ, Z in enumerate(elements):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: SINGROUP/dscribe
Commit Name: 75bbea353c6e6e51166f4a51350ca6a35bd31040
Time: 2020-06-17
Author: lauri.himanen@gmail.com
File Name: regtests/soap.py
Class Name: SoapTests
Method Name: test_poly_integration


Project Name: SINGROUP/dscribe
Commit Name: 4684fe6e9faa803be38368236a487242227ae83c
Time: 2019-04-17
Author: lauri.himanen@aalto.fi
File Name: examples/soap.py
Class Name:
Method Name:


Project Name: SINGROUP/dscribe
Commit Name: cdb76d08d62b70bae6dda946c607017bfbee29f6
Time: 2021-02-03
Author: lauri.himanen@gmail.com
File Name: dscribe/descriptors/soap.py
Class Name: SOAP
Method Name: create