-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c1abf65
commit 3e990cc
Showing
3 changed files
with
45 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,36 @@ | ||
# ISA_Calculator | ||
# ISA Calculator | ||
Basic ISA Calculator for Python projects | ||
|
||
Contents: | ||
- Atmospheric Model up to 120km | ||
- Accurate Calculations for Temperature, Pressure and Density | ||
|
||
|
||
With this module, it is possible to calculate, using the 1976 standard atmosphere model, the Temperature, | ||
Density and Pressure at any point in the atmosphere from 0 up to 120,000 [m]. | ||
|
||
This package is useful for Aerospace and Aeronautical Engineers who wish to run simulations. | ||
|
||
To use this package, follow these steps: | ||
|
||
- Install isacalc | ||
- Import isacalc as isa | ||
- Define the Atmosphere Model: isa.get_atmosphere() | ||
- Calculate the Temperature, Pressure and Density at height h using isa.calculate_at_h(h, atmosphere_model) | ||
|
||
And thats it! An example Script: | ||
|
||
|
||
import isacalc as isa | ||
|
||
atmosphere = isa.get_atmosphere() | ||
h = 50000.0 | ||
|
||
h, T, P, d = isa.calculate_at_h(h, atmosphere) | ||
|
||
|
||
Planned Future Features: | ||
|
||
- Atmosphere Model Customization | ||
- Mach number and viscosity calculations | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,18 @@ | ||
from distutils.core import setup | ||
|
||
|
||
def readme(): | ||
with open('README.md') as f: | ||
return f.read() | ||
|
||
|
||
setup( | ||
name = 'isacalc', # How you named your package folder (MyLib) | ||
packages = ['isacalc'], # Chose the same as "name" | ||
version = 'v1.0.2', # Start with a small number and increase it with every change you make | ||
license='GNU GPLv3', # Chose a license from here: https://help.github.com/articles/licensing-a-repository | ||
description = 'Standard International Atmosphere Calculator', # Give a short description about your library | ||
long_description=readme(), | ||
author = 'Luke de Waal', # Type in your name | ||
author_email = '[email protected]', # Type in your E-Mail | ||
url = 'https://github.com/LukeDeWaal/ISA_Calculator', # Provide either the link to your github or to your website | ||
|