Function trx::append_dps_to_directory

Function Documentation

void trx::append_dps_to_directory(const std::string &directory, const std::map<std::string, TypedArray> &dps, bool overwrite = true)

Append per-streamline data arrays to an existing TRX directory.

Creates the dps/ subdirectory if absent, then writes one binary file per array.

Parameters:
  • directory – Path to an existing TRX directory.

  • dps – Map from array name to TypedArray.

  • overwrite – If false, existing files with the same name are skipped (default: true).

Throws:

TrxIOError – on any I/O failure.