|
1 | | -# <img src="assets/psychrolib_logo.svg" alt="PsychroLib Logo" height="40" width="40"> PsychroLib [](https://pypi.org/project/PsychroLib) [](https://www.nuget.org/packages/PsychroLib) [](https://cran.r-project.org/package=psychrolib) |
| 1 | +<div align="center"> |
| 2 | +<img src="assets/psychrolib_logo.svg" alt="PsychroLib Logo" height="80" width="80"> |
2 | 3 |
|
| 4 | +<!-- omit in toc --> |
| 5 | +# PsychroLib |
3 | 6 |
|
4 | | -|CI and Tests | Paper DOI | Software DOI | |
5 | | -|---|---|------| |
6 | | -[](https://travis-ci.com/psychrometrics/psychrolib) | [](https://doi.org/10.21105/joss.01137) | [](https://doi.org/10.5281/zenodo.2537945)| |
| 7 | +[](https://pypi.org/project/PsychroLib) [](https://www.nuget.org/packages/PsychroLib) [](https://cran.r-project.org/package=psychrolib) [](https://travis-ci.com/psychrometrics/psychrolib) [](https://doi.org/10.21105/joss.01137) [](https://doi.org/10.5281/zenodo.2537945) |
7 | 8 |
|
8 | | -PsychroLib is a library of functions to enable the calculation of psychrometric properties of moist and dry air. Versions of PsychroLib are available for Python, C, C#, Fortran, R, JavaScript, Microsoft Excel Visual Basic for Applications (VBA). The library works in both metric (SI) and imperial (IP) systems of units. For a general overview and a list of currently available functions, please see the [overview page](docs/overview.md). |
| 9 | +[Overview](#overview) | [Documentation](#documentation) | [Installation](#installation) | [How to cite](#how-to-cite) | [Contributing](#contributing) | [Development](#development) | [Copyright and license](#copyright-and-license) | [Acknowledgements](#acknowledgements) |
| 10 | + |
| 11 | +</div> |
| 12 | + |
| 13 | + |
| 14 | +## Overview |
| 15 | + |
| 16 | +PsychroLib is a software library to enable the calculation of psychrometric properties of moist and dry air. Versions of PsychroLib are available for Python, C, C#, Fortran, R, JavaScript, Microsoft Excel Visual Basic for Applications (VBA). PsychroLib works in both metric (SI) and imperial (IP) systems of units. For a general overview and a list of currently available functions, please see the [overview page](docs/overview.md). |
9 | 17 |
|
10 | 18 |
|
11 | 19 | ## Documentation |
12 | 20 |
|
13 | | -The API documentation is available [here](https://psychrometrics.github.io/psychrolib/api_docs.html). Please note that although the API describes the Python version of the library, the API is common across all the supported language implementations. In R please note that (1) constants, like `ZERO_FAHRENHEIT_AS_RANKINE` are not exported (i.e. not directly accessible to users), (2) functions accept a vector, not a scalar (3) bulk calculations, like `CalcPsychrometricsFromRelHum` return a list. |
| 21 | +Please see the [Python API documentation](https://psychrometrics.github.io/psychrolib/api_docs.html) for the common API across all the supported language implementations. In Python, array support and improved runtime performance can be optionally enabled by installing [Numba](https://numba.pydata.org/). In R (1) constants, like `ZERO_FAHRENHEIT_AS_RANKINE` are not exported (i.e. not directly accessible to users), (2) functions accept a vector, not a scalar (3) bulk calculations, like `CalcPsychrometricsFromRelHum` return a list. |
14 | 22 |
|
15 | 23 | Examples on how to use PsychroLib in all the supported languages are described in [this guide](docs/examples.md). |
16 | 24 |
|
17 | 25 |
|
18 | | -## Installing |
| 26 | +## Installation |
19 | 27 |
|
20 | | -- Python: from the [Python Package Index (PyPI)](https://pypi.org/project/PsychroLib/). |
| 28 | +- Python: from the [Python Package Index (PyPI)](https://pypi.org/project/PsychroLib/). [Numba](https://numba.pydata.org/) can be optionally installed to enable array support and faster runtime performance. |
21 | 29 | - C# (.NET): from the [NuGet package](https://www.nuget.org/packages/PsychroLib/) manager or clone the repository, and bundle according to your requirements. |
22 | 30 | - C, Fortran and JavaScript: clone the repository, and bundle according to your requirements. |
23 | 31 | - VBA/Excel: download the ready-made spreadsheets from the [release tab](https://github.com/psychrometrics/psychrolib/releases). |
24 | 32 | - R: from the [Comprehensive R Archive Network (CRAN)](https://cran.r-project.org/package=psychrolib). |
25 | 33 |
|
26 | 34 |
|
27 | | -## Citing |
| 35 | +## How to cite |
| 36 | + |
| 37 | +When using PsychroLib, please cite the software summary paper and software version using the following Digital Object Identifiers (DOIs) to [generate citations in your preferred style](https://citation.crosscite.org/): |
| 38 | + |
| 39 | +| Software summary paper | Software version* | |
| 40 | +| ----------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | |
| 41 | +| [](https://doi.org/10.21105/joss.01137) | [](https://doi.org/10.5281/zenodo.2537945) | |
28 | 42 |
|
29 | | -If you are using PsychroLib, please cite the the summary paper (https://doi.org/10.21105/joss.01137) *together* with the specific version of PsychroLib you are using (see [list on Zenodo](https://doi.org/10.5281/zenodo.2537945) for all available versions). |
| 43 | +*please make sure to cite the same version you are using with the correct DOI. For a list of all available versions see see [more on Zenodo]((https://doi.org/10.5281/zenodo.2537945)). |
30 | 44 |
|
31 | 45 |
|
32 | 46 | ## Contributing |
|
0 commit comments