This PR includes an updated heliostat raytracing based on a torch.Dataset. The dataset is comprised of distortions which can be generated for multiple heliostats. Additionally, this heliostat raytracing allows for distributed raytracing using MPI.
In addition, the following enhancements have been made:
A scenario object was created that contains information about the entire scenario to be run.
A receiver object containing receiver parameters.
Tests rewritten to include the scenario object.
A new light source test that only tests the functionality of the light source.
Renaming tests to improve comprehension.
The ScenarioGenerator is now object orientated, meaning scenarios can be generated from outside the ARTIST package.
A StralConvertor is included that converts stral measurement data to hdf5, which can be loaded from the scenario.
Fixes #40 and #41 - also implements heliostat raytracing in a torch compaitable manner that helps to solve #56 .
Type of change
Please delete options that are not relevant.
[X] New feature (non-breaking change which adds functionality)
[X] This change requires a documentation update
Checklist:
[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing tests pass locally with my changes
[X] Any dependent changes have been merged and published in downstream modules
With the latest commit, all commit suggestions have been included, additionally:
The install instructions have been updated.
However, the type hints have not been adjusted - for now, we keep the simple import paths, and if this leads to confusing docstrings later, we will adapt it then!
Description
This PR includes an updated heliostat raytracing based on a
torch.Dataset
. The dataset is comprised of distortions which can be generated for multiple heliostats. Additionally, this heliostat raytracing allows for distributed raytracing using MPI.In addition, the following enhancements have been made:
ScenarioGenerator
is now object orientated, meaning scenarios can be generated from outside theARTIST
package.StralConvertor
is included that converts stral measurement data to hdf5, which can be loaded from the scenario.Fixes #40 and #41 - also implements heliostat raytracing in a
torch
compaitable manner that helps to solve #56 .Type of change
Please delete options that are not relevant.
Checklist: