OpenMS
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 
16 namespace OpenMS
17 {
18 
31  class OPENMS_DLLAPI SwathWindowLoader
32  {
33 
34  public:
35 
50  static void annotateSwathMapsFromFile(const std::string& filename,
51  std::vector<OpenSwath::SwathMap>& swath_maps,
52  bool do_sort,
53  bool force);
54 
76  static void readSwathWindows(const std::string& filename,
77  std::vector<double>& swath_prec_lower,
78  std::vector<double>& swath_prec_upper);
79  };
80 }
81 
Class to read a file describing the Swath Windows.
Definition: SwathWindowLoader.h:32
static void annotateSwathMapsFromFile(const std::string &filename, std::vector< OpenSwath::SwathMap > &swath_maps, bool do_sort, bool force)
Annotate a Swath map using a Swath window file specifying the individual windows.
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