|
OpenMS
2.6.0
|
Go to the documentation of this file.
77 template <
typename SpectrumType>
84 for (ConstIterator it = spectrum.begin(); it != spectrum.end(); ++it)
86 TIC += it->getIntensity();
OpenMS::Interfaces::SpectrumPtr getSpectrumById(Size id)
returns a single spectrum
Definition: OnDiscMSExperiment.h:209
Base class for TOPP applications.
Definition: TOPPBase.h:144
boost::shared_ptr< Spectrum > SpectrumPtr
Definition: openms/include/OpenMS/INTERFACES/DataStructures.h:236
PeakMap MapType
Definition: PeakPickerIterative.cpp:84
The interface of a consumer of spectra and chromatograms.
Definition: IMSDataConsumer.h:69
Definition: MRMScoring.h:49
A class to load an indexedmzML file.
Definition: IndexedMzMLFileLoader.h:53
static void readSpectrumFast(OpenSwath::BinaryDataArrayPtr &data1, OpenSwath::BinaryDataArrayPtr &data2, std::ifstream &ifs, int &ms_level, double &rt)
fast access to a spectrum (a direct copy of the data into the provided arrays)
Definition: CachedMzMLHandler.h:140
Description of the experimental settings.
Definition: ExperimentalSettings.h:59
File adapter for MzML files.
Definition: MzMLFile.h:55
A more convenient string class.
Definition: String.h:59
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:77
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
void setOptions(const PeakFileOptions &)
set options for loading/storing
static bool getProcessMemoryConsumption(size_t &mem_virtual)
Size size() const
Definition: MSExperiment.h:127
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
PeakFileOptions & getOptions()
Mutable access to the options for loading/storing.
Size getNrSpectra() const
get the total number of spectra available
Definition: OnDiscMSExperiment.h:164
void load(const String &filename, PeakMap &map)
Loads a map from a MzML file. Spectra and chromatograms are sorted by default (this can be disabled u...
Representation of a mass spectrometry experiment on disk.
Definition: OnDiscMSExperiment.h:68
A FilterFunctor extracts some spectrum characteristics for quality assessment.
Definition: FilterFunctor.h:44
The datastructures used by the OpenSwath interfaces.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/DataStructures.h:67
bool load(const String &filename, OnDiscPeakMap &exp)
Load a file.
Definition: IndexedMzMLFileLoader.h:82
void setSkipXMLChecks(bool skip)
sets whether to skip some XML checks and be fast instead
Definition: OnDiscMSExperiment.h:251
boost::shared_ptr< BinaryDataArray > BinaryDataArrayPtr
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/DataStructures.h:79
MSSpectrum SpectrumType
Definition: MzDataHandler.h:60
bool split(const char splitter, std::vector< String > &substrings, bool quote_protect=false) const
Splits a string into substrings using splitter as delimiter.
void setFillData(bool only)
sets whether to fill the actual data into the container (spectrum/chromatogram)
double apply(SpectrumType &spectrum)
Definition: TICFilter.h:78
static const String getProductName()
Definition: TICFilter.h:92
bool openFile(const String &filename, bool skipMetaData=false)
Open a specific file on disk.
Definition: OnDiscMSExperiment.h:92
int main(int argc, const char **argv)
Definition: INIFileEditor.cpp:73
const std::vector< std::streampos > & getSpectraIndex() const
Access to a constant copy of the binary spectra index.
void createMemdumpIndex(String filename)
Create an index on the location of all the spectra and chromatograms.
ptrdiff_t SignedSize
Signed Size type e.g. used as pointer difference.
Definition: Types.h:134
#define OPENMS_LOG_ERROR
Macro to be used if non-fatal error are reported (processing continues)
Definition: LogStream.h:455
TICFilter calculates TIC.
Definition: TICFilter.h:48
MSChromatogram ChromatogramType
Definition: MzDataHandler.h:61
void transform(const String &filename_in, Interfaces::IMSDataConsumer *consumer, bool skip_full_count=false, bool skip_first_pass=false)
Transforms a map while loading using the supplied MSDataConsumer.
Options for loading files containing peak data.
Definition: PeakFileOptions.h:47
void setAlwaysAppendData(bool only)
The representation of a chromatogram.
Definition: MSChromatogram.h:54
void setSkipXMLChecks(bool only)
sets whether to skip some XML checks and be fast instead
ContainerType::const_iterator ConstIterator
Non-mutable iterator.
Definition: MSSpectrum.h:128
The representation of a 1D spectrum.
Definition: MSSpectrum.h:67
void setOptions(const PeakFileOptions &)
set options for loading/storing
void setMaxDataPoolSize(Size size)
Set maximal size of the data pool.
An class that uses on-disk caching to read and write spectra and chromatograms.
Definition: CachedMzMLHandler.h:66
PeakFileOptions & getOptions()
Mutable access to the options for loading/storing.
void setLogType(LogType type) const
Sets the progress log that should be used. The default type is NONE!
static FilterFunctor * create()
Definition: TICFilter.h:74