OpenMS
SwathWindowLoader.h
Go to the documentation of this file.
1 // Copyright (c) 2002-2023, The OpenMS Team -- 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 
74  static void readSwathWindows(const std::string& filename,
75  std::vector<double>& swath_prec_lower,
76  std::vector<double>& swath_prec_upper);
77  };
78 }
79 
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)
Reading a tab delimited file specifying the SWATH windows.
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22