Antenna Calibration¶

- class AntennaCalibration(device=None, transmit_ports=None, receive_ports=None)[source]¶
Bases:
CalibrationBase class for antenna array calibrations.
Args:
- device:
The physical device to which this calibration belongs. If provided, the device will be configured to use this calibration.
- transmit_ports:
List of transmit port indices considered for this calibration. If
None, all available transmit ports are assumed.- receive_ports:
List of receive port indices considered for this calibration. If
None, all available receive ports are assumed.
- abstract correct_reception(reception)[source]¶
Correct a received signal block in-place.
- Parameters:
reception (
SignalBlock) – The signal block to be corrected.- Return type:
Returns: The corrected signal block.
- abstract correct_transmission(transmission)[source]¶
Correct a transmitted signal block in-place.
- Parameters:
transmission (
SignalBlock) – The signal block to be corrected.- Return type:
Returns: The corrected signal block.
- class ScalarAntennaCalibration(transmit_correction_weights, receive_correction_weights, physical_device=None)[source]¶
Bases:
AntennaCalibrationScalar calibration for antenna arrays.
Initialize the scalar calibration.
- Parameters:
transmit_correction_weights (
ndarray) – Scalar weights applied to transmit ports of the antenna array.receive_correction_weights (
ndarray) – Scalar weights applied to receive ports of the antenna array.physical_device (
PhysicalDevice|None) – The physical device to which the calibration belongs.
- classmethod Deserialize(process)[source]¶
Deserialize an object’s state.
Objects cannot be deserialized directly, instead a
Factorymust be instructed to carry out the deserialization process.- Parameters:
process (
DeserializationProcess) – The current stage of the deserialization process. This object is generated by theFactoryand provides an interface to deserialization methods supporting multiple backends.- Return type:
- Returns:
The deserialized object.
- static Estimate(scenario, device, reference_device)[source]¶
Estimate a scalar calibration for the device using a reference device.
- Parameters:
scenario (
PhysicalScenario) – The scenario in which the calibration is performed.device (
PhysicalDevice) – The device to be calibrated.reference_device (
PhysicalDevice) – The reference device used for calibration.
- Return type:
Returns: The estimated scalar calibration.
- correct_reception(reception)[source]¶
Correct a received signal block in-place.
- Parameters:
reception (
SignalBlock) – The signal block to be corrected.- Return type:
Returns: The corrected signal block.
- correct_transmission(transmission)[source]¶
Correct a transmitted signal block in-place.
- Parameters:
transmission (
SignalBlock) – The signal block to be corrected.- Return type:
Returns: The corrected signal block.
- serialize(process)[source]¶
Serialize this object’s state.
Objects cannot be serialized directly, instead a
Factorymust be instructed to carry out the serialization process.- Parameters:
process (
SerializationProcess) – The current stage of the serialization process. This object is generated by theFactoryand provides an interface to serialization methods supporting multiple backends.- Return type:
- class NoAntennaCalibration(device=None, transmit_ports=None, receive_ports=None)[source]¶
Bases:
AntennaCalibrationNo calibration for antenna arrays.
Args:
- device:
The physical device to which this calibration belongs. If provided, the device will be configured to use this calibration.
- transmit_ports:
List of transmit port indices considered for this calibration. If
None, all available transmit ports are assumed.- receive_ports:
List of receive port indices considered for this calibration. If
None, all available receive ports are assumed.
- classmethod Deserialize(process)[source]¶
Deserialize an object’s state.
Objects cannot be deserialized directly, instead a
Factorymust be instructed to carry out the deserialization process.- Parameters:
process (
DeserializationProcess) – The current stage of the deserialization process. This object is generated by theFactoryand provides an interface to deserialization methods supporting multiple backends.- Return type:
- Returns:
The deserialized object.
- correct_reception(reception)[source]¶
Correct a received signal block in-place.
- Parameters:
reception (
SignalBlock) – The signal block to be corrected.
Returns: The corrected signal block.
- correct_transmission(transmission)[source]¶
Correct a transmitted signal block in-place.
- Parameters:
transmission (
SignalBlock) – The signal block to be corrected.
Returns: The corrected signal block.
- serialize(process)[source]¶
Serialize this object’s state.
Objects cannot be serialized directly, instead a
Factorymust be instructed to carry out the serialization process.- Parameters:
process (
SerializationProcess) – The current stage of the serialization process. This object is generated by theFactoryand provides an interface to serialization methods supporting multiple backends.- Return type: