ProteoWizard
Public Types | Public Member Functions | List of all members
pwiz::analysis::DemuxSolver Class Referenceabstract

Interface for solver that can be used for demultiplexing. More...

#include <DemuxSolver.hpp>

Inheritance diagram for pwiz::analysis::DemuxSolver:
pwiz::analysis::NNLSSolver

Public Types

typedef boost::shared_ptr< DemuxSolverptr
 Shared pointer definition. More...
 
typedef boost::shared_ptr< const DemuxSolverconst_ptr
 Constant shared pointer definition. More...
 

Public Member Functions

virtual void Solve (const MatrixPtr &masks, const MatrixPtr &signal, MatrixPtr &solution)=0
 Perform the least squares solve. More...
 
virtual ~DemuxSolver ()
 

Detailed Description

Interface for solver that can be used for demultiplexing.

This is done by solving least squares problems of the form

\[ \min \left\Vert Ax-b\right\Vert_2^2\quad \]

where A are the masks (or design matrix), b is the signal (or response), and x is the solution discovered by the solver.

Definition at line 32 of file DemuxSolver.hpp.

Member Typedef Documentation

◆ ptr

typedef boost::shared_ptr<DemuxSolver> pwiz::analysis::DemuxSolver::ptr

Shared pointer definition.

Definition at line 37 of file DemuxSolver.hpp.

◆ const_ptr

typedef boost::shared_ptr<const DemuxSolver> pwiz::analysis::DemuxSolver::const_ptr

Constant shared pointer definition.

Definition at line 40 of file DemuxSolver.hpp.

Constructor & Destructor Documentation

◆ ~DemuxSolver()

virtual pwiz::analysis::DemuxSolver::~DemuxSolver ( )
inlinevirtual

Definition at line 49 of file DemuxSolver.hpp.

49 {}

Member Function Documentation

◆ Solve()

virtual void pwiz::analysis::DemuxSolver::Solve ( const MatrixPtr masks,
const MatrixPtr signal,
MatrixPtr solution 
)
pure virtual

Perform the least squares solve.

Parameters
[in]masksDesign matrix describing which isolation windows are selected for each spectrum.
[in]signalResponse matrix describing the signal of each transition in each multiplexed spectrum.
[out]solutionMatrix describing the independent spectrum of each isolation window. These are the demultiplexed spectra.

Implemented in pwiz::analysis::NNLSSolver.


The documentation for this class was generated from the following file: