Array Factor¶
rfsoc_rfdc.dsp.array_factor
¶
Classes¶
ArrayFactor
¶
Bases: ABC
Abstract base class for Array Factor calculations.
This class defines the interface for beamformers and array factor computations.
Source code in rfsoc_rfdc/dsp/array_factor.py
Functions¶
get_spacing()
abstractmethod
¶
Get the physical spacing of the array elements.
Returns:
| Type | Description |
|---|---|
|
numpy.ndarray: An array containing the positions of the antenna elements (in meters). |
get_bfw()
abstractmethod
¶
Calculate the complex weights for beamforming.
Returns:
| Type | Description |
|---|---|
|
numpy.ndarray: Complex weights for the array elements. |
get_bfw_sim()
abstractmethod
¶
Calculate the complex weights for beamforming (Simulation Only). This should return ideal weights without any hardware-specific calibration.
Returns:
| Type | Description |
|---|---|
|
numpy.ndarray: Complex weights for the array elements. |
Source code in rfsoc_rfdc/dsp/array_factor.py
get_bfw_fixpt(bits=16)
abstractmethod
¶
Calculate the fixed-point weights for beamforming.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
bits
|
int
|
The number of bits for fixed-point representation. Defaults to 16. |
16
|
Returns:
| Name | Type | Description |
|---|---|---|
tuple |
A tuple containing (real_weights, imag_weights) as integer arrays. |