traj_forces = np.array(traj_forces)
// Create SOAP output for the system
descriptors = []
derivatives = []
for t in traj:
i_derivative, i_descriptor = soap.derivatives_single(t, positions=[CENTER], method="numerical")
descriptors.append(i_descriptor[0])
derivatives.append(i_derivative[0])
descriptors = np.array(descriptors)
derivatives = np.array(derivatives)
// Save to disk for later training
np.save("r.npy", r)