get_wave_flux

pysac.analysis.get_wave_flux(f, pk)[source] [edit on github]

Calculate the wave energy flux from a SACData instance and the kinetic pressure

Parameters:

f: VACdata instance

RAW data file

pk: np.ndarray

Thermal pressure

Returns:

Fwave: np.ndarray

The wave energy flux