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

Flicker for rotated arrays #119

Merged
merged 2 commits into from
Mar 27, 2023
Merged

Flicker for rotated arrays #119

merged 2 commits into from
Mar 27, 2023

Conversation

dguittet
Copy link
Collaborator

Enables calculation of flicker losses for arrays that are rotated.

Allow get_flicker_loss_multiplier to use strands or module_points, shapely MultiPoint of module locations. Strands are LineStrings where the modules are located in a single row. Neither strands nor module_points differentiate between strings or racks.

Tested in test_layout/test_hybrid_layout_rotated_array. The runtime using MultiPoint is slightly faster (6% faster in a single trial).

image

@dguittet dguittet requested a review from Matthew-Boyd March 26, 2023 17:21
Copy link
Collaborator

@Matthew-Boyd Matthew-Boyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't familiar with this code but took a pretty close look and didn't find any issues.

@dguittet
Copy link
Collaborator Author

Thanks @Matthew-Boyd

@dguittet dguittet merged commit fce7795 into master Mar 27, 2023
@dguittet dguittet deleted the flicker_updates branch March 27, 2023 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants