Skip to content

Commit

Permalink
Merge pull request #166 from braden6521/sofast_ex_mods
Browse files Browse the repository at this point in the history
Sofast examples modifications
  • Loading branch information
e10harvey authored Nov 19, 2024
2 parents 536ac38 + 350131e commit 9834362
Show file tree
Hide file tree
Showing 16 changed files with 496 additions and 399 deletions.

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

0 comments on commit 9834362

Please sign in to comment.