- 
                Notifications
    
You must be signed in to change notification settings  - Fork 20
 
add 2.5D WFS reference contour examples #184
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
Conversation
| 
           the examples are now here:  | 
    
5394090    to
    4cdbb56      
    Compare
  
    eae2b27    to
    64e027b      
    Compare
  
    | 
           mgeier, thanks for the comments and suggestions, I added this and some more in 7d4f267 and commented directly via the commit message.  | 
    
c24cd6c    to
    71415ba      
    Compare
  
    … will be adapted in near future
        
          
                doc/examples/wfs-referencing.ipynb
              
                Outdated
          
        
      | "xref = [0, 0.1175, 0] # intentionally no stationary phase point\n", | ||
| "# we don't forget to normalize the point source's amplitude\n", | ||
| "# to this new reference point:\n", | ||
| "normalize_gain = 4 * np.pi * np.linalg.norm(xs - np.array(xref))\n", | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "normalize_gain = 4 * np.pi * np.linalg.norm(xs - np.array(xref))\n", | |
| "normalize_gain = 4 * np.pi * np.linalg.norm(xs - xref)\n", | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
        
          
                doc/examples/wfs-referencing.ipynb
              
                Outdated
          
        
      | "metadata": {}, | ||
| "outputs": [], | ||
| "source": [ | ||
| "xref = [0, 0.1175, 0] # intentionally no stationary phase point\n", | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is of course a matter of taste, but I prefer it without brackets:
| "xref = [0, 0.1175, 0] # intentionally no stationary phase point\n", | |
| "xref = 0, 0.1175, 0 # intentionally no stationary phase point\n", | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
without brackets -> ok
as proposed by mgeier
mgeier suggested to improve np.array([[0, 0, 0]]*array.x.shape[0]) and np.array([xref]*array.x.shape[0]) by a handling in sound_field()
…legant as proposed by mgeier
Uh oh!
There was an error while loading. Please reload this page.