Sequence
- class ase2sprkkr.common.grammar_types.arrays.Sequence(*types, format='', format_all=False, allowed_values=None, default_values=False, names=None, as_list=False, **kwargs)[source]
A sequence of values of given types
Class hierarchy
Constructor
- __init__(*types, format='', format_all=False, allowed_values=None, default_values=False, names=None, as_list=False, **kwargs)[source]
- array_access = True
The value of this type can be accessed as array
- property value_type
- static is_the_same_value(a, b)
The numpy arrays cannot be compared by =, that’s why this method. However, the method is still far from to be perfect, it can not compare nested numpy arrays.