Skip to main content

Module utility

Module utility 

Source

Structs§

CompressedFrame
One frame’s worth of writer output: the statistics the TDF Frames row needs, plus the zstd-compressed payload ready to append to analysis.tdf_bin.

Functions§

build_compressed_frames
The whole per-frame TDF writer pipeline — m/z → TOF and 1/K0 → scan conversion, (scan, tof) dedup, interleave into the Bruker layout, zstd — for a batch of frames, over a rayon pool.
compress_collection
flatten_scan_values
get_data_for_compression
get_data_for_compression_par
get_peak_cnts
get_realdata
get_realdata_loop
merge_ranges
modify_tofs
parse_decompressed_bruker_binary_data
Parses the decompressed bruker binary data
reconstruct_compressed_data
sort_dedup_scan_tof
Deduplicate (scan, tof) pairs (summing their intensities) and return the arrays sorted ascending by (scan, tof).
zstd_compress
Compresses a byte array using ZSTD
zstd_decompress
Decompresses a ZSTD compressed byte array