Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions

XMassFile Class Reference
[File IO]

File adapter for 'XMass Analysis (fid)' files. More...

#include <OpenMS/FORMAT/XMassFile.h>

Inheritance diagram for XMassFile:
ProgressLogger

List of all members.

Public Member Functions

 XMassFile ()
 Default constructor.
virtual ~XMassFile ()
 Destructor.
template<class PeakType >
void load (const String &filename, MSSpectrum< PeakType > &spectrum)
 Loads a spectrum from a XMass file.
template<class PeakType >
void importExperimentalSettings (const String &filename, MSExperiment< PeakType > &exp)
 Import settings from a XMass file.
template<typename SpectrumType >
void store (const String &, const SpectrumType &)
 Stores a spectrum in a XMass file (not avaible).

Detailed Description

File adapter for 'XMass Analysis (fid)' files.

XMass Analysis files is native format for Bruker spectrometer Flex Series.
Each spectrum are saved in one directory. Each directory contains several files. We use 2 files for import in OpenMS :
acqus : contains meta data about calibration (conversion for time to mz ratio), instrument specification and acquisition method.
fid : contains intensity array. Intensity for each point are coded in 4 bytes integer.

Note:
MZ ratio are calculed with forumla based on article :
A database application for pre-processing, storage and comparison of mass spectra derived from patients and controls
Mark K Titulaer, Ivar Siccama, Lennard J Dekker, Angelique LCT van Rijswijk, Ron MA Heeren, Peter A Sillevis Smitt, and Theo M Luider
BMC Bioinformatics. 2006; 7: 403
http://www.pubmedcentral.nih.gov/picrender.fcgi?artid=1594579&blobtype=pdf

Constructor & Destructor Documentation

XMassFile (  ) 

Default constructor.

virtual ~XMassFile (  )  [virtual]

Destructor.


Member Function Documentation

void importExperimentalSettings ( const String filename,
MSExperiment< PeakType > &  exp 
) [inline]
void load ( const String filename,
MSSpectrum< PeakType > &  spectrum 
) [inline]
void store ( const String ,
const SpectrumType &   
) [inline]

Stores a spectrum in a XMass file (not avaible).

Exceptions:
Exception::FileNotWritable is thrown

OpenMS / TOPP release 1.10.0 Documentation generated on Thu Mar 7 2013 09:42:54 using doxygen 1.7.1