~ubuntu-branches/ubuntu/wily/openms/wily

« back to all changes in this revision

Viewing changes to pyOpenMS/pxds/ItraqConstants.pxd

  • Committer: Package Import Robot
  • Author(s): Filippo Rusconi
  • Date: 2013-12-20 11:30:16 UTC
  • mfrom: (5.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20131220113016-wre5g9bteeheq6he
Tags: 1.11.1-3
* remove version number from libbost development package names;
* ensure that AUTHORS is correctly shipped in all packages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from libcpp.vector cimport vector as libcpp_vector
 
2
from libcpp cimport bool
 
3
from Types cimport *
 
4
from Map cimport *
 
5
from Peak2D cimport *
 
6
from String cimport *
 
7
from StringList cimport *
 
8
from Matrix cimport *
 
9
 
 
10
# ctypedef Map<Int, ChannelInfo> ChannelMapType; 
 
11
# ctypedef std::vector<Matrix<double> > IsotopeMatrices;
 
12
cdef extern from "<OpenMS/ANALYSIS/QUANTITATION/ItraqConstants.h>" namespace "OpenMS":
 
13
    
 
14
    cdef cppclass ItraqConstants "OpenMS::ItraqConstants":
 
15
        ItraqConstants() nogil except + 
 
16
        ItraqConstants(ItraqConstants) nogil except + #wrap-ignore
 
17
        # Int CHANNEL_COUNT()
 
18
        # Int CHANNELS_FOURPLEX()
 
19
        # Int CHANNELS_EIGHTPLEX()
 
20
        # Int CHANNELS_TMT_SIXPLEX()
 
21
        # double ISOTOPECORRECTIONS_FOURPLEX()
 
22
        # double ISOTOPECORRECTIONS_EIGHTPLEX()
 
23
        # double ISOTOPECORRECTIONS_TMT_SIXPLEX()
 
24
        StringList getIsotopeMatrixAsStringList(int itraq_type, libcpp_vector[Matrix[double] ] & isotope_corrections) nogil except +
 
25
        void updateIsotopeMatrixFromStringList(int itraq_type, StringList & channels, libcpp_vector[Matrix[double] ] & isotope_corrections) nogil except +
 
26
        # void initChannelMap(int itraq_type, ChannelMapType & map_) nogil except +
 
27
        # void updateChannelMap(StringList & active_channels, ChannelMapType & map_) nogil except +
 
28
        Matrix[ double ] translateIsotopeMatrix(int & itraq_type, libcpp_vector[Matrix[double] ] & isotope_corrections) nogil except +
 
29
 
 
30
cdef extern from "<OpenMS/ANALYSIS/QUANTITATION/ItraqConstants.h>" namespace "OpenMS::ItraqConstants":
 
31
 
 
32
    cdef enum ITRAQ_TYPES:
 
33
 
 
34
        FOURPLEX, EIGHTPLEX, TMT_SIXPLEX, SIZE_OF_ITRAQ_TYPES
 
35
 
 
36
    cdef cppclass ChannelInfo "OpenMS::ItraqConstants::ChannelInfo":
 
37
        ChannelInfo(ChannelInfo) nogil except + #wrap-ignore
 
38
        # TODO string variable
 
39
        # String description
 
40
        Int name
 
41
        Int id
 
42
        DoubleReal center
 
43
        bool active
 
44