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

Create script to determine phase angles and stimulation strength #11

Closed
KTZ228 opened this issue Apr 21, 2023 · 2 comments
Closed

Create script to determine phase angles and stimulation strength #11

KTZ228 opened this issue Apr 21, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@KTZ228
Copy link
Collaborator

KTZ228 commented Apr 21, 2023

Since it is impossible to simulate the acoustic properties of all materials that make up an actual transducer we approach its intensity profile (provided in the calibration report) with virtual transducer elements. This is why parameters such as the phase angles [source_phase_deg] and stimulation strength [source_amp] provided by the manufacturer can not be directly fed into our simulations.
Currently, this is done by running through the steps found in the tutorial.

A better solution would be to have a script that can use the intensity curves at multiple focus_distance settings and with a target of peak stimulation strength [Isppa in free water] and gives you the parameters necessary for use in the config file.

This script has to be easy to use and provide easy-to-interpret results for the user since not having correctly recreated your transducer means all results are worthless (possibly without the experimenter knowing).

@KTZ228
Copy link
Collaborator Author

KTZ228 commented Apr 21, 2023

In terms of input, I was thinking about using:

  • A csv file with multiple columns as input so that the parameters for multiple focus_distance settings can be calculated at once
  • Use the config file as input so that the phase angles are based on the transducer's dimensions and the sizes of each individual element.
  • An output location to save the csv file containing the output and water simulation results as a control.

In terms of output:

  • A graph (as seen in the tutorial) showing how closely your simulated transducer mimics the actual profile.
  • Results from water simulations as an additional control.
  • A csv containing the parameters needed to reach the focus_distance and stimulation strength.

@mekman
Copy link
Collaborator

mekman commented Mar 15, 2024

closing this in favor of #32

@mekman mekman closed this as completed Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants