nomogram 0.2.0__tar.gz → 0.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {nomogram-0.2.0 → nomogram-0.3.0}/PKG-INFO +14 -3
- {nomogram-0.2.0 → nomogram-0.3.0}/README.md +13 -2
- {nomogram-0.2.0 → nomogram-0.3.0}/pyproject.toml +1 -1
- {nomogram-0.2.0 → nomogram-0.3.0}/pyproject.toml.orig +1 -1
- nomogram-0.3.0/src/nomogram/catalog.py +2262 -0
- {nomogram-0.2.0 → nomogram-0.3.0}/src/nomogram/comparison.py +12 -2
- {nomogram-0.2.0 → nomogram-0.3.0}/src/nomogram/data/NOTICE.md +6 -3
- nomogram-0.3.0/src/nomogram/data/catalog/core.toml +184 -0
- nomogram-0.3.0/src/nomogram/data/catalog/humidity.toml +12 -0
- nomogram-0.3.0/src/nomogram/data/catalog/moist-air.toml +323 -0
- nomogram-0.3.0/src/nomogram/data/catalog/radio.toml +325 -0
- nomogram-0.3.0/src/nomogram/data/catalog/sea-water.toml +656 -0
- nomogram-0.3.0/src/nomogram/data/catalog/verifications.json +133 -0
- nomogram-0.2.0/src/nomogram/data/catalog/humidity.toml → nomogram-0.3.0/src/nomogram/data/catalog/water-vapour.toml +379 -332
- {nomogram-0.2.0 → nomogram-0.3.0}/src/nomogram/data/semantics.json +324 -21
- nomogram-0.3.0/src/nomogram/dimensions.py +544 -0
- nomogram-0.3.0/src/nomogram/display.py +728 -0
- {nomogram-0.2.0 → nomogram-0.3.0}/src/nomogram/expression.py +160 -8
- {nomogram-0.2.0 → nomogram-0.3.0}/src/nomogram/inversion.py +124 -19
- nomogram-0.3.0/src/nomogram/model.py +1218 -0
- {nomogram-0.2.0 → nomogram-0.3.0}/src/nomogram/plot.py +79 -18
- nomogram-0.3.0/src/nomogram/relations.py +986 -0
- nomogram-0.3.0/src/nomogram/search.py +792 -0
- nomogram-0.2.0/src/nomogram/catalog.py +0 -535
- nomogram-0.2.0/src/nomogram/model.py +0 -646
- {nomogram-0.2.0 → nomogram-0.3.0}/LICENSE +0 -0
- {nomogram-0.2.0 → nomogram-0.3.0}/src/nomogram/__init__.py +0 -0
- {nomogram-0.2.0 → nomogram-0.3.0}/src/nomogram/py.typed +0 -0
- {nomogram-0.2.0 → nomogram-0.3.0}/src/nomogram/semantics.py +0 -0
- {nomogram-0.2.0 → nomogram-0.3.0}/src/nomogram/units.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nomogram
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: Repository of scientific formulas: notations, units, validity domains
|
|
5
5
|
Keywords: scientific computing,formulas,units,dimensional analysis,physics,thermodynamics,geoscience,atmospheric science,meteorology,hydrology,psychrometrics
|
|
6
6
|
Author: miki4ia
|
|
@@ -95,7 +95,7 @@ table = compare(formulations, reference, {"ThermodynamicTemperature": temperatur
|
|
|
95
95
|
plot_deviations(table)
|
|
96
96
|
```
|
|
97
97
|
|
|
98
|
-

|
|
99
99
|
|
|
100
100
|
## Usage
|
|
101
101
|
|
|
@@ -111,10 +111,21 @@ ha = compose(catalog().formulations["mass_concentration_ideal_gas"], {"e_s": ref
|
|
|
111
111
|
ha.evaluate(RH=Q_(100, "percent"), T=Q_(20, "degC")).to("g/m^3") # 17.29
|
|
112
112
|
```
|
|
113
113
|
|
|
114
|
+
Formulations are found by words, wildcards and fields, whatever their
|
|
115
|
+
notation ([Finding formulations](docs/search.md)):
|
|
116
|
+
|
|
117
|
+
```python
|
|
118
|
+
catalog().search(variable="rho*") # ρ in every notation
|
|
119
|
+
catalog().search(kind="VapourPressure", source="buck*")
|
|
120
|
+
```
|
|
121
|
+
|
|
114
122
|
Each formulation keeps its units, validity domain, temperature scale and
|
|
115
123
|
references. The vocabulary is mapped in [docs/rosetta.md](docs/rosetta.md);
|
|
116
124
|
[How nomogram earns trust](docs/approach.md) explains what is checked and
|
|
117
|
-
how.
|
|
125
|
+
how, and [Displaying formulas](docs/display.md) shows formulas in notebooks,
|
|
126
|
+
Markdown and plots. [Sea water](docs/sea-water.md) shows the salinity
|
|
127
|
+
scales and the vapour pressure of sea water, and what its 2 % lowering
|
|
128
|
+
changes at the sea surface.
|
|
118
129
|
|
|
119
130
|
## Contributing
|
|
120
131
|
|
|
@@ -61,7 +61,7 @@ table = compare(formulations, reference, {"ThermodynamicTemperature": temperatur
|
|
|
61
61
|
plot_deviations(table)
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
-

|
|
65
65
|
|
|
66
66
|
## Usage
|
|
67
67
|
|
|
@@ -77,10 +77,21 @@ ha = compose(catalog().formulations["mass_concentration_ideal_gas"], {"e_s": ref
|
|
|
77
77
|
ha.evaluate(RH=Q_(100, "percent"), T=Q_(20, "degC")).to("g/m^3") # 17.29
|
|
78
78
|
```
|
|
79
79
|
|
|
80
|
+
Formulations are found by words, wildcards and fields, whatever their
|
|
81
|
+
notation ([Finding formulations](docs/search.md)):
|
|
82
|
+
|
|
83
|
+
```python
|
|
84
|
+
catalog().search(variable="rho*") # ρ in every notation
|
|
85
|
+
catalog().search(kind="VapourPressure", source="buck*")
|
|
86
|
+
```
|
|
87
|
+
|
|
80
88
|
Each formulation keeps its units, validity domain, temperature scale and
|
|
81
89
|
references. The vocabulary is mapped in [docs/rosetta.md](docs/rosetta.md);
|
|
82
90
|
[How nomogram earns trust](docs/approach.md) explains what is checked and
|
|
83
|
-
how.
|
|
91
|
+
how, and [Displaying formulas](docs/display.md) shows formulas in notebooks,
|
|
92
|
+
Markdown and plots. [Sea water](docs/sea-water.md) shows the salinity
|
|
93
|
+
scales and the vapour pressure of sea water, and what its 2 % lowering
|
|
94
|
+
changes at the sea surface.
|
|
84
95
|
|
|
85
96
|
## Contributing
|
|
86
97
|
|