honeybee-radiance-postprocess 0.4.532__py2.py3-none-any.whl → 0.4.534__py2.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.
@@ -27,8 +27,7 @@ def da_array2d(
27
27
  # set total_occ to number of columns in array
28
28
  total_occ = array.shape[1]
29
29
 
30
- da = np.apply_along_axis(
31
- da_array1d, 1, array, total_occ=total_occ, threshold=threshold)
30
+ da = np.sum(array >= threshold, axis=1) / total_occ * 100
32
31
 
33
32
  return da
34
33
 
@@ -276,7 +275,7 @@ def sda_array2d(
276
275
  Returns:
277
276
  A NumPy float of the sDA as a percentage (decimal)
278
277
  """
279
- da = da_array2d(array, total_occ=total_occ, threshold=threshold)
278
+ da = np.sum(array >= threshold, axis=1) / total_occ * 100
280
279
  sda = (da >= target_time).mean()
281
280
 
282
281
  return sda
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: honeybee-radiance-postprocess
3
- Version: 0.4.532
3
+ Version: 0.4.534
4
4
  Summary: Postprocessing of Radiance results and matrices
5
5
  Home-page: https://github.com/ladybug-tools/honeybee-radiance-postprocess
6
6
  Author: Ladybug Tools
@@ -13,7 +13,7 @@ Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
13
13
  Classifier: Operating System :: OS Independent
14
14
  Description-Content-Type: text/markdown
15
15
  License-File: LICENSE
16
- Requires-Dist: honeybee-radiance==1.66.173
16
+ Requires-Dist: honeybee-radiance==1.66.174
17
17
  Requires-Dist: numpy<2.0.0
18
18
 
19
19
  [![Build Status](https://github.com/ladybug-tools/honeybee-radiance-postprocess/actions/workflows/ci.yaml/badge.svg)](https://github.com/ladybug-tools/honeybee-radiance-postprocess/actions)
@@ -8,7 +8,7 @@ honeybee_radiance_postprocess/dynamic.py,sha256=RPJh2SsjASYJCsG5QRkazVCvzWjzMxm9
8
8
  honeybee_radiance_postprocess/electriclight.py,sha256=E7uhq7-YtZ02F9a1FbEdrXnxmYJNOFnfLF0Yw3JLQ-g,732
9
9
  honeybee_radiance_postprocess/en17037.py,sha256=h3W1ewnVsLSBamArowMkQKYaJfpKV8updJxQuTkB31k,10800
10
10
  honeybee_radiance_postprocess/helper.py,sha256=qz5kaJxzy1tGBfVYYXc2cEToOCoj0YLOtwjr3LVI3YU,9000
11
- honeybee_radiance_postprocess/metrics.py,sha256=yrUbdUfqQHWr2lGPhG9BRtG7eHbEaOrrjH9kAkL-6RA,14180
11
+ honeybee_radiance_postprocess/metrics.py,sha256=v8m3uXbJkZkmpPFO3L1QmJo94Ks6vVeGn4TBcDcjQ9c,14129
12
12
  honeybee_radiance_postprocess/reader.py,sha256=p4A91amyCI16lRRn0bhZdInsg-qJV0Jas3v4YVhRx-4,2674
13
13
  honeybee_radiance_postprocess/type_hints.py,sha256=4R0kZgacQrqzoh8Tq7f8MVzUDzynV-C_jlh80UV6GPE,1122
14
14
  honeybee_radiance_postprocess/util.py,sha256=uxqop4TsUMp8l8iLQf784NJINprHCgj00GZHvTth1C0,5603
@@ -42,9 +42,9 @@ honeybee_radiance_postprocess/results/annual_irradiance.py,sha256=nDkz8VFiiC8Vbw
42
42
  honeybee_radiance_postprocess/results/results.py,sha256=1pIzVXBs-T97bEYZqj9PLKb2uWdgLKYciU12uhfGyMg,55836
43
43
  honeybee_radiance_postprocess/well/__init__.py,sha256=kQXElEqFnLGNnrMSpA51XDHoqBup849FHeAqWASIy6w,45
44
44
  honeybee_radiance_postprocess/well/well.py,sha256=KO0BOs4-P_PnsGFfasoz1xgaNac4zqOQ9JqTjmMapuU,22598
45
- honeybee_radiance_postprocess-0.4.532.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
46
- honeybee_radiance_postprocess-0.4.532.dist-info/METADATA,sha256=efPlGI39yyujlCbno3dpZS3-kiRM2WTw1BLCUxnr5E4,2238
47
- honeybee_radiance_postprocess-0.4.532.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
48
- honeybee_radiance_postprocess-0.4.532.dist-info/entry_points.txt,sha256=gFtVPx6UItXt27GfEZZO00eOZChJJEL6JwGSAB_O3rs,96
49
- honeybee_radiance_postprocess-0.4.532.dist-info/top_level.txt,sha256=4-sFbzy7ewP2EDqJV3jeFlAFx7SuxtoBBELWaKAnLdA,30
50
- honeybee_radiance_postprocess-0.4.532.dist-info/RECORD,,
45
+ honeybee_radiance_postprocess-0.4.534.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
46
+ honeybee_radiance_postprocess-0.4.534.dist-info/METADATA,sha256=TGIGrx8j9PrYBignIWUQDdm8hvMZdhO5Q1WCW3xa7Tc,2238
47
+ honeybee_radiance_postprocess-0.4.534.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
48
+ honeybee_radiance_postprocess-0.4.534.dist-info/entry_points.txt,sha256=gFtVPx6UItXt27GfEZZO00eOZChJJEL6JwGSAB_O3rs,96
49
+ honeybee_radiance_postprocess-0.4.534.dist-info/top_level.txt,sha256=4-sFbzy7ewP2EDqJV3jeFlAFx7SuxtoBBELWaKAnLdA,30
50
+ honeybee_radiance_postprocess-0.4.534.dist-info/RECORD,,