FieldMetadata¶
- class lsst.ts.salobj.FieldMetadata(name: str, description: str | None, units: str | None, type_name: str, array_length: int | None)¶
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.
- name