FieldMetadata¶
-
class
lsst.ts.salobj.FieldMetadata(name, description, units, type_name, array_length, str_length)¶ Bases:
objectInformation about a field.
Parameters: - name :
str Field name.
- description :
strorNone Description;
Noneif not specified.- units :
strorNone Units;
Noneif not specified.- type_name :
str Data type name from the IDL file, e.g. “string<8>”, “float”, “double”. This may not match the Python data type of the field. For instance dds maps most integer types to
int, and both “float” and “double” todouble.- array_length :
int Number of elements if an array; None if not an array.
- str_length :
int Maximum allowed string length; None if unspecified (no limit) or not a string.
- name :