voxcity 1.0.13__py3-none-any.whl → 1.0.15__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.
- voxcity/simulator/solar/__init__.py +13 -0
- voxcity/simulator_gpu/__init__.py +73 -98
- voxcity/simulator_gpu/domain.py +30 -256
- voxcity/simulator_gpu/raytracing.py +153 -0
- voxcity/simulator_gpu/solar/__init__.py +45 -1
- voxcity/simulator_gpu/solar/domain.py +57 -0
- voxcity/simulator_gpu/solar/integration.py +1622 -253
- voxcity/simulator_gpu/solar/mask.py +459 -0
- voxcity/simulator_gpu/solar/raytracing.py +28 -532
- voxcity/simulator_gpu/solar/volumetric.py +962 -14
- {voxcity-1.0.13.dist-info → voxcity-1.0.15.dist-info}/METADATA +1 -1
- {voxcity-1.0.13.dist-info → voxcity-1.0.15.dist-info}/RECORD +15 -25
- voxcity/simulator_gpu/common/__init__.py +0 -9
- voxcity/simulator_gpu/common/geometry.py +0 -11
- voxcity/simulator_gpu/environment.yml +0 -11
- voxcity/simulator_gpu/integration.py +0 -15
- voxcity/simulator_gpu/kernels.py +0 -56
- voxcity/simulator_gpu/radiation.py +0 -28
- voxcity/simulator_gpu/sky.py +0 -9
- voxcity/simulator_gpu/solar/voxcity.py +0 -2953
- voxcity/simulator_gpu/temporal.py +0 -13
- voxcity/simulator_gpu/utils.py +0 -25
- voxcity/simulator_gpu/view.py +0 -32
- {voxcity-1.0.13.dist-info → voxcity-1.0.15.dist-info}/WHEEL +0 -0
- {voxcity-1.0.13.dist-info → voxcity-1.0.15.dist-info}/licenses/AUTHORS.rst +0 -0
- {voxcity-1.0.13.dist-info → voxcity-1.0.15.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"""VoxCity-style `temporal` module (toplevel) for compatibility."""
|
|
2
|
-
|
|
3
|
-
from .solar.integration import (
|
|
4
|
-
get_solar_positions_astral,
|
|
5
|
-
get_cumulative_global_solar_irradiance,
|
|
6
|
-
get_cumulative_building_solar_irradiance,
|
|
7
|
-
)
|
|
8
|
-
|
|
9
|
-
__all__ = [
|
|
10
|
-
"get_solar_positions_astral",
|
|
11
|
-
"get_cumulative_global_solar_irradiance",
|
|
12
|
-
"get_cumulative_building_solar_irradiance",
|
|
13
|
-
]
|
voxcity/simulator_gpu/utils.py
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"""Small compatibility module matching `voxcity.simulator.utils`.
|
|
2
|
-
|
|
3
|
-
VoxCity's `voxcity.simulator` flattens `utils` into the toplevel namespace.
|
|
4
|
-
Some user code may rely on these names existing after:
|
|
5
|
-
|
|
6
|
-
import simulator_gpu as simulator
|
|
7
|
-
|
|
8
|
-
This module keeps that behavior without pulling in VoxCity.
|
|
9
|
-
"""
|
|
10
|
-
|
|
11
|
-
from datetime import datetime
|
|
12
|
-
|
|
13
|
-
import numpy as np
|
|
14
|
-
|
|
15
|
-
try:
|
|
16
|
-
import pandas as pd # type: ignore
|
|
17
|
-
except Exception: # pragma: no cover
|
|
18
|
-
pd = None # type: ignore
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
def dummy_function(test_string):
|
|
22
|
-
return test_string
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
__all__ = ["np", "pd", "datetime", "dummy_function"]
|
voxcity/simulator_gpu/view.py
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"""Compatibility wrapper for the legacy VoxCity `view` module.
|
|
2
|
-
|
|
3
|
-
VoxCity exposes view-related functions both under:
|
|
4
|
-
- `voxcity.simulator.visibility.*` (newer)
|
|
5
|
-
- `voxcity.simulator.view.*` (legacy wrapper)
|
|
6
|
-
|
|
7
|
-
This module mirrors that pattern for `simulator_gpu` so code can do:
|
|
8
|
-
import simulator_gpu as simulator
|
|
9
|
-
simulator.view.get_view_index(...)
|
|
10
|
-
"""
|
|
11
|
-
|
|
12
|
-
from .visibility import (
|
|
13
|
-
get_view_index,
|
|
14
|
-
get_sky_view_factor_map,
|
|
15
|
-
get_surface_view_factor,
|
|
16
|
-
get_landmark_visibility_map,
|
|
17
|
-
get_surface_landmark_visibility,
|
|
18
|
-
mark_building_by_id,
|
|
19
|
-
compute_landmark_visibility,
|
|
20
|
-
rotate_vector_axis_angle,
|
|
21
|
-
)
|
|
22
|
-
|
|
23
|
-
__all__ = [
|
|
24
|
-
"get_view_index",
|
|
25
|
-
"get_sky_view_factor_map",
|
|
26
|
-
"get_surface_view_factor",
|
|
27
|
-
"mark_building_by_id",
|
|
28
|
-
"compute_landmark_visibility",
|
|
29
|
-
"get_landmark_visibility_map",
|
|
30
|
-
"get_surface_landmark_visibility",
|
|
31
|
-
"rotate_vector_axis_angle",
|
|
32
|
-
]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|