org-arl / arlpy

ARL Python Tools
BSD 3-Clause "New" or "Revised" License
118 stars 37 forks source link

Ability to plot a transmission loss slice at one receiver depth #86

Closed bbbrandyn closed 11 months ago

bbbrandyn commented 1 year ago

I was trying to implement in arlpy a way to plot a transmission loss slice at one receiver depth such as is done by the plottlr.m script in the Acoustics Toolbox. But I noticed that the values in each row of a tloss are complex numbers so I'm not sure how to simply plot the transmission loss at one depth. How can I use the data returned from compute_transmission_loss() in this way? This image is what I'm trying to accomplish for a selected receiver depth. image

mchitre commented 11 months ago

See #72 and #83 for a discussion on complex transmission loss. With #83, the transmission loss will be reported as real, with the phase compensated in the arrival time.

mchitre commented 11 months ago

Released v1.8.3, which should fix this.