honeybee-radiance-postprocess 0.4.547__tar.gz → 0.4.549__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.
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/PKG-INFO +2 -2
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/leed/leed.py +2 -2
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/results/annual_daylight.py +1 -2
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/results/results.py +7 -22
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess.egg-info/PKG-INFO +2 -2
- honeybee_radiance_postprocess-0.4.549/honeybee_radiance_postprocess.egg-info/requires.txt +2 -0
- honeybee_radiance_postprocess-0.4.549/requirements.txt +2 -0
- honeybee_radiance_postprocess-0.4.547/honeybee_radiance_postprocess.egg-info/requires.txt +0 -2
- honeybee_radiance_postprocess-0.4.547/requirements.txt +0 -2
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/CODE_OF_CONDUCT.md +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/CONTRIBUTING.md +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/LICENSE +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/MANIFEST.in +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/README.md +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/dev-requirements.txt +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/__init__.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/__main__.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/annual.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/annualdaylight.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/annualirradiance.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/breeam/__init__.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/breeam/breeam.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/cli/__init__.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/cli/abnt.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/cli/breeam.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/cli/datacollection.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/cli/grid.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/cli/leed.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/cli/merge.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/cli/mtxop.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/cli/postprocess.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/cli/schedule.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/cli/translate.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/cli/two_phase.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/cli/util.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/cli/viewfactor.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/cli/well.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/data_type.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/dynamic.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/electriclight.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/en17037.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/helper.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/ies/__init__.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/ies/lm.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/ies/lm_schedule.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/leed/__init__.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/leed/leed_schedule.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/metrics.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/reader.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/results/__init__.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/results/annual_irradiance.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/type_hints.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/util.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/vis_metadata.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/well/__init__.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess/well/well.py +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess.egg-info/SOURCES.txt +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess.egg-info/dependency_links.txt +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess.egg-info/entry_points.txt +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/honeybee_radiance_postprocess.egg-info/top_level.txt +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/setup.cfg +0 -0
- {honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/setup.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: honeybee-radiance-postprocess
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.549
|
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.
|
16
|
+
Requires-Dist: honeybee-radiance==1.66.185
|
17
17
|
Requires-Dist: numpy<2.0.0
|
18
18
|
|
19
19
|
[](https://github.com/ladybug-tools/honeybee-radiance-postprocess/actions)
|
@@ -426,9 +426,9 @@ def leed_states_schedule(
|
|
426
426
|
states_schedule[key] = value
|
427
427
|
else:
|
428
428
|
if use_states:
|
429
|
-
merged_array = np.logical_or(states_schedule[key], value).astype(int)
|
429
|
+
merged_array = np.logical_or(np.array(states_schedule[key]), np.array(value)).astype(int)
|
430
430
|
else:
|
431
|
-
merged_array = np.minimum(states_schedule[key], value)
|
431
|
+
merged_array = np.minimum(np.array(states_schedule[key]), np.array(value))
|
432
432
|
states_schedule[key] = merged_array
|
433
433
|
|
434
434
|
occupancy_hoys = schedule_to_hoys(schedule, results.sun_up_hours)
|
@@ -622,8 +622,7 @@ class AnnualDaylight(Results):
|
|
622
622
|
su_mean_array = array.mean(axis=0)
|
623
623
|
su_uniformity_ratio = su_min_array / su_mean_array
|
624
624
|
|
625
|
-
array_filter =
|
626
|
-
filter_array, 1, array, mask=self.occ_mask)
|
625
|
+
array_filter = filter_array2d(array, mask=self.occ_mask)
|
627
626
|
min_array = array_filter.min(axis=0)
|
628
627
|
mean_array = array_filter.mean(axis=0)
|
629
628
|
uniformity_ratio = min_array / mean_array
|
@@ -21,7 +21,7 @@ from ladybug.header import Header
|
|
21
21
|
from ..annual import occupancy_schedule_8_to_6
|
22
22
|
from ..metrics import (average_values_array2d, cumulative_values_array2d,
|
23
23
|
peak_values_array2d)
|
24
|
-
from ..util import
|
24
|
+
from ..util import filter_array2d, hoys_mask, check_array_dim, \
|
25
25
|
_filter_grids_by_pattern
|
26
26
|
from .. import type_hints
|
27
27
|
from ..dynamic import DynamicSchedule, ApertureGroupSchedule
|
@@ -85,16 +85,7 @@ class _ResultsFolder(object):
|
|
85
85
|
assert isinstance(grid_info, dict), \
|
86
86
|
'Object in grids information must be a dictionary. ' \
|
87
87
|
f'Got object of type {type(grid_info)}.'
|
88
|
-
if 'light_path'
|
89
|
-
_grid_info = []
|
90
|
-
for light_path in grid_info['light_path']:
|
91
|
-
if Path(self.folder, light_path[0]).exists():
|
92
|
-
_grid_info.append((light_path))
|
93
|
-
grid_info['light_path'] = _grid_info
|
94
|
-
if not grid_info['light_path']:
|
95
|
-
# if light path is empty
|
96
|
-
grid_info['light_path'] = [['__static_apertures__']]
|
97
|
-
else:
|
88
|
+
if not grid_info.get('light_path', None):
|
98
89
|
# if light path key is nonexistent
|
99
90
|
grid_info['light_path'] = [['__static_apertures__']]
|
100
91
|
self._grids_info = grids_info
|
@@ -408,9 +399,7 @@ class Results(_ResultsFolder):
|
|
408
399
|
for grid_info in grids_info:
|
409
400
|
array = self._array_from_states(grid_info, states=states, res_type=res_type)
|
410
401
|
if np.any(array):
|
411
|
-
array_filter =
|
412
|
-
filter_array, 1, array, mask=mask
|
413
|
-
)
|
402
|
+
array_filter = filter_array2d(array, mask=mask)
|
414
403
|
array_total = array_filter.sum(axis=1)
|
415
404
|
else:
|
416
405
|
array_total = np.zeros(grid_info['count'])
|
@@ -528,8 +517,7 @@ class Results(_ResultsFolder):
|
|
528
517
|
for grid_info in grids_info:
|
529
518
|
array = self._array_from_states(grid_info, states=states, res_type=res_type)
|
530
519
|
if np.any(array):
|
531
|
-
array_filter =
|
532
|
-
filter_array, 1, array, mask=mask)
|
520
|
+
array_filter = filter_array2d(array, mask=mask)
|
533
521
|
results = average_values_array2d(
|
534
522
|
array_filter, full_length)
|
535
523
|
else:
|
@@ -600,8 +588,7 @@ class Results(_ResultsFolder):
|
|
600
588
|
for grid_info in grids_info:
|
601
589
|
array = self._array_from_states(grid_info, states=states, res_type=res_type)
|
602
590
|
if np.any(array):
|
603
|
-
array_filter =
|
604
|
-
filter_array, 1, array, mask=mask)
|
591
|
+
array_filter = filter_array2d(array, mask=mask)
|
605
592
|
if not hoys:
|
606
593
|
# concatenate zero array
|
607
594
|
zero_array = \
|
@@ -687,8 +674,7 @@ class Results(_ResultsFolder):
|
|
687
674
|
for grid_info in grids_info:
|
688
675
|
array = self._array_from_states(grid_info, states=states, res_type=res_type)
|
689
676
|
if np.any(array):
|
690
|
-
array_filter =
|
691
|
-
filter_array, 1, array, mask=mask)
|
677
|
+
array_filter = filter_array2d(array, mask=mask)
|
692
678
|
results = cumulative_values_array2d(
|
693
679
|
array_filter, self.timestep, t_step_multiplier)
|
694
680
|
else:
|
@@ -769,8 +755,7 @@ class Results(_ResultsFolder):
|
|
769
755
|
max_i = None
|
770
756
|
array = self._array_from_states(grid_info, states=states, res_type=res_type)
|
771
757
|
if np.any(array):
|
772
|
-
array_filter =
|
773
|
-
filter_array, 1, array, mask=mask)
|
758
|
+
array_filter = filter_array2d(array, mask=mask)
|
774
759
|
results, max_i = peak_values_array2d(
|
775
760
|
array_filter, coincident=coincident)
|
776
761
|
else:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: honeybee-radiance-postprocess
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.549
|
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.
|
16
|
+
Requires-Dist: honeybee-radiance==1.66.185
|
17
17
|
Requires-Dist: numpy<2.0.0
|
18
18
|
|
19
19
|
[](https://github.com/ladybug-tools/honeybee-radiance-postprocess/actions)
|
{honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/CODE_OF_CONDUCT.md
RENAMED
File without changes
|
{honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/CONTRIBUTING.md
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{honeybee_radiance_postprocess-0.4.547 → honeybee_radiance_postprocess-0.4.549}/dev-requirements.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|