honeybee-radiance-postprocess 0.4.548__py2.py3-none-any.whl → 0.4.549__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.
@@ -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 = np.apply_along_axis(
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 filter_array, hoys_mask, check_array_dim, \
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
@@ -399,9 +399,7 @@ class Results(_ResultsFolder):
399
399
  for grid_info in grids_info:
400
400
  array = self._array_from_states(grid_info, states=states, res_type=res_type)
401
401
  if np.any(array):
402
- array_filter = np.apply_along_axis(
403
- filter_array, 1, array, mask=mask
404
- )
402
+ array_filter = filter_array2d(array, mask=mask)
405
403
  array_total = array_filter.sum(axis=1)
406
404
  else:
407
405
  array_total = np.zeros(grid_info['count'])
@@ -519,8 +517,7 @@ class Results(_ResultsFolder):
519
517
  for grid_info in grids_info:
520
518
  array = self._array_from_states(grid_info, states=states, res_type=res_type)
521
519
  if np.any(array):
522
- array_filter = np.apply_along_axis(
523
- filter_array, 1, array, mask=mask)
520
+ array_filter = filter_array2d(array, mask=mask)
524
521
  results = average_values_array2d(
525
522
  array_filter, full_length)
526
523
  else:
@@ -591,8 +588,7 @@ class Results(_ResultsFolder):
591
588
  for grid_info in grids_info:
592
589
  array = self._array_from_states(grid_info, states=states, res_type=res_type)
593
590
  if np.any(array):
594
- array_filter = np.apply_along_axis(
595
- filter_array, 1, array, mask=mask)
591
+ array_filter = filter_array2d(array, mask=mask)
596
592
  if not hoys:
597
593
  # concatenate zero array
598
594
  zero_array = \
@@ -678,8 +674,7 @@ class Results(_ResultsFolder):
678
674
  for grid_info in grids_info:
679
675
  array = self._array_from_states(grid_info, states=states, res_type=res_type)
680
676
  if np.any(array):
681
- array_filter = np.apply_along_axis(
682
- filter_array, 1, array, mask=mask)
677
+ array_filter = filter_array2d(array, mask=mask)
683
678
  results = cumulative_values_array2d(
684
679
  array_filter, self.timestep, t_step_multiplier)
685
680
  else:
@@ -760,8 +755,7 @@ class Results(_ResultsFolder):
760
755
  max_i = None
761
756
  array = self._array_from_states(grid_info, states=states, res_type=res_type)
762
757
  if np.any(array):
763
- array_filter = np.apply_along_axis(
764
- filter_array, 1, array, mask=mask)
758
+ array_filter = filter_array2d(array, mask=mask)
765
759
  results, max_i = peak_values_array2d(
766
760
  array_filter, coincident=coincident)
767
761
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: honeybee-radiance-postprocess
3
- Version: 0.4.548
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.184
16
+ Requires-Dist: honeybee-radiance==1.66.185
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)
@@ -37,14 +37,14 @@ honeybee_radiance_postprocess/leed/__init__.py,sha256=kQXElEqFnLGNnrMSpA51XDHoqB
37
37
  honeybee_radiance_postprocess/leed/leed.py,sha256=yGaUP_wR-BjEQgPmKUZCOuSVvITkiiIiCbEu2pYlSJw,35907
38
38
  honeybee_radiance_postprocess/leed/leed_schedule.py,sha256=8NUISE6RbENK1IgMA5cC2-UorrvwwQi1rKPPZr0KNZE,10279
39
39
  honeybee_radiance_postprocess/results/__init__.py,sha256=1agBQbfT4Tf8KqSZzlfKYX8MeZryY4jJ1KB4HWqaDDk,182
40
- honeybee_radiance_postprocess/results/annual_daylight.py,sha256=NsAhcM3y-ereTnI3yWX_3C7IXxRH-uulDulndu2aYV4,34629
40
+ honeybee_radiance_postprocess/results/annual_daylight.py,sha256=ulv8kZvS6UkhCjaXSJKXQeVhUReRdx4M0tGvy7rA8CI,34586
41
41
  honeybee_radiance_postprocess/results/annual_irradiance.py,sha256=nA1VubesNDtRxgXpHSZxFMV67XxUntIHIu5H9qtDBSk,8483
42
- honeybee_radiance_postprocess/results/results.py,sha256=vzvM_W8hV0fMzprVjBaS8p-KataYHBt1oZDfKqRY5hY,56608
42
+ honeybee_radiance_postprocess/results/results.py,sha256=twfOF_ZNflxujWqpzigz4_pZ1vcSpF8cQxWIy7ajt0Y,56378
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.548.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
46
- honeybee_radiance_postprocess-0.4.548.dist-info/METADATA,sha256=Kv6RPyh_HQTbflN1GKdAEoR5OkZluRxyVIVzFD9Q9F8,2238
47
- honeybee_radiance_postprocess-0.4.548.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
48
- honeybee_radiance_postprocess-0.4.548.dist-info/entry_points.txt,sha256=gFtVPx6UItXt27GfEZZO00eOZChJJEL6JwGSAB_O3rs,96
49
- honeybee_radiance_postprocess-0.4.548.dist-info/top_level.txt,sha256=4-sFbzy7ewP2EDqJV3jeFlAFx7SuxtoBBELWaKAnLdA,30
50
- honeybee_radiance_postprocess-0.4.548.dist-info/RECORD,,
45
+ honeybee_radiance_postprocess-0.4.549.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
46
+ honeybee_radiance_postprocess-0.4.549.dist-info/METADATA,sha256=timr7b8MtLTQbuvwDAy-yOzU6SExIJVDwJyhOmePh0g,2238
47
+ honeybee_radiance_postprocess-0.4.549.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109
48
+ honeybee_radiance_postprocess-0.4.549.dist-info/entry_points.txt,sha256=gFtVPx6UItXt27GfEZZO00eOZChJJEL6JwGSAB_O3rs,96
49
+ honeybee_radiance_postprocess-0.4.549.dist-info/top_level.txt,sha256=4-sFbzy7ewP2EDqJV3jeFlAFx7SuxtoBBELWaKAnLdA,30
50
+ honeybee_radiance_postprocess-0.4.549.dist-info/RECORD,,