Home | Trees | Indices | Help |
|
---|
|
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.10, 17 Mar 2008 30 # 31 # Version History: 32 # vers date Notes 33 # 0.10 17 Mar 08 Initial version. 34 # ############################################################################# 35 # 36 # To Do: 1. Add option to use config file in user's home directory to override 37 # default_units.py. 38 # 39 # ############################################################################# 40 41 """ 42 Defines the default units to be used for various modules. 43 """ 44 45 default_area_units = 'ft**2' 46 default_avgas_units = 'lb' 47 default_density_units = 'lb/ft**3' 48 default_length_units = 'ft' 49 default_power_units = 'hp' 50 default_press_units = 'in HG' 51 default_speed_units = 'kt' 52 default_temp_units = 'C' 53 default_weight_units = 'lb' 54 default_vol_units = 'ft**3' 55 56 default_alt_units = default_length_units 57
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Apr 26 08:11:23 2008 | http://epydoc.sourceforge.net |