modFactor was cahged
parent
a125cc0fc5
commit
abdddc307a
|
@ -248,12 +248,12 @@ export function specSquare(spec, L, R) {
|
||||||
};
|
};
|
||||||
}; //определение площадей спектра
|
}; //определение площадей спектра
|
||||||
|
|
||||||
export function modFactor(ampl, base) {
|
export function modFactor(options) {
|
||||||
let dl = (ampl - base); //разность уровней гармонической и случайной составляющей вибрации
|
let dl = (options.ampl - options.base); //разность уровней гармонической и случайной составляющей вибрации
|
||||||
let df = specParams().frequency / bpWidth(); //отношение частотному разрешению спектра к ширине фильтра
|
let df = options.spec.frequency / options.fltr.width; //отношение граничной частоты спектра к ширине фильтра
|
||||||
let mod = Math.sqrt((10 ** (dl / 10) - 1) * df) * 100;
|
let mod = Math.sqrt((10 ** (dl / 10) - 1) * df);
|
||||||
return mod;
|
return mod;
|
||||||
}; //определение условной глубины модуляции
|
}; //определение глубины модуляции ВЧ составляющих
|
||||||
|
|
||||||
export function deepFactor(ampl, base) {
|
export function deepFactor(ampl, base) {
|
||||||
let deep = (ampl - base) / (ampl + base) * 100;
|
let deep = (ampl - base) / (ampl + base) * 100;
|
||||||
|
|
Loading…
Reference in New Issue