MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ reed_coupling_is_unique()

MAYAFLUX_API bool MayaFlux::Kinesis::Acoustics::reed_coupling_is_unique ( const ReedChannel & reed,
double gain )
nodiscardnoexcept

Whether a coupling gain keeps the solution unique.

Parameters
reedChannel
gainFrom flow_coupling_gain
Returns
True while gain times the flow coefficient stays under the root of the closing pressure, which is zeta lambda under one

Past it the coupling can have more than one solution, and the one found depends on the previous sample's. Check it whenever the channel, the length or the sample rate changes.

Definition at line 38 of file Reed.cpp.

39{
40 return channel_valid(reed) && gain * reed_flow_coefficient(reed) < std::sqrt(reed.closing_pressure);
41}
double reed_flow_coefficient(const ReedChannel &reed) noexcept
w H sqrt(2 / rho), the flow per unit of (1 - d / pM) sign(d) sqrt|d|.
Definition Reed.cpp:20

References reed_flow_coefficient().

Here is the call graph for this function: