OpenMS
Loading...
Searching...
No Matches
SwathWindowLoader.h
Go to the documentation of this file.
1// Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
2// SPDX-License-Identifier: BSD-3-Clause
3//
4// --------------------------------------------------------------------------
5// $Maintainer: Hannes Roest$
6// $Authors: Hannes Roest$
7// --------------------------------------------------------------------------
8
9#pragma once
10
11#include <OpenMS/config.h>
13
14#include <vector>
15
16namespace OpenMS
17{
18
37 class OPENMS_DLLAPI SwathWindowLoader
38 {
39
40 public:
41
79 static void annotateSwathMapsFromFile(const std::string& filename,
80 std::vector<OpenSwath::SwathMap>& swath_maps,
81 bool do_sort,
82 bool force);
83
113 static void readSwathWindows(const std::string& filename,
114 std::vector<double>& swath_prec_lower,
115 std::vector<double>& swath_prec_upper);
116 };
117}
118
Definition SwathWindowLoader.h:38
static void annotateSwathMapsFromFile(const std::string &filename, std::vector< OpenSwath::SwathMap > &swath_maps, bool do_sort, bool force)
Overwrite the lower/upper precursor boundaries of swath_maps with the windows read from filename.
static void readSwathWindows(const std::string &filename, std::vector< double > &swath_prec_lower, std::vector< double > &swath_prec_upper)
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19