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

« back to all changes in this revision

Viewing changes to pyOpenMS/pxds/Weights.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 Types cimport *
 
2
from libcpp cimport bool
 
3
from libcpp.vector cimport vector as libcpp_vector
 
4
from IMSIsotopeDistribution cimport *
 
5
 
 
6
cdef extern from "<OpenMS/CHEMISTRY/MASSDECOMPOSITION/IMS/Weights.h>" namespace "OpenMS::ims::Weights":
 
7
 
 
8
    ctypedef double alphabet_mass_type
 
9
    ctypedef long unsigned int weight_type
 
10
    ctypedef libcpp_vector[weight_type] weights_type
 
11
 
 
12
cdef extern from "<OpenMS/CHEMISTRY/MASSDECOMPOSITION/IMS/Weights.h>" namespace "OpenMS::ims":
 
13
    
 
14
    cdef cppclass IMSWeights "OpenMS::ims::Weights":
 
15
        IMSWeights() nogil except +
 
16
        IMSWeights(IMSWeights) nogil except +
 
17
        # IMSWeights(alphabet_masses_type & masses, alphabet_mass_type precision) nogil except +
 
18
        size_type size() nogil except +
 
19
        weight_type getWeight(size_type i) nogil except +
 
20
        void setPrecision(alphabet_mass_type precision) nogil except +
 
21
        alphabet_mass_type getPrecision() nogil except +
 
22
        # weight_type operator[](size_type i) nogil except +
 
23
        weight_type back() nogil except +
 
24
        alphabet_mass_type getAlphabetMass(size_type i) nogil except +
 
25
        alphabet_mass_type getParentMass(libcpp_vector[ unsigned int ] & decomposition) nogil except +
 
26
        void swap(size_type index1, size_type index2) nogil except +
 
27
        bool divideByGCD() nogil except +
 
28
        alphabet_mass_type getMinRoundingError() nogil except +
 
29
        alphabet_mass_type getMaxRoundingError() nogil except +
 
30