libSDRForge
Loading...
Searching...
No Matches
sdrforge.weather.same_tone_gate Namespace Reference

Experimental SAME tone-selective frame gate. More...

Functions

float same_tone_fraction (np.ndarray pcm, int sample_rate)
 Fraction of windowed spectral energy near SAME mark/space tones.
bool is_same_tone_candidate (np.ndarray pcm, int sample_rate, *, float min_fraction=0.40, float min_rms=0.02)
 Check both signal level and concentration near SAME tones.

Detailed Description

Experimental SAME tone-selective frame gate.

Function Documentation

◆ is_same_tone_candidate()

bool sdrforge.weather.same_tone_gate.is_same_tone_candidate ( np.ndarray pcm,
int sample_rate,
* ,
float min_fraction = 0.40,
float min_rms = 0.02 )

Check both signal level and concentration near SAME tones.

Parameters
pcmThe pcm value.
sample_rateThe sample rate value.
min_fractionThe min fraction value.
min_rmsThe min rms value.
Returns
The operation result.

◆ same_tone_fraction()

float sdrforge.weather.same_tone_gate.same_tone_fraction ( np.ndarray pcm,
int sample_rate )

Fraction of windowed spectral energy near SAME mark/space tones.

Parameters
pcmThe pcm value.
sample_rateThe sample rate value.
Returns
The operation result.