Engee documentation

BA-IS-XX RF9-SPECTRUM-ANALYZER

Obtaining the dominant harmonics of the spectrum on an SDR receiver.

blockType: CFunction

Path in the library:

/RITM/RITMeX BA-IS-XX/BA-IS-XX RF9/BA-IS-XX RF9-SPECTRUM-ANALYZER

Description

To work with the block, install/update the support package RITM blocks.

Block BA-IS-XX RF9-SPECTRUM-ANALYZER It is used to obtain the dominant harmonics of the spectrum at the SDR receiver.

Ports

Output

# peaks_num — the number of peaks found on the spectrum
scalar

Details
Data types

Float64

Complex numbers support

No

# freq_array — an array of frequencies (in MHz) corresponding to these harmonics
vector

Details
Data types

Float64

Complex numbers support

No

# dbm_array — an array of powers (in dbm) corresponding to these harmonics
vector

Details
Data types

Float64

Complex numbers support

No

Parameters

Parameters

# Номер модуля: — serial number of the BA-IS-XX module
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8

Details

Serial number of the BA-IS-XX module on the RITM chassis (only BA-IS-XX modules are counted in the numbering).

Values

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8

Default value

1

Program usage name

m_module_idx

Tunable

No

Evaluatable

Yes

# Максимальное количество гармоник: — the maximum estimated number of harmonics per simulation session

Details

The maximum estimated number of harmonics per simulation session (peaks_num cannot be more than this parameter).

Default value

1

Program usage name

m_peaks_num

Tunable

No

Evaluatable

Yes

# Количество сэмплов АЦП в серии: — number of ADC samples

Details

The number of ADC samples used to calculate the spectrum in one calculation step.

Default value

1024

Program usage name

m_samples_num

Tunable

No

Evaluatable

Yes

# Минимальная относительная высота экстремума, dBm: — the minimum relative height of the peak on the spectrum to account for it

Details
Default value

0.0

Program usage name

m_min_prominence

Tunable

No

Evaluatable

Yes

# Минимальная абсолютная высота экстремума, dBm: — the minimum absolute value of the peak on the spectrum to account for it

Details
Default value

0.0

Program usage name

m_min_heigh

Tunable

No

Evaluatable

Yes

# Шаг расчёта, с: — block calculation step

Details

The block calculation step in seconds (-1 for inheriting the model calculation step).

Default value

-1

Program usage name

m_sample_time

Tunable

No

Evaluatable

Yes