AeroViz 0.1.2__py3-none-any.whl → 0.1.3b0__py3-none-any.whl
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.
Potentially problematic release.
This version of AeroViz might be problematic. Click here for more details.
- AeroViz/__init__.py +4 -4
- AeroViz/config/DEFAULT_DATA.csv +1417 -0
- AeroViz/config/DEFAULT_PNSD_DATA.csv +1417 -0
- AeroViz/dataProcess/Chemistry/__init__.py +38 -38
- AeroViz/dataProcess/Chemistry/_calculate.py +15 -15
- AeroViz/dataProcess/Chemistry/_isoropia.py +69 -68
- AeroViz/dataProcess/Chemistry/_mass_volume.py +158 -158
- AeroViz/dataProcess/Chemistry/_ocec.py +109 -109
- AeroViz/dataProcess/Chemistry/_partition.py +19 -18
- AeroViz/dataProcess/Chemistry/_teom.py +8 -11
- AeroViz/dataProcess/Optical/_IMPROVE.py +40 -39
- AeroViz/dataProcess/Optical/__init__.py +35 -35
- AeroViz/dataProcess/Optical/_absorption.py +35 -35
- AeroViz/dataProcess/Optical/_extinction.py +25 -24
- AeroViz/dataProcess/Optical/_mie.py +5 -6
- AeroViz/dataProcess/Optical/_mie_sd.py +89 -90
- AeroViz/dataProcess/Optical/_scattering.py +16 -16
- AeroViz/dataProcess/SizeDistr/__init__.py +37 -37
- AeroViz/dataProcess/SizeDistr/__merge.py +159 -158
- AeroViz/dataProcess/SizeDistr/_merge.py +155 -154
- AeroViz/dataProcess/SizeDistr/_merge_v1.py +162 -161
- AeroViz/dataProcess/SizeDistr/_merge_v2.py +153 -152
- AeroViz/dataProcess/SizeDistr/_merge_v3.py +326 -326
- AeroViz/dataProcess/SizeDistr/_merge_v4.py +272 -274
- AeroViz/dataProcess/SizeDistr/_size_distr.py +51 -51
- AeroViz/dataProcess/VOC/__init__.py +7 -7
- AeroViz/dataProcess/VOC/_potential_par.py +53 -55
- AeroViz/dataProcess/VOC/voc_par.json +464 -0
- AeroViz/dataProcess/__init__.py +4 -4
- AeroViz/dataProcess/core/__init__.py +59 -58
- AeroViz/plot/__init__.py +6 -1
- AeroViz/plot/bar.py +126 -0
- AeroViz/plot/box.py +68 -0
- AeroViz/plot/distribution/distribution.py +421 -427
- AeroViz/plot/meteorology/meteorology.py +240 -292
- AeroViz/plot/optical/__init__.py +0 -1
- AeroViz/plot/optical/optical.py +230 -230
- AeroViz/plot/pie.py +198 -0
- AeroViz/plot/regression.py +210 -0
- AeroViz/plot/scatter.py +99 -0
- AeroViz/plot/templates/__init__.py +0 -3
- AeroViz/plot/templates/contour.py +25 -25
- AeroViz/plot/templates/corr_matrix.py +86 -93
- AeroViz/plot/templates/diurnal_pattern.py +24 -24
- AeroViz/plot/templates/koschmieder.py +106 -106
- AeroViz/plot/templates/metal_heatmap.py +34 -34
- AeroViz/plot/timeseries/timeseries.py +53 -60
- AeroViz/plot/utils/__init__.py +2 -1
- AeroViz/plot/utils/_color.py +57 -57
- AeroViz/plot/utils/_unit.py +48 -48
- AeroViz/plot/utils/fRH.json +390 -0
- AeroViz/plot/utils/plt_utils.py +92 -0
- AeroViz/plot/utils/sklearn_utils.py +49 -0
- AeroViz/plot/utils/units.json +84 -0
- AeroViz/plot/violin.py +79 -0
- AeroViz/process/__init__.py +15 -15
- AeroViz/process/core/DataProc.py +9 -9
- AeroViz/process/core/SizeDist.py +81 -81
- AeroViz/process/method/PyMieScatt_update.py +488 -488
- AeroViz/process/method/mie_theory.py +231 -229
- AeroViz/process/method/prop.py +40 -40
- AeroViz/process/script/AbstractDistCalc.py +103 -103
- AeroViz/process/script/Chemical.py +166 -166
- AeroViz/process/script/IMPACT.py +40 -40
- AeroViz/process/script/IMPROVE.py +152 -152
- AeroViz/process/script/Others.py +45 -45
- AeroViz/process/script/PSD.py +26 -26
- AeroViz/process/script/PSD_dry.py +69 -70
- AeroViz/process/script/retrieve_RI.py +50 -51
- AeroViz/rawDataReader/__init__.py +57 -57
- AeroViz/rawDataReader/core/__init__.py +328 -326
- AeroViz/rawDataReader/script/AE33.py +18 -18
- AeroViz/rawDataReader/script/AE43.py +20 -20
- AeroViz/rawDataReader/script/APS_3321.py +30 -30
- AeroViz/rawDataReader/script/Aurora.py +23 -23
- AeroViz/rawDataReader/script/BC1054.py +40 -40
- AeroViz/rawDataReader/script/EPA_vertical.py +9 -9
- AeroViz/rawDataReader/script/GRIMM.py +21 -21
- AeroViz/rawDataReader/script/IGAC_TH.py +67 -67
- AeroViz/rawDataReader/script/IGAC_ZM.py +59 -59
- AeroViz/rawDataReader/script/MA350.py +39 -39
- AeroViz/rawDataReader/script/NEPH.py +74 -74
- AeroViz/rawDataReader/script/OCEC_LCRES.py +21 -21
- AeroViz/rawDataReader/script/OCEC_RES.py +16 -16
- AeroViz/rawDataReader/script/SMPS_TH.py +25 -25
- AeroViz/rawDataReader/script/SMPS_aim11.py +32 -32
- AeroViz/rawDataReader/script/SMPS_genr.py +31 -31
- AeroViz/rawDataReader/script/TEOM.py +28 -28
- AeroViz/rawDataReader/script/Table.py +12 -12
- AeroViz/rawDataReader/script/VOC_TH.py +16 -16
- AeroViz/rawDataReader/script/VOC_ZM.py +28 -28
- AeroViz/rawDataReader/script/__init__.py +20 -20
- AeroViz/rawDataReader/utils/config.py +161 -161
- AeroViz/tools/database.py +65 -65
- AeroViz/tools/dataclassifier.py +106 -106
- AeroViz/tools/dataprinter.py +51 -51
- AeroViz/tools/datareader.py +38 -38
- {AeroViz-0.1.2.dist-info → AeroViz-0.1.3b0.dist-info}/METADATA +5 -4
- AeroViz-0.1.3b0.dist-info/RECORD +110 -0
- AeroViz/config/__init__.py +0 -0
- AeroViz/plot/improve/__init__.py +0 -1
- AeroViz/plot/improve/improve.py +0 -240
- AeroViz/plot/optical/aethalometer.py +0 -77
- AeroViz/plot/templates/event_evolution.py +0 -65
- AeroViz/plot/templates/regression.py +0 -256
- AeroViz/plot/templates/scatter.py +0 -130
- AeroViz/plot/templates/templates.py +0 -398
- AeroViz/plot/utils/_decorator.py +0 -74
- AeroViz-0.1.2.dist-info/RECORD +0 -106
- {AeroViz-0.1.2.dist-info → AeroViz-0.1.3b0.dist-info}/LICENSE +0 -0
- {AeroViz-0.1.2.dist-info → AeroViz-0.1.3b0.dist-info}/WHEEL +0 -0
- {AeroViz-0.1.2.dist-info → AeroViz-0.1.3b0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,464 @@
|
|
|
1
|
+
{
|
|
2
|
+
"3-Methylheptane": {
|
|
3
|
+
"MIR": 1.24,
|
|
4
|
+
"MW": 114.23,
|
|
5
|
+
"SOAP": 0.0,
|
|
6
|
+
"KOH": 5.6
|
|
7
|
+
},
|
|
8
|
+
"Isopentane": {
|
|
9
|
+
"MIR": 1.45,
|
|
10
|
+
"MW": 72.15,
|
|
11
|
+
"SOAP": 0.2,
|
|
12
|
+
"KOH": 3.6
|
|
13
|
+
},
|
|
14
|
+
"n-Propylbenzene": {
|
|
15
|
+
"MIR": 2.03,
|
|
16
|
+
"MW": 120.2,
|
|
17
|
+
"SOAP": 109.7,
|
|
18
|
+
"KOH": 5.8
|
|
19
|
+
},
|
|
20
|
+
"3-Methylhexane": {
|
|
21
|
+
"MIR": 1.61,
|
|
22
|
+
"MW": 100.2,
|
|
23
|
+
"SOAP": 0.0,
|
|
24
|
+
"KOH": 7.0
|
|
25
|
+
},
|
|
26
|
+
"2-Methylheptane": {
|
|
27
|
+
"MIR": 1.07,
|
|
28
|
+
"MW": 114.23,
|
|
29
|
+
"SOAP": 0.0,
|
|
30
|
+
"KOH": 7.0
|
|
31
|
+
},
|
|
32
|
+
"2-Methylhexane": {
|
|
33
|
+
"MIR": 1.19,
|
|
34
|
+
"MW": 100.2,
|
|
35
|
+
"SOAP": 0.0,
|
|
36
|
+
"KOH": 5.65
|
|
37
|
+
},
|
|
38
|
+
"Styrene": {
|
|
39
|
+
"MIR": 1.73,
|
|
40
|
+
"MW": 104.15,
|
|
41
|
+
"SOAP": 212.3,
|
|
42
|
+
"KOH": 58.0
|
|
43
|
+
},
|
|
44
|
+
"Toluene": {
|
|
45
|
+
"MIR": 4.0,
|
|
46
|
+
"MW": 92.14,
|
|
47
|
+
"SOAP": 100.0,
|
|
48
|
+
"KOH": 5.63
|
|
49
|
+
},
|
|
50
|
+
"Ethylbenzene": {
|
|
51
|
+
"MIR": 3.04,
|
|
52
|
+
"MW": 106.17,
|
|
53
|
+
"SOAP": 111.6,
|
|
54
|
+
"KOH": 7.0
|
|
55
|
+
},
|
|
56
|
+
"Benzene": {
|
|
57
|
+
"MIR": 0.72,
|
|
58
|
+
"MW": 78.11,
|
|
59
|
+
"SOAP": 92.9,
|
|
60
|
+
"KOH": 1.22
|
|
61
|
+
},
|
|
62
|
+
"o-Xylene": {
|
|
63
|
+
"MIR": 7.64,
|
|
64
|
+
"MW": 106.16,
|
|
65
|
+
"SOAP": 95.5,
|
|
66
|
+
"KOH": 13.6
|
|
67
|
+
},
|
|
68
|
+
"Hexane": {
|
|
69
|
+
"MIR": 1.24,
|
|
70
|
+
"MW": 86.2,
|
|
71
|
+
"SOAP": 0.1,
|
|
72
|
+
"KOH": 5.2
|
|
73
|
+
},
|
|
74
|
+
"Acetone": {
|
|
75
|
+
"MIR": 0.36,
|
|
76
|
+
"MW": 58.1,
|
|
77
|
+
"SOAP": 0.3,
|
|
78
|
+
"KOH": 0.17
|
|
79
|
+
},
|
|
80
|
+
"3,4-Ethyltoluene": {
|
|
81
|
+
"MIR": 5.92,
|
|
82
|
+
"MW": 120.2,
|
|
83
|
+
"SOAP": 85.2,
|
|
84
|
+
"KOH": 15.2
|
|
85
|
+
},
|
|
86
|
+
"Iso-Propylbenzene": {
|
|
87
|
+
"MIR": 2.52,
|
|
88
|
+
"MW": 120.2,
|
|
89
|
+
"SOAP": 95.5,
|
|
90
|
+
"KOH": 6.3
|
|
91
|
+
},
|
|
92
|
+
"1.2.4-TMB": {
|
|
93
|
+
"MIR": 8.87,
|
|
94
|
+
"MW": 120.2,
|
|
95
|
+
"SOAP": 20.6,
|
|
96
|
+
"KOH": 32.5
|
|
97
|
+
},
|
|
98
|
+
"Acetaldehyde": {
|
|
99
|
+
"MIR": 6.54,
|
|
100
|
+
"MW": 44.1,
|
|
101
|
+
"SOAP": 0.6,
|
|
102
|
+
"KOH": 15.0
|
|
103
|
+
},
|
|
104
|
+
"VCM": {
|
|
105
|
+
"MIR": 2.83,
|
|
106
|
+
"MW": 62.5,
|
|
107
|
+
"SOAP": null,
|
|
108
|
+
"KOH": null
|
|
109
|
+
},
|
|
110
|
+
"1.3.5-TMB": {
|
|
111
|
+
"MIR": 11.76,
|
|
112
|
+
"MW": 120.2,
|
|
113
|
+
"SOAP": 13.5,
|
|
114
|
+
"KOH": 56.7
|
|
115
|
+
},
|
|
116
|
+
"Ethyl Acetate": {
|
|
117
|
+
"MIR": 0.63,
|
|
118
|
+
"MW": 88.1,
|
|
119
|
+
"SOAP": 0.1,
|
|
120
|
+
"KOH": null
|
|
121
|
+
},
|
|
122
|
+
"Ethanol": {
|
|
123
|
+
"MIR": 1.53,
|
|
124
|
+
"MW": 46.1,
|
|
125
|
+
"SOAP": 0.6,
|
|
126
|
+
"KOH": 3.2
|
|
127
|
+
},
|
|
128
|
+
"Butyl Acetate": {
|
|
129
|
+
"MIR": 0.83,
|
|
130
|
+
"MW": 116.2,
|
|
131
|
+
"SOAP": 0.0,
|
|
132
|
+
"KOH": null
|
|
133
|
+
},
|
|
134
|
+
"m.p-Xylene": {
|
|
135
|
+
"MIR": 7.8,
|
|
136
|
+
"MW": 106.2,
|
|
137
|
+
"SOAP": 75.8,
|
|
138
|
+
"KOH": 18.95
|
|
139
|
+
},
|
|
140
|
+
"TCE": {
|
|
141
|
+
"MIR": 0.64,
|
|
142
|
+
"MW": 131.4,
|
|
143
|
+
"SOAP": null,
|
|
144
|
+
"KOH": 1.9
|
|
145
|
+
},
|
|
146
|
+
"1-Octene": {
|
|
147
|
+
"MIR": 3.25,
|
|
148
|
+
"MW": 112.2,
|
|
149
|
+
"SOAP": null,
|
|
150
|
+
"KOH": 30.0
|
|
151
|
+
},
|
|
152
|
+
"Isoprene": {
|
|
153
|
+
"MIR": 10.61,
|
|
154
|
+
"MW": 68.1,
|
|
155
|
+
"SOAP": 1.9,
|
|
156
|
+
"KOH": 100.0
|
|
157
|
+
},
|
|
158
|
+
"1.2.3-TMB": {
|
|
159
|
+
"MIR": 11.97,
|
|
160
|
+
"MW": 120.2,
|
|
161
|
+
"SOAP": 43.9,
|
|
162
|
+
"KOH": 32.7
|
|
163
|
+
},
|
|
164
|
+
"2-Ethyltoluene": {
|
|
165
|
+
"MIR": 5.59,
|
|
166
|
+
"MW": 120.2,
|
|
167
|
+
"SOAP": 94.8,
|
|
168
|
+
"KOH": 11.9
|
|
169
|
+
},
|
|
170
|
+
"1.2-DCB": {
|
|
171
|
+
"MIR": 0.18,
|
|
172
|
+
"MW": 147.0,
|
|
173
|
+
"SOAP": null,
|
|
174
|
+
"KOH": null
|
|
175
|
+
},
|
|
176
|
+
"Propene": {
|
|
177
|
+
"MIR": 11.66,
|
|
178
|
+
"MW": 42.1,
|
|
179
|
+
"SOAP": 1.6,
|
|
180
|
+
"KOH": 26.3
|
|
181
|
+
},
|
|
182
|
+
"1.4-DCB": {
|
|
183
|
+
"MIR": 0.18,
|
|
184
|
+
"MW": 147.0,
|
|
185
|
+
"SOAP": null,
|
|
186
|
+
"KOH": null
|
|
187
|
+
},
|
|
188
|
+
"PCE": {
|
|
189
|
+
"MIR": 0.03,
|
|
190
|
+
"MW": 165.8,
|
|
191
|
+
"SOAP": null,
|
|
192
|
+
"KOH": 0.16
|
|
193
|
+
},
|
|
194
|
+
"1.3-Butadiene": {
|
|
195
|
+
"MIR": 12.61,
|
|
196
|
+
"MW": 54.1,
|
|
197
|
+
"SOAP": 1.8,
|
|
198
|
+
"KOH": 66.6
|
|
199
|
+
},
|
|
200
|
+
"IPA": {
|
|
201
|
+
"MIR": 0.61,
|
|
202
|
+
"MW": 60.1,
|
|
203
|
+
"SOAP": 0.4,
|
|
204
|
+
"KOH": 5.1
|
|
205
|
+
},
|
|
206
|
+
"n-Hexane": {
|
|
207
|
+
"MIR": 1.24,
|
|
208
|
+
"MW": 86.18,
|
|
209
|
+
"SOAP": 0.1,
|
|
210
|
+
"KOH": 5.2
|
|
211
|
+
},
|
|
212
|
+
"Cyclohexane": {
|
|
213
|
+
"MIR": 1.25,
|
|
214
|
+
"MW": 84.16,
|
|
215
|
+
"SOAP": 0.0,
|
|
216
|
+
"KOH": 6.97
|
|
217
|
+
},
|
|
218
|
+
"n-Nonane": {
|
|
219
|
+
"MIR": 0.78,
|
|
220
|
+
"MW": 128.2,
|
|
221
|
+
"SOAP": 1.9,
|
|
222
|
+
"KOH": 9.7
|
|
223
|
+
},
|
|
224
|
+
"Isopropylbenzene": {
|
|
225
|
+
"MIR": 2.52,
|
|
226
|
+
"MW": 120.19,
|
|
227
|
+
"SOAP": 95.5,
|
|
228
|
+
"KOH": 6.3
|
|
229
|
+
},
|
|
230
|
+
"Methylcyclohexane": {
|
|
231
|
+
"MIR": 1.7,
|
|
232
|
+
"MW": 98.19,
|
|
233
|
+
"SOAP": 0.0,
|
|
234
|
+
"KOH": 4.97
|
|
235
|
+
},
|
|
236
|
+
"1-Pentene": {
|
|
237
|
+
"MIR": 7.21,
|
|
238
|
+
"MW": 70.13,
|
|
239
|
+
"SOAP": 0.0,
|
|
240
|
+
"KOH": 31.4
|
|
241
|
+
},
|
|
242
|
+
"m-Ethyltoluene": {
|
|
243
|
+
"MIR": 7.39,
|
|
244
|
+
"MW": 120.19,
|
|
245
|
+
"SOAP": 100.6,
|
|
246
|
+
"KOH": 11.8
|
|
247
|
+
},
|
|
248
|
+
"t-2-Butene": {
|
|
249
|
+
"MIR": 15.16,
|
|
250
|
+
"MW": 56.1,
|
|
251
|
+
"SOAP": 3.1,
|
|
252
|
+
"KOH": 56.4
|
|
253
|
+
},
|
|
254
|
+
"n-Butane": {
|
|
255
|
+
"MIR": 1.15,
|
|
256
|
+
"MW": 58.12,
|
|
257
|
+
"SOAP": 0.3,
|
|
258
|
+
"KOH": 2.36
|
|
259
|
+
},
|
|
260
|
+
"2,2,4-Trimethylpentane": {
|
|
261
|
+
"MIR": 1.26,
|
|
262
|
+
"MW": 114.23,
|
|
263
|
+
"SOAP": 0.0,
|
|
264
|
+
"KOH": 3.34
|
|
265
|
+
},
|
|
266
|
+
"1,2,4-Trimethylbenzene": {
|
|
267
|
+
"MIR": 8.87,
|
|
268
|
+
"MW": 120.19,
|
|
269
|
+
"SOAP": 20.6,
|
|
270
|
+
"KOH": 32.5
|
|
271
|
+
},
|
|
272
|
+
"n-Undecane": {
|
|
273
|
+
"MIR": 0.61,
|
|
274
|
+
"MW": 156.31,
|
|
275
|
+
"SOAP": 16.2,
|
|
276
|
+
"KOH": 12.3
|
|
277
|
+
},
|
|
278
|
+
"Ethylene": {
|
|
279
|
+
"MIR": 9.0,
|
|
280
|
+
"MW": 28.05,
|
|
281
|
+
"SOAP": 1.3,
|
|
282
|
+
"KOH": 8.52
|
|
283
|
+
},
|
|
284
|
+
"1,2,3-Trimethylbenzene": {
|
|
285
|
+
"MIR": 11.97,
|
|
286
|
+
"MW": 120.19,
|
|
287
|
+
"SOAP": 43.9,
|
|
288
|
+
"KOH": 32.7
|
|
289
|
+
},
|
|
290
|
+
"2,3-Dimethylbutane": {
|
|
291
|
+
"MIR": 0.97,
|
|
292
|
+
"MW": 86.18,
|
|
293
|
+
"SOAP": 0.0,
|
|
294
|
+
"KOH": 5.78
|
|
295
|
+
},
|
|
296
|
+
"2-Methylpentane": {
|
|
297
|
+
"MIR": 1.5,
|
|
298
|
+
"MW": 86.18,
|
|
299
|
+
"SOAP": 0.0,
|
|
300
|
+
"KOH": 5.4
|
|
301
|
+
},
|
|
302
|
+
"n-Decane": {
|
|
303
|
+
"MIR": 0.68,
|
|
304
|
+
"MW": 142.29,
|
|
305
|
+
"SOAP": 7.0,
|
|
306
|
+
"KOH": 11.0
|
|
307
|
+
},
|
|
308
|
+
"2,4-Dimethylpentane": {
|
|
309
|
+
"MIR": 1.55,
|
|
310
|
+
"MW": 100.2,
|
|
311
|
+
"SOAP": 0.0,
|
|
312
|
+
"KOH": 4.77
|
|
313
|
+
},
|
|
314
|
+
"n-Octane": {
|
|
315
|
+
"MIR": 0.9,
|
|
316
|
+
"MW": 114.23,
|
|
317
|
+
"SOAP": 0.8,
|
|
318
|
+
"KOH": 8.11
|
|
319
|
+
},
|
|
320
|
+
"n-Heptane": {
|
|
321
|
+
"MIR": 1.07,
|
|
322
|
+
"MW": 100.21,
|
|
323
|
+
"SOAP": 0.1,
|
|
324
|
+
"KOH": 6.76
|
|
325
|
+
},
|
|
326
|
+
"p-Ethyltoluene": {
|
|
327
|
+
"MIR": 4.44,
|
|
328
|
+
"MW": 120.19,
|
|
329
|
+
"SOAP": 69.7,
|
|
330
|
+
"KOH": 18.6
|
|
331
|
+
},
|
|
332
|
+
"Isobutane": {
|
|
333
|
+
"MIR": 1.23,
|
|
334
|
+
"MW": 58.12,
|
|
335
|
+
"SOAP": 0.0,
|
|
336
|
+
"KOH": 2.12
|
|
337
|
+
},
|
|
338
|
+
"o-Ethyltoluene": {
|
|
339
|
+
"MIR": 5.59,
|
|
340
|
+
"MW": 120.19,
|
|
341
|
+
"SOAP": 94.8,
|
|
342
|
+
"KOH": 11.9
|
|
343
|
+
},
|
|
344
|
+
"Propane": {
|
|
345
|
+
"MIR": 0.49,
|
|
346
|
+
"MW": 44.1,
|
|
347
|
+
"SOAP": 0.0,
|
|
348
|
+
"KOH": 1.09
|
|
349
|
+
},
|
|
350
|
+
"m-Diethylbenzene": {
|
|
351
|
+
"MIR": 7.1,
|
|
352
|
+
"MW": 134.22,
|
|
353
|
+
"SOAP": 0.0,
|
|
354
|
+
"KOH": 32.5
|
|
355
|
+
},
|
|
356
|
+
"2,2-Dimethylbutane": {
|
|
357
|
+
"MIR": 1.17,
|
|
358
|
+
"MW": 86.17,
|
|
359
|
+
"SOAP": 0.0,
|
|
360
|
+
"KOH": 2.23
|
|
361
|
+
},
|
|
362
|
+
"Acetylene": {
|
|
363
|
+
"MIR": 0.95,
|
|
364
|
+
"MW": 26.04,
|
|
365
|
+
"SOAP": 0.1,
|
|
366
|
+
"KOH": 0.85
|
|
367
|
+
},
|
|
368
|
+
"cis-2-Pentene": {
|
|
369
|
+
"MIR": 10.38,
|
|
370
|
+
"MW": 70.13,
|
|
371
|
+
"SOAP": 3.6,
|
|
372
|
+
"KOH": 65.0
|
|
373
|
+
},
|
|
374
|
+
"isoprene": {
|
|
375
|
+
"MIR": 10.61,
|
|
376
|
+
"MW": 68.12,
|
|
377
|
+
"SOAP": 1.9,
|
|
378
|
+
"KOH": 37.0
|
|
379
|
+
},
|
|
380
|
+
"cis-2-Butene": {
|
|
381
|
+
"MIR": 14.24,
|
|
382
|
+
"MW": 56.1,
|
|
383
|
+
"SOAP": 3.6,
|
|
384
|
+
"KOH": 64.0
|
|
385
|
+
},
|
|
386
|
+
"1,3,5-Trimethylbenzene": {
|
|
387
|
+
"MIR": 11.76,
|
|
388
|
+
"MW": 120.19,
|
|
389
|
+
"SOAP": 13.5,
|
|
390
|
+
"KOH": 56.7
|
|
391
|
+
},
|
|
392
|
+
"Ethane": {
|
|
393
|
+
"MIR": 0.28,
|
|
394
|
+
"MW": 30.07,
|
|
395
|
+
"SOAP": 0.1,
|
|
396
|
+
"KOH": 0.248
|
|
397
|
+
},
|
|
398
|
+
"3-Methylpentane": {
|
|
399
|
+
"MIR": 1.8,
|
|
400
|
+
"MW": 86.18,
|
|
401
|
+
"SOAP": 0.2,
|
|
402
|
+
"KOH": 5.2
|
|
403
|
+
},
|
|
404
|
+
"1-Butene": {
|
|
405
|
+
"MIR": 9.73,
|
|
406
|
+
"MW": 56.1,
|
|
407
|
+
"SOAP": 1.2,
|
|
408
|
+
"KOH": 31.4
|
|
409
|
+
},
|
|
410
|
+
"p-Diethylbenzene": {
|
|
411
|
+
"MIR": 4.43,
|
|
412
|
+
"MW": 134.22,
|
|
413
|
+
"SOAP": 0.0,
|
|
414
|
+
"KOH": 32.7
|
|
415
|
+
},
|
|
416
|
+
"n-Pentane": {
|
|
417
|
+
"MIR": 1.31,
|
|
418
|
+
"MW": 72.15,
|
|
419
|
+
"SOAP": 0.3,
|
|
420
|
+
"KOH": 3.8
|
|
421
|
+
},
|
|
422
|
+
"2,3,4-Trimethylpentane": {
|
|
423
|
+
"MIR": 1.03,
|
|
424
|
+
"MW": 114.23,
|
|
425
|
+
"SOAP": 0.0,
|
|
426
|
+
"KOH": 6.6
|
|
427
|
+
},
|
|
428
|
+
"2,3-Dimethylpentane": {
|
|
429
|
+
"MIR": 1.34,
|
|
430
|
+
"MW": 100.2,
|
|
431
|
+
"SOAP": 0.4,
|
|
432
|
+
"KOH": 1.5
|
|
433
|
+
},
|
|
434
|
+
"Cyclopentane": {
|
|
435
|
+
"MIR": 2.39,
|
|
436
|
+
"MW": 70.1,
|
|
437
|
+
"SOAP": 0.0,
|
|
438
|
+
"KOH": 4.97
|
|
439
|
+
},
|
|
440
|
+
"Propylene": {
|
|
441
|
+
"MIR": 11.66,
|
|
442
|
+
"MW": 42.08,
|
|
443
|
+
"SOAP": 1.6,
|
|
444
|
+
"KOH": 26.3
|
|
445
|
+
},
|
|
446
|
+
"t-2-Pentene": {
|
|
447
|
+
"MIR": 10.56,
|
|
448
|
+
"MW": 70.13,
|
|
449
|
+
"SOAP": 4.0,
|
|
450
|
+
"KOH": 67.0
|
|
451
|
+
},
|
|
452
|
+
"m,p-Xylene": {
|
|
453
|
+
"MIR": 9.75,
|
|
454
|
+
"MW": 106.16,
|
|
455
|
+
"SOAP": 75.8,
|
|
456
|
+
"KOH": 18.95
|
|
457
|
+
},
|
|
458
|
+
"Methylcyclopentane": {
|
|
459
|
+
"MIR": 2.19,
|
|
460
|
+
"MW": 84.16,
|
|
461
|
+
"SOAP": 0.0,
|
|
462
|
+
"KOH": 5.2
|
|
463
|
+
}
|
|
464
|
+
}
|
AeroViz/dataProcess/__init__.py
CHANGED
|
@@ -1,92 +1,93 @@
|
|
|
1
|
-
from pandas import DatetimeIndex, DataFrame, concat
|
|
2
|
-
from pathlib import Path
|
|
3
1
|
import pickle as pkl
|
|
4
2
|
from datetime import datetime as dtm
|
|
3
|
+
from pathlib import Path
|
|
4
|
+
|
|
5
|
+
from pandas import concat
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
class _writter:
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
def __init__(self, path_out=None, excel=True, csv=False):
|
|
10
11
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
self.path_out = Path(path_out) if path_out is not None else path_out
|
|
13
|
+
self.excel = excel
|
|
14
|
+
self.csv = csv
|
|
14
15
|
|
|
15
|
-
|
|
16
|
+
def _pre_process(self, _out):
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
if type(_out) == dict:
|
|
19
|
+
for _ky, _df in _out.items():
|
|
20
|
+
_df.index.name = 'time'
|
|
21
|
+
else:
|
|
22
|
+
_out.index.name = 'time'
|
|
22
23
|
|
|
23
|
-
|
|
24
|
+
return _out
|
|
24
25
|
|
|
25
|
-
|
|
26
|
+
def _save_out(self, _nam, _out):
|
|
26
27
|
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
_check = True
|
|
29
|
+
while _check:
|
|
29
30
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
try:
|
|
32
|
+
if self.path_out is not None:
|
|
33
|
+
self.path_out.mkdir(exist_ok=True, parents=True)
|
|
34
|
+
with (self.path_out / f'{_nam}.pkl').open('wb') as f:
|
|
35
|
+
pkl.dump(_out, f, protocol=pkl.HIGHEST_PROTOCOL)
|
|
35
36
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
37
|
+
if self.excel:
|
|
38
|
+
from pandas import ExcelWriter
|
|
39
|
+
with ExcelWriter(self.path_out / f'{_nam}.xlsx') as f:
|
|
40
|
+
if type(_out) == dict:
|
|
41
|
+
for _key, _val in _out.items():
|
|
42
|
+
_val.to_excel(f, sheet_name=f'{_key}')
|
|
43
|
+
else:
|
|
44
|
+
_out.to_excel(f, sheet_name=f'{_nam}')
|
|
44
45
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
if self.csv:
|
|
47
|
+
if type(_out) == dict:
|
|
48
|
+
_path_out = self.path_out / _nam
|
|
49
|
+
_path_out.mkdir(exist_ok=True, parents=True)
|
|
49
50
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
for _key, _val in _out.items():
|
|
52
|
+
_val.to_csv(_path_out / f'{_key}.csv')
|
|
53
|
+
else:
|
|
54
|
+
_out.to_csv(self.path_out / f'{_nam}.csv')
|
|
54
55
|
|
|
55
|
-
|
|
56
|
+
_check = False
|
|
56
57
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
except PermissionError as _err:
|
|
59
|
+
print('\n', _err)
|
|
60
|
+
input('\t\t\33[41m Please Close The File And Press "Enter" \33[0m\n')
|
|
60
61
|
|
|
61
62
|
|
|
62
63
|
def _run_process(*_ini_set):
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
def _decorator(_prcs_fc):
|
|
65
|
+
def _wrap(*arg, **kwarg):
|
|
66
|
+
_fc_name, _nam = _ini_set
|
|
66
67
|
|
|
67
|
-
|
|
68
|
-
|
|
68
|
+
if kwarg.get('nam') is not None:
|
|
69
|
+
_nam = kwarg.pop('nam')
|
|
69
70
|
|
|
70
|
-
|
|
71
|
+
print(f"\n\t{dtm.now().strftime('%m/%d %X')} : Process \033[92m{_fc_name}\033[0m -> {_nam}")
|
|
71
72
|
|
|
72
|
-
|
|
73
|
-
|
|
73
|
+
_class, _out = _prcs_fc(*arg, **kwarg)
|
|
74
|
+
_out = _class._pre_process(_out)
|
|
74
75
|
|
|
75
|
-
|
|
76
|
+
_class._save_out(_nam, _out)
|
|
76
77
|
|
|
77
|
-
|
|
78
|
+
return _out
|
|
78
79
|
|
|
79
|
-
|
|
80
|
+
return _wrap
|
|
80
81
|
|
|
81
|
-
|
|
82
|
+
return _decorator
|
|
82
83
|
|
|
83
84
|
|
|
84
85
|
def _union_index(*_df_arg):
|
|
85
|
-
|
|
86
|
+
_idx = concat(_df_arg, axis=1).index
|
|
86
87
|
|
|
87
|
-
|
|
88
|
+
# _idx = DatetimeIndex([])
|
|
88
89
|
|
|
89
|
-
|
|
90
|
-
|
|
90
|
+
# for _df in _df_arg:
|
|
91
|
+
# _idx = _idx.union(DataFrame(_df).index)
|
|
91
92
|
|
|
92
|
-
|
|
93
|
+
return [_df.reindex(_idx) if _df is not None else None for _df in _df_arg]
|
AeroViz/plot/__init__.py
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
from . import distribution
|
|
2
|
-
from . import improve
|
|
3
2
|
from . import meteorology
|
|
4
3
|
from . import optical
|
|
5
4
|
from . import timeseries
|
|
5
|
+
from .bar import bar
|
|
6
|
+
from .box import box
|
|
7
|
+
from .pie import pie, donuts
|
|
8
|
+
from .regression import linear_regression, multiple_linear_regression
|
|
9
|
+
from .scatter import scatter
|
|
6
10
|
from .templates import *
|
|
7
11
|
from .utils import *
|
|
12
|
+
from .violin import violin
|