Skip to content

Conversation

@ebrahimebrahim
Copy link
Collaborator

@ebrahimebrahim ebrahimebrahim commented Oct 6, 2024

Close #125

This includes

  • changing Solution.focus to Solution.foci and making that be a list of Points rather than a Point.
  • changing the xarray simulation data to have an additional coord "focal_point_index"

Remaining to do:

@ebrahimebrahim
Copy link
Collaborator Author

The changes so far should work with db-extended-example-v05.zip.

@ebrahimebrahim ebrahimebrahim requested a review from ltetrel October 6, 2024 18:46
@ebrahimebrahim
Copy link
Collaborator Author

@ltetrel we can merge your #104 work before this if you want, and then I will rebase this. I just added you for an initial review just so you get a chance to anticipate the upcoming changes while you work on your current thing. Feel free to put off review till after #104 is done, whatever you prefer.

@ltetrel
Copy link
Contributor

ltetrel commented Oct 23, 2024

I don't remember if we want to have a list of targets as well (for example for a wheel pattern).

@ltetrel
Copy link
Contributor

ltetrel commented Oct 23, 2024

I don't remember if we want to have a list of targets as well (for example for a wheel pattern).

Okay I remember now, we can have multiple focus "that will resolve" into a single target

@ebrahimebrahim
Copy link
Collaborator Author

Okay I remember now, we can have multiple focus "that will resolve" into a single target

Correct

This includes
* changing Solution.focus to Solution.foci and making that be a *list*
  of Points rather than a Point.
* changing the xarray simulation data to have an additional coord
  "focal_point_index"
* adding an axis to the delay and apodization arrays in Solution to
  index focal points.

no need for instance checking anymore since foci will always be a list

solution output analysis now takes into account foci list
@ebrahimebrahim ebrahimebrahim marked this pull request as ready for review October 23, 2024 18:53
@ebrahimebrahim ebrahimebrahim merged commit 50b613a into main Oct 23, 2024
9 checks passed
@ebrahimebrahim ebrahimebrahim deleted the issue_125 branch March 12, 2025 01:59
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.

Solutions should have a list of focal points rather than one focus

3 participants