A transforming m/z wrapper around spectrum access using a quadratic equation.
More...
|
| SpectrumAccessQuadMZTransforming (OpenSwath::SpectrumAccessPtr sptr, double a, double b, double c, bool ppm) |
| Constructor. More...
|
|
| ~SpectrumAccessQuadMZTransforming () override |
|
boost::shared_ptr< OpenSwath::ISpectrumAccess > | lightClone () const override |
| Light clone operator to produce a copy for concurrent read access. More...
|
|
OpenSwath::SpectrumPtr | getSpectrumById (int id) override |
| Return a pointer to a spectrum at the given id. More...
|
|
| SpectrumAccessTransforming (OpenSwath::SpectrumAccessPtr sptr) |
|
| ~SpectrumAccessTransforming () override=0 |
|
OpenSwath::SpectrumPtr | getSpectrumById (int id) override |
| Return a pointer to a spectrum at the given id. More...
|
|
OpenSwath::SpectrumMeta | getSpectrumMetaById (int id) const override |
| Returns the meta information for a spectrum. More...
|
|
std::vector< std::size_t > | getSpectraByRT (double RT, double deltaRT) const override |
| Return a vector of ids of spectra that are within RT +/- deltaRT. More...
|
|
size_t | getNrSpectra () const override |
| Returns the number of spectra available. More...
|
|
OpenSwath::ChromatogramPtr | getChromatogramById (int id) override |
| Return a pointer to a chromatogram at the given id. More...
|
|
size_t | getNrChromatograms () const override |
| Returns the number of chromatograms available. More...
|
|
std::string | getChromatogramNativeID (int id) const override |
| Returns the native id of the chromatogram at the given id. More...
|
|
virtual | ~ISpectrumAccess () |
| Destructor. More...
|
|
SpectrumPtr | getSpectrumById (int id, double drift_start, double drift_end) |
| Return pointer to a spectrum at the given id, the spectrum will be filtered by drift time. More...
|
|
SpectrumSequence | getMultipleSpectra (double RT, int nr_spectra_to_fetch) |
|
SpectrumSequence | getMultipleSpectra (double RT, int nr_spectra_to_fetch, double drift_start, double drift_end) |
|
A transforming m/z wrapper around spectrum access using a quadratic equation.
For each spectrum access, each m/z value is transformed using the equation mz = a + b * mz + c * mz^2
This can be used to implement an on-line mass correction for TOF instruments (for example).
Light clone operator to produce a copy for concurrent read access.
This function guarantees to produce a copy of the underlying object that provides thread-safe concurrent read access to the underlying data. It should be implemented with minimal copy-overhead to make this operation as fast as possible.
To use this function, each thread should call this function to produce an individual copy on which it can operate.
Implements SpectrumAccessTransforming.