FixedPointNumber
- class ase2sprkkr.outputs.test.grammar_types.basic.FixedPointNumber(prefix=None, postfix=None, format='', after_format=None, default_value=None, condition=None, after_convert=None, description='', min=None, max=None)[source]
Class hierarchy
Constructor
- Parameters:
prefix (str | None)
postfix (str | None)
format (str)
after_format (str | None)
default_value (Any)
condition (Callable[[Any], bool | str] | None)
after_convert (Callable[[Any], Any] | None)
min (int | None)
max (int | None)
- __init__(prefix=None, postfix=None, format='', after_format=None, default_value=None, condition=None, after_convert=None, description='', min=None, max=None)
- Parameters:
min (int | None) – Minimal allowed value.
max (int | None) – Maximal allowed value.
prefix (str | None)
postfix (str | None)
format (str)
after_format (str | None)
default_value (Any)
condition (Callable[[Any], bool | str] | None)
after_convert (Callable[[Any], Any] | None)
- numpy_type
alias of
int
- allowed_types = (<class 'numpy.int64'>, <class 'numpy.int32'>, <class 'int'>)
- datatype
alias of
int
- datatype_name = 'fixedpointnumber'