aiolos-commissioning-tools

data reduction tools for general aerodynamic measurements


License
MIT
Install
pip install aiolos-commissioning-tools==0.2.8

Documentation

aiolos-commissioning-tools

Latest PyPI version

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

  1. commit changes to git:

    $ git add .

    $ git commit -m "commit message"

  2. Increment version:

    $ bumpversion <major|minor|patch>

  3. Push to github:

    $ git push <remote_name> <branch_name>

    $ git push origin master

  4. Creating distribution archives:

    $ python3 -m pip install --upgrade setuptools wheel

    $ python3 setup.py sdist bdist_wheel

  5. Uploading to PyPI:

    $ python3 -m twine upload dist/*

Installation

python3 -m pip install aiolos-commissioning-tools

Requirements

  1. "numpy"
  2. "matplotlib"
  3. "scipy"
  4. "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.