aiolos-commissioning-tools
data reduction tools for general aerodynamic measurements
Usage
code_instrumentation.timer
add the following to any function or scope in a program and the execution time will be logged (must use logging library and add the "code_instrumentation.timer" logger)
>>> from code_instrumentation.timer import timer >>> _ = timer.Timer()
commissoning_tools.units
the unit conversions are to be used when importing data to convert the data to base SI units. e.g.:
>>> import commissoning_tools.units as units >>> p = read(data_file_pressures_psi) * units.psi # Yeilds a pressure value in Pascals >>> t = read(data_file_temperatre_C) + units.celsius # Yeilds a temperature value in Kelvin
- base units are:
- length --> meter, m
- time --> second, s
- mass --> kilogram, kg
- temperature --> Kelvin
derived units use only the base. i.e. velocity is m/s, pressure is Pa (N/m^2)
Package Maintenance
-
commit changes to git:
$ git add .
$ git commit -m "commit message"
-
Increment version:
$ bumpversion <major|minor|patch>
-
Push to github:
$ git push <remote_name> <branch_name>
$ git push origin master
-
Creating distribution archives:
$ python3 -m pip install --upgrade setuptools wheel
$ python3 setup.py sdist bdist_wheel
-
Uploading to PyPI:
$ python3 -m twine upload dist/*
Installation
python3 -m pip install aiolos-commissioning-tools
Requirements
- "numpy"
- "matplotlib"
- "scipy"
- "pandas"
Versions
current version: 0.2.6
changes:
current version: 0.2.6 : updated fluid_dynamics_relationships function library to accept either scalars or numpy arrays
Compatibility
Licence
Authors
aiolos-commissioning-tools was written by Christopher Sooriyakumaran.