SHiP Field Service
Framework-agnostic C++20 library exposing SHiP magnetic field maps.
Loading...
Searching...
No Matches
SHiP::FieldMapWriteOptions Struct Reference

#include <FieldMapIO.h>

Public Attributes

unsigned truncated_bits = 0
 Store field values with only this many bits (10 to 31) of each float, dropping low mantissa bits, to shrink the file.
 

Member Data Documentation

◆ truncated_bits

unsigned SHiP::FieldMapWriteOptions::truncated_bits = 0

Store field values with only this many bits (10 to 31) of each float, dropping low mantissa bits, to shrink the file.

0 keeps full float32. Readers always get float, whatever the setting.


The documentation for this struct was generated from the following file: