FieldMetadata¶
- class lsst.ts.salobj.FieldMetadata(name: str, description: str | None, units: str | None, type_name: str, array_length: int | None)¶
Bases:
object
Information about a field.
- Parameters:
- name
str
Field name.
- description
str
orNone
Description;
None
if not specified.- units
str
orNone
Units;
None
if 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