[feature] New module sky_model with Reinhart sky discretization scheme
* Reinhart sky discretization scheme is in a new module sky_model in a new class ReinhartSky. Its only input is multiplying factor MF, that is used to multiply the 145 patches from the "original" Tregenza sky subdivision scheme into as many patches (e.g. MF = 4 subdivides each of the patches of the Tregenza scheme in 4). Only the top patch is not subdivided like the others, but its size decreases as MF increases. * Conversion function from spherical to cartesian coordinates is in new file conversion_functions.py. Inputs are documented in the function docstring. Conversion functions should be stored there and reused as much as possible to reduce risks of errors. Closes #116
parent
ff28edf3
No related branches found
No related tags found
Showing
- INPUTS/SCENARIOS/Example1_loc.yaml 17 additions, 2 deletionsINPUTS/SCENARIOS/Example1_loc.yaml
- INPUTS/SCENARIOS/Siguesol_loc.yaml 15 additions, 0 deletionsINPUTS/SCENARIOS/Siguesol_loc.yaml
- MODULES/ENVIRONMENT/light.py 23 additions, 5 deletionsMODULES/ENVIRONMENT/light.py
- MODULES/ENVIRONMENT/sky_model.py 270 additions, 0 deletionsMODULES/ENVIRONMENT/sky_model.py
- MODULES/conversion_functions.py 46 additions, 1 deletionMODULES/conversion_functions.py
- TEMPORARY_FILES/sky_subdivision.py 315 additions, 0 deletionsTEMPORARY_FILES/sky_subdivision.py
- example.py 5 additions, 2 deletionsexample.py
- main.py 4 additions, 2 deletionsmain.py
Loading
Please register or sign in to comment