Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sofast examples modifications #166

Merged
merged 18 commits into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

2 changes: 1 addition & 1 deletion example/csp/example_optics_and_ray_tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def define_mirror_array(focal_length: float) -> FacetEnsemble:
# Build facet ensemble
facet_ensemble = FacetEnsemble(facets)
facet_ensemble.set_facet_positions(facet_locations)
facet_ensemble.set_facet_canting(facet_canting)
facet_ensemble.set_facet_cantings(facet_canting)

return facet_ensemble # FacetEnsemble.generate_rotation_defined(facets)

Expand Down
2 changes: 1 addition & 1 deletion example/mirror/example_MirrorOutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def setUp(self):
tilt_left * tilt_down,
tilt_right * tilt_down,
]
fe2x2.set_facet_canting(fe_2x2_canting_rotations)
fe2x2.set_facet_cantings(fe_2x2_canting_rotations)

self.h2x2 = HeliostatAzEl(fe2x2, name='Simple 2x2 Heliostat')
self.h2x2_title = 'Heliostat with Parametrically Defined Facets'
Expand Down
2 changes: 1 addition & 1 deletion example/raytrace/example_RayTraceOutput.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def setUp(self):
self.fe2x2 = FacetEnsemble(self.h2x2_facets)
fe2x2_positions = Pxyz([[-1.1, 1.1, -1.1, 1.1], [1.6, 1.6, -1.6, -1.6], [0, 0, 0, 0]])
self.fe2x2.set_facet_positions(fe2x2_positions)
self.fe2x2.set_facet_canting(self.h2x2_canting)
self.fe2x2.set_facet_cantings(self.h2x2_canting)
self.h2x2 = HeliostatAzEl(self.fe2x2, 'Simple 2x2 Heliostat')
self.h2x2.pivot = 0
self.h2x2_title = 'Heliostat with Parametrically Defined Facets'
Expand Down
Loading