24#ifndef _REGIONSLICE_HPP_
25#define _REGIONSLICE_HPP_
72 static const char*
id() {
return "slice";}
73#define SLICE_INDEX_ARG "index"
74#define SLICE_SCAN_ARG "sn"
75#define SLICE_RETENTIONTIME_ARG "rt"
76#define SLICE_MZRANGE_ARG "mz"
77 static const char*
description() {
return "write data from a rectangular region";}
81 std::vector<std::string> result;
#define SLICE_RETENTIONTIME_ARG
#define SLICE_MZRANGE_ARG
#define TABULARCONFIG_DELIMITER_USAGE_STR
#define TABULARCONFIG_DELIMITER_OPTIONS_STR
Interface for MSData analyzers.
simple memory cache for common MSData info
writes data samples from a single rectangular region
boost::shared_ptr< RegionAnalyzer > regionAnalyzer_
RegionSlice(const MSDataCache &cache, const Config &config)
virtual void close(const DataInfo &dataInfo)
end analysis of the data
const MSDataCache & cache_
virtual void open(const DataInfo &dataInfo)
start analysis of the data
virtual UpdateRequest updateRequested(const DataInfo &dataInfo, const SpectrumIdentity &spectrumIdentity) const
ask analyzer if it wants an update
virtual void update(const DataInfo &dataInfo, const Spectrum &spectrum)
analyze a single spectrum
information about the data to be analyzed
Config(const std::string &args)
static const char * argsFormat()
static const char * description()
static std::vector< std::string > argsUsage()
This auxilliary class should be specialized for MSDataAnalyzers whose instantiation is controlled by ...
The structure that captures the generation of a peak list (including the underlying acquisitions)
Identifying information for a spectrum.