Skip to content

Conversation

fs446
Copy link
Member

@fs446 fs446 commented Aug 24, 2025

@fs446
Copy link
Member Author

fs446 commented Aug 29, 2025

fs446 added 10 commits September 1, 2025 22:01
- add two examples for xref(x0) reference contour into docstring
- use wavelength instead of frequency (which assumed c=343 m/s)
- use array2 with N=64, does the job and looks nicer
- now avoids 'hard coded' wording, but gives a hint for code validity
- x0_ -> x0_tmp, xs_ -> xs_tmp
- use f_tmp / omega_tmp for the two ref contour examples only
- more convenient to have this in a notebbok
- the wfs.py examples remain minimal and straightforward
- the proposed notebook can be extended to referencing schemes for linear SSDs and in general for other potential referencing schemes
- remove array2 as not needed for the new proposal
lmb -> wavelength
explicite marker and linestyle
change negative x-axis to x-axis
@fs446 fs446 force-pushed the add_wfs_point_25d_fd_examples branch from 5394090 to 4cdbb56 Compare September 1, 2025 20:02
- nicer code structure, format
- subplot(2,1) instead of (1,2) seems nicer
- scatter plot for ref contour
- tapering not needed
- add difference as magnitude plot
"source": [
"# WFS Referencing Schemes\n",
"\n",
"Illustrates the usage of the SFS toolbox for the simulation of different 2.5D WFS referencing schemes for contours within the listening area that exhibit amplitude correct synthesis, cf. Ch. 4.1.3 in <cite data-cite=\"Firtha2019\">[Firtha19]</cite> and <cite data-cite=\"Firtha2017\">(FFSS17)</cite>."
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"Illustrates the usage of the SFS toolbox for the simulation of different 2.5D WFS referencing schemes for contours within the listening area that exhibit amplitude correct synthesis, cf. Ch. 4.1.3 in <cite data-cite=\"Firtha2019\">[Firtha19]</cite> and <cite data-cite=\"Firtha2017\">(FFSS17)</cite>."
"Illustrates the usage of the SFS toolbox for the simulation of different 2.5D WFS referencing schemes for contours within the listening area that exhibit amplitude correct synthesis, cf. Ch. 4.1.3 in <cite data-cite=\"Firtha2019\">[Firtha19]</cite> and <cite data-cite=\"Firtha2017\">[FFSS17]</cite>."

It would probably simplify maintenance to make the BibTeX key the same as what is displayed?

"metadata": {},
"outputs": [],
"source": [
"xs = sfs.util.asarray_of_rows((-4, 0, 0))\n",
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"xs = sfs.util.asarray_of_rows((-4, 0, 0))\n",
"xs = sfs.util.asarray_of_rows(xs)\n",

"source": [
"### Line as reference contour\n",
"\n",
"The reference contour is calculated according to <cite data-cite=\"Firtha2017\">(FFSS17)</cite> for a virtual point source on x-axis."
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"The reference contour is calculated according to <cite data-cite=\"Firtha2017\">(FFSS17)</cite> for a virtual point source on x-axis."
"The reference contour is calculated according to <cite data-cite=\"Firtha2017\">[FFSS17]</cite> for a virtual point source on x-axis."

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