OpenMS
Loading...
Searching...
No Matches
PeptDeepCCSInference.h
Go to the documentation of this file.
1// Copyright (c) 2002-present, OpenMS Team -- EKU Tuebingen, ETH Zurich, and FU Berlin
2// SPDX-License-Identifier: BSD-3-Clause
3//
4// --------------------------------------------------------------------------
5// $Maintainer: Timo Sachsenberg $
6// $Authors: Satyam Yadav, Justin Sing $
7// --------------------------------------------------------------------------
8
9#pragma once
10
11#include <OpenMS/config.h>
13
14#include <string>
15#include <vector>
16
17namespace OpenMS
18{
20 class OPENMS_DLLAPI PeptDeepCCSInference
21 {
22 public:
27 explicit PeptDeepCCSInference(const std::string& model_path, int intra_op_threads = 4, size_t batch_size = 500);
28
31
37 std::vector<float> predictCCS(
38 const std::vector<std::string>& peptides,
39 const std::vector<float>& charges);
40
41 private:
44 };
45} // namespace OpenMS
Definition ONNXPredictorBase.h:28
Inference engine for PeptDeep collisional cross section prediction.
Definition PeptDeepCCSInference.h:21
size_t batch_size_
Definition PeptDeepCCSInference.h:43
PeptDeepCCSInference(const std::string &model_path, int intra_op_threads=4, size_t batch_size=500)
Constructor initializes the ONNX session with the specified model graph.
std::vector< float > predictCCS(const std::vector< std::string > &peptides, const std::vector< float > &charges)
Predicts CCS values for a batch of unmodified peptide sequences.
~PeptDeepCCSInference()
Destructor.
ONNXPredictorBase model_
Definition PeptDeepCCSInference.h:42
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19