877da731f2447d979ccc2312734d1d7b190e37c2,regtests/soap.py,SoapTests,test_crossover,#SoapTests#,134
Before Change
// desc = SOAP(species=[1, 8], rbf="polynomial", crossover=True, rcut=3, nmax=5, lmax=5, periodic=False)
desc = SOAP(species=[1, 8], rbf="polynomial", crossover=True, rcut=3, nmax=1, lmax=1, periodic=False)
n_elem_feat = desc.get_number_of_element_features()
full_output = desc.create(H2O)
desc.crossover = False
partial_output = desc.create(H2O)
print(full_output[0, :])
print(partial_output[0, :])
// self.assertTrue(np.array_equal(full_output[:, 0:n_elem_feat], partial_output[:, 0:n_elem_feat]))
// self.assertTrue(np.array_equal(full_output[:, 2*n_elem_feat:], partial_output[:, n_elem_feat:]))
After Change
positions=[
[0, 0, 0],
[0.95, 0, 0],
[0.95*(1+math.cos(76/180*math.pi)), 0.95*math.sin(76/180*math.pi), 0.0]
],
symbols=["H", "O", "H"],
)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: SINGROUP/dscribe
Commit Name: 877da731f2447d979ccc2312734d1d7b190e37c2
Time: 2019-12-17
Author: lauri.himanen@aalto.fi
File Name: regtests/soap.py
Class Name: SoapTests
Method Name: test_crossover
Project Name: matplotlib/matplotlib
Commit Name: 655b588bd9dff86993b4f5a24c44c81f2465b022
Time: 2019-03-08
Author: jklymak@gmail.com
File Name: examples/images_contours_and_fields/watermark_image.py
Class Name:
Method Name:
Project Name: matplotlib/matplotlib
Commit Name: 754cfba75452535c201f9ac13aed091e6932cd84
Time: 2019-03-07
Author: anntzer.lee@gmail.com
File Name: examples/images_contours_and_fields/watermark_image.py
Class Name:
Method Name: