fdtdx.DtypeConversion

Bases: CompressionModule

Compression module that converts data types of field values.

This module changes the data type of field values while preserving their shape, useful for reducing memory usage or meeting precision requirements.

Attributes:
  • dtype (dtype) –

    Target data type for conversion.

  • exclude_filter (Sequence[str]) –

    List of field names to exclude from conversion.