Package aerocalc
[frames] | no frames]

Source Code for Package aerocalc

 1  #!/usr/bin/python 
 2  # -*- coding: utf-8 -*- 
 3  # ############################################################################# 
 4  # Copyright (c) 2008, Kevin Horton 
 5  # All rights reserved. 
 6  # Redistribution and use in source and binary forms, with or without 
 7  # modification, are permitted provided that the following conditions are met: 
 8  # * 
 9  #     * Redistributions of source code must retain the above copyright 
10  #       notice, this list of conditions and the following disclaimer. 
11  #     * Redistributions in binary form must reproduce the above copyright 
12  #       notice, this list of conditions and the following disclaimer in the 
13  #       documentation and/or other materials provided with the distribution. 
14  #     * The name of Kevin Horton may not be used to endorse or promote products 
15  #       derived from this software without specific prior written permission. 
16  # * 
17  # THIS SOFTWARE IS PROVIDED BY KEVIN HORTON ``AS IS'' AND ANY EXPRESS OR 
18  # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 
19  # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO 
20  # EVENT SHALL KEVIN HORTON BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
21  # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
22  # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 
23  # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
24  # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 
25  # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 
26  # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
27  # ############################################################################# 
28  # 
29  # version 0.11, 25 Apr 2008 
30  # 
31  # Version History: 
32  # vers     date      Notes 
33  # 0.10   17 Mar 08   Initial version. 
34  # 
35  # 0.11   25 Apr 08   Added ssec module (mostly empty yet) 
36  # ############################################################################# 
37  # 
38  # Distribution Notes 
39  # 
40  # HTML docs are created with epydoc, via 
41  # "epydoc --no-private -n AeroCalc -u 'http://www.kilohotel.com/python/aerocalc/' aerocalc" 
42  # 
43  # Generate distribution - "python setup.py sdist" 
44  # 
45  # ############################################################################# 
46   
47  """Various aeronautical engineering calculations 
48   
49  This package contains the following modules: 
50   
51  airspeed  -       airspeed conversions and calculations.  Provides interactive 
52                    mode when run directly, e.g. 'python airspeed.py' 
53  default_units -   defines default units to be used by all modules.  May be  
54                    overridden by a user units file. 
55  ssec -            static source error correction calculations 
56  std_atm -         standard atmosphere parametres and calculations 
57  unit_conversion - convert various aeronautical parametres between commonly 
58                    used units 
59  val_input -       validates user input when in interactive mode 
60   
61  Author: Kevin Horton 
62  E-mail: kevin01 -at- kilohotel.com 
63  """ 
64   
65  VERSION = '0.11' 
66