6#include <OpenMS/config.h>
21 class FullSwathFileConsumer;
46 class OPENMS_DLLAPI BrukerTimsFile :
public ProgressLogger
52 double calibration_tolerance = 0.0;
53 bool calibrate =
false;
55 float ms1_centroid_mz_ppm = 0.0f;
56 float ms1_centroid_im_pct = 0.0f;
58 int dia_ms2_n_neighbors = 0;
59 int dia_ms2_min_support = 1;
60 bool dia_ms2_centroid =
false;
62 enum ExportMode { AUTO, SPECTRUM, FRAME };
63 ExportMode export_mode = AUTO;
67 enum class TimsCalibrationStrategy { AUTO, BRUKER_SDK, RATIONAL, LINEAR };
68 TimsCalibrationStrategy tims_calibration_strategy = TimsCalibrationStrategy::AUTO;
73 enum class PressureCompensation {
NONE, GLOBAL, PER_FRAME };
74 PressureCompensation pressure_compensation = PressureCompensation::NONE;
78 std::string bruker_sdk_path;
82 struct DIAStreamingMetadata
84 std::vector<OpenSwath::SwathMap> boundaries;
85 int nr_ms1_spectra = 0;
86 std::vector<int> nr_ms2_spectra;
91 DIAStreamingMetadata readDIAMetadata(
const String& path, ExperimentalSettings& exp_settings);
93 DIAStreamingMetadata readDIAMetadata(
const String& path, ExperimentalSettings& exp_settings,
94 const Config& config);
99 void loadDIAStreaming(
const String& path, FullSwathFileConsumer& consumer);
101 void loadDIAStreaming(
const String& path, FullSwathFileConsumer& consumer,
102 const Config& config);
105 void load(
const String& path, MSExperiment& exp);
107 void load(
const String& path, MSExperiment& exp,
const Config& config);
112 void transform(
const String& path, Interfaces::IMSDataConsumer* consumer);
114 void transform(
const String& path, Interfaces::IMSDataConsumer* consumer,
const Config& config);
118 void loadDDA_(TimsDataHandle& handle, MSExperiment& exp,
const Config& config);
121 void loadDIA_(TimsDataHandle& handle, MSExperiment& exp,
const Config& config);
124 void loadFrames_(TimsDataHandle& handle, MSExperiment& exp,
const Config& config);
127 bool isDIA_(
const String& tdf_path)
const;
130 void loadExperimentalSettings_(
const String& path, ExperimentalSettings& settings);
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19