An element feature table (rows,features) whose row Z belongs to atomic number Z.
Parameters:
spec (str, path, mapping or array) – "onehot" (the identity of n_elements rows, a learned embedding
per element), a JSON file in the authors’ atom_init.json format,
a mapping of atomic numbers to vectors, or an array of rows.
n_elements (int, optional) – Rows of the "onehot" table, by default 101.
Returns:
The table in float64; elements a file or mapping leaves out have zeros.