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

Allowing customization of the center frequency and of material layers #82

Merged
merged 19 commits into from
Jul 17, 2023
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
431ede2
Allowing customization of the center frequency and of material layers
NewtonSander Jun 14, 2023
3ab0ac2
Removing docstring mentions of the fixed 500kHz frequency
NewtonSander Jun 15, 2023
a0bfafe
Making materials dynamic, allowing the absorption calculation based o…
NewtonSander Jun 19, 2023
ac64c78
Adding algorithm to calculate the material absorption based on the fr…
NewtonSander Jun 22, 2023
f747f3e
Removing .vscode settings
NewtonSander Jun 22, 2023
e6167c0
Adding tests for materials
NewtonSander Jun 22, 2023
238a935
Moving scenario2 layers definition to scenario2 class
NewtonSander Jun 23, 2023
25ac093
Updating full scenario example
NewtonSander Jun 23, 2023
24a8696
Removing hard coded c_freq from methods
NewtonSander Jul 5, 2023
72c2105
Renaming variables to make the intention more clear
NewtonSander Jul 5, 2023
866525e
Merge branch 'main' into making_center_frequency_customizable
NewtonSander Jul 5, 2023
6693fe7
Fixing spellcheck error
NewtonSander Jul 5, 2023
a6bf547
Calculating material alpha for all frequencies
NewtonSander Jul 5, 2023
7dff8c4
Defining fixed material properties to the scenarios to match the paper
NewtonSander Jul 5, 2023
242fe7d
Linting gallery examples
NewtonSander Jul 5, 2023
4aebaf7
Adding alpha symbol to spellcheck whitelist
NewtonSander Jul 5, 2023
d2f654d
Updating gallery example title
NewtonSander Jul 5, 2023
8814853
Merge branch 'main' into making_center_frequency_customizable
NewtonSander Jul 5, 2023
22d8426
Update docs/examples/plot_customized_center_frequency.py
d-lucena Jul 17, 2023
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
Prev Previous commit
Update docs/examples/plot_customized_center_frequency.py
d-lucena authored Jul 17, 2023
commit 22d842658d500a49475b8d18591f1cbe9002b713
2 changes: 1 addition & 1 deletion docs/examples/plot_customized_center_frequency.py
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
# using default material layers
scenario.material_layers = ["water", "cortical_bone", "brain", "tumor"]

# Customizing material properties with random values
# Customizing material properties
scenario.material_properties = {
"tumor": ndk.materials.Material(
vp=1850.0, rho=1250.0, alpha=0.8, render_color="#94332F"