Skip to content

Commit

Permalink
Description Update
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeDeWaal committed Apr 12, 2019
1 parent c1abf65 commit 3e990cc
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 1 deletion.
32 changes: 31 additions & 1 deletion README.md
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

6 changes: 6 additions & 0 deletions isacalc/main_executable.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,9 @@ def calculate_at_h(h: float, atmosphere_model: Atmosphere = get_atmosphere()) ->
return atmosphere_model.calculate(h)


if __name__ == "__main__":

atmosphere = get_atmosphere()
h = 50000.0

h, T, P, d = calculate_at_h(h, atmosphere)
8 changes: 8 additions & 0 deletions setup.py
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
Expand Down

0 comments on commit 3e990cc

Please sign in to comment.