通用气动测量数据简化工具
aiolos-commissioning-tools的Python项目详细描述
通用气动测量数据简化工具
使用
代码_仪表.计时器在
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()
调试_工具.单位在
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)
机组维护
提交对git的更改:
在$ git add .
$ git commit -m “commit message”
增量版本:
在$ bumpversion <major|minor|patch>
推送至github:
在$ git push <remote_name> <branch_name>
$ git push origin master
创建分发存档:
在$ python3 -m pip install –upgrade setuptools wheel
$ python3 setup.py sdist bdist_wheel
上传到PyPI:
在$ python3 -m twine upload dist/*
安装
python3 -m pip install aiolos-commissioning-tools
要求
- “numpy”
- “matplotlib”
- “scipy”
- “pandas”
版本
8.0.2款
更改:
0.2.5 : added @np.vectorize decorator to fluid_dynamics_relationships functions to accept either scalar or np.ndarray inputs and return the same type
兼容性
许可证
- 项目
标签: