tiskitpy.plot_compliance_stack
- tiskitpy.plot_compliance_stack(psd, zstr, pstr, water_depth, seawater_density=1030, show=True, outfile=None)
Plot from top to bottom: Z PSD, P PSD, coherence, Z/P
- Parameters:
psd (SpectralDensity) – PSDs including Z and P
zstr (str) – channel id sub/string matching the Z channel (see
SpectralDensity.channel_id()documentation)pstr (str) – channel id sub/string matching the P channel
water_depth (float) – water depth in meters
seawater_density (float) – average water density overhead (kg/m^3)
show (bool) – show the result on the screen
outfile (str) – save the plot to the named file