honeybee-radiance-postprocess 0.4.441__py2.py3-none-any.whl → 0.4.442__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.
@@ -557,9 +557,11 @@ def leed_option_one(
557
557
  pass_sda_blinds_down_grids = []
558
558
  for grid_info in grids_info:
559
559
  light_paths = [lp[0] for lp in grid_info['light_path']]
560
- arrays = []
561
- arrays_blinds_up = []
562
- arrays_blinds_down = []
560
+ base_zero_array = np.apply_along_axis(filter_array, 1, np.zeros(
561
+ (grid_info['count'], len(results.sun_up_hours))), occ_mask)
562
+ arrays = [base_zero_array.copy()]
563
+ arrays_blinds_up = [base_zero_array.copy()]
564
+ arrays_blinds_down = [base_zero_array.copy()]
563
565
  # combine total array for all light paths
564
566
  if use_states:
565
567
  array = results._array_from_states(grid_info, states=states_schedule)
@@ -567,16 +569,24 @@ def leed_option_one(
567
569
 
568
570
  for light_path in light_paths:
569
571
  # do an extra pass to calculate with blinds always up or down
570
- array_blinds_up = results._get_array(
571
- grid_info, light_path, state=0, res_type='total')
572
- array_filter = np.apply_along_axis(
573
- filter_array, 1, array_blinds_up, occ_mask)
574
- arrays_blinds_up.append(array_filter)
575
- array_blinds_down = results._get_array(
576
- grid_info, light_path, state=1, res_type='total')
577
- array_filter = np.apply_along_axis(
578
- filter_array, 1, array_blinds_down, occ_mask)
579
- arrays_blinds_down.append(array_filter)
572
+ if light_path != '__static_apertures__':
573
+ array_blinds_up = results._get_array(
574
+ grid_info, light_path, state=0, res_type='total')
575
+ array_filter = np.apply_along_axis(
576
+ filter_array, 1, array_blinds_up, occ_mask)
577
+ arrays_blinds_up.append(array_filter)
578
+ array_blinds_down = results._get_array(
579
+ grid_info, light_path, state=1, res_type='total')
580
+ array_filter = np.apply_along_axis(
581
+ filter_array, 1, array_blinds_down, occ_mask)
582
+ arrays_blinds_down.append(array_filter)
583
+ else:
584
+ static_array = results._get_array(
585
+ grid_info, light_path, state=0, res_type='total')
586
+ array_filter = np.apply_along_axis(
587
+ filter_array, 1, static_array, occ_mask)
588
+ arrays_blinds_up.append(array_filter)
589
+ arrays_blinds_down.append(array_filter)
580
590
  else:
581
591
  for light_path in light_paths:
582
592
  array = results._get_array(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: honeybee-radiance-postprocess
3
- Version: 0.4.441
3
+ Version: 0.4.442
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
@@ -26,15 +26,15 @@ honeybee_radiance_postprocess/cli/two_phase.py,sha256=xA6ayPv26DM5fuMkLhBMYGklf_
26
26
  honeybee_radiance_postprocess/cli/util.py,sha256=Be9cGmYhcV2W37ma6SgQPCWCpWLLLlroxRYN_l58kY0,4077
27
27
  honeybee_radiance_postprocess/cli/viewfactor.py,sha256=kU36YRzLya5PReYREjTfw3zOcWKHYZjVlVclyuR7Cqk,5245
28
28
  honeybee_radiance_postprocess/leed/__init__.py,sha256=kQXElEqFnLGNnrMSpA51XDHoqBup849FHeAqWASIy6w,45
29
- honeybee_radiance_postprocess/leed/leed.py,sha256=rbvhq51Dfhx4aZFcKWqOXp3FfgFy5YDRkHYn9wKHQpc,32631
29
+ honeybee_radiance_postprocess/leed/leed.py,sha256=I3bcPbIvO2ppujmpetLPY82zZwdPAuYp67heDypIlDs,33329
30
30
  honeybee_radiance_postprocess/leed/leed_schedule.py,sha256=s3by1sv1DtOlCawvaMvnIDvEo5D8ATEJvWQ_rEeJIHg,9956
31
31
  honeybee_radiance_postprocess/results/__init__.py,sha256=1agBQbfT4Tf8KqSZzlfKYX8MeZryY4jJ1KB4HWqaDDk,182
32
32
  honeybee_radiance_postprocess/results/annual_daylight.py,sha256=11d4J1iIuITKuoWyWa-2_2WdrHYBULC0YP-mWBWi4JQ,34724
33
33
  honeybee_radiance_postprocess/results/annual_irradiance.py,sha256=5zwrr4MNeHUebbSRpSBbscPOZUs2AHmYCQfIIbdYImY,8298
34
34
  honeybee_radiance_postprocess/results/results.py,sha256=ABb_S8kDPruhGkDsfREXMg6K0p8FRhAZ3QIRUZCQPAI,54888
35
- honeybee_radiance_postprocess-0.4.441.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
36
- honeybee_radiance_postprocess-0.4.441.dist-info/METADATA,sha256=f7fl5XxoeXdNh5dt9Htl1Kcs9nt2VUeUm08tsTdTMag,2246
37
- honeybee_radiance_postprocess-0.4.441.dist-info/WHEEL,sha256=unfA4MOaH0icIyIA5oH6E2sn2Hq5zKtLlHsWapZGwes,110
38
- honeybee_radiance_postprocess-0.4.441.dist-info/entry_points.txt,sha256=gFtVPx6UItXt27GfEZZO00eOZChJJEL6JwGSAB_O3rs,96
39
- honeybee_radiance_postprocess-0.4.441.dist-info/top_level.txt,sha256=4-sFbzy7ewP2EDqJV3jeFlAFx7SuxtoBBELWaKAnLdA,30
40
- honeybee_radiance_postprocess-0.4.441.dist-info/RECORD,,
35
+ honeybee_radiance_postprocess-0.4.442.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
36
+ honeybee_radiance_postprocess-0.4.442.dist-info/METADATA,sha256=vtmQw3poAp4aD_Ff3clFauY6RzRfZiLLWLoiJQDOf5M,2246
37
+ honeybee_radiance_postprocess-0.4.442.dist-info/WHEEL,sha256=unfA4MOaH0icIyIA5oH6E2sn2Hq5zKtLlHsWapZGwes,110
38
+ honeybee_radiance_postprocess-0.4.442.dist-info/entry_points.txt,sha256=gFtVPx6UItXt27GfEZZO00eOZChJJEL6JwGSAB_O3rs,96
39
+ honeybee_radiance_postprocess-0.4.442.dist-info/top_level.txt,sha256=4-sFbzy7ewP2EDqJV3jeFlAFx7SuxtoBBELWaKAnLdA,30
40
+ honeybee_radiance_postprocess-0.4.442.dist-info/RECORD,,