type_from_set_map
Full name: ase2sprkkr.potentials.test.grammar_types.type_from_set_map
- ase2sprkkr.potentials.test.grammar_types.type_from_set_map = {<class 'float'>: <SetOf>, <class 'int'>: <SetOf>, <class 'numpy.float32'>: <SetOf>, <class 'numpy.int32'>: <SetOf>}
Map the python type of a collection member to a grammar type of the collection.
Only canonical types are expected, see
ase2sprkkr.common.grammar_types.normalize_type()