Package wiat :: Package TM
[hide private]
[frames] | no frames]

Source Code for Package wiat.TM

 1  # coding: latin-1 
 2  # 
 3  # Copyright 2008 Antoine Lefebvre 
 4  # 
 5  # This file is part of "The Wind Instrument Acoustic Toolkit". 
 6  # 
 7  # "The Wind Instrument Acoustic Toolkit" is free software: 
 8  # you can redistribute it and/or modify it under the terms of 
 9  # the GNU General Public License as published by the 
10  # Free Software Foundation, either version 3 of the License, or 
11  # (at your option) any later version. 
12  # 
13  # "The Wind Instrument Acoustic Toolkit" is distributed in the hope 
14  # that it will be useful, but WITHOUT ANY WARRANTY; without even 
15  # the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
16  # See the GNU General Public License for more details. 
17  # 
18  # You should have received a copy of the GNU General Public License 
19  # along with "The Wind Instrument Acoustic Toolkit". 
20  # If not, see <http://www.gnu.org/licenses/>. 
21  # 
22  # All rights reserved. 
23   
24  """ Transmission Matrix (TM) acoustic input impedance calculation. 
25   
26      This package is used for the calculation of the frequency response of wind 
27      music instrument. It is based on the discretization of instrument air  
28      columns into cylindrical and conical sections, with and without toneholes.  
29   
30      The following references discuss the method: 
31       
32          1. Plitnik, G. R., & Strong, W. J. (1979).  
33             Numerical method for calculating input impedances of the oboe.  
34             The Journal of the Acoustical Society of America, 65(3), 816-825. 
35   
36          2. Caussé, R., Kergomard, J., & Lurton, X. (1984). 
37             Input impedance of brass musical instruments -  
38             Comparaison between experimental and numerical models.  
39             J. Acoust. Soc. Am., 75, 241-254. 
40   
41      The Instrument class and CalculateImpedance functions, defined in the Inst 
42      module, contains the core of the methode. The Waveguides, ToneHole, and 
43      Radiation modules implement the transmission matrices used in the 
44      calculation. Boundary layer losses are taken into account. 
45   
46  """ 
47   
48  __version__ = "0.0.0.1" 
49  __author__ = "Antoine Lefebvre" 
50  __credits__ = "FQRNT" 
51  __license__ = "GPLv3" 
52   
53  import Waveguides 
54  from Waveguides import * 
55   
56  import Radiation as r 
57  from Radiation import * 
58   
59  import Inst 
60  from Inst import * 
61   
62  import Functions as func 
63  from Functions import * 
64   
65  __all__ = [] 
66  __all__ += Waveguides.__all__ 
67  __all__ += r.__all__ 
68  __all__ += Inst.__all__ 
69  __all__ += func.__all__ 
70