Antenna Correlation¶

- class AntennaCorrelation(channel=None)[source]¶
Bases:
SerializableBase class for statistical modeling of antenna array correlations.
- Parameters:
channel (
Channel|None) – Channel this correlation model configures. None if the model is currently considered floating.
- sample_covariance(antennas, mode)[source]¶
Sample the covariance matrix of a given antenna array.
- Parameters:
antennas (
AntennaArrayState) – State of the antenna array.mode (
AntennaMode) – Mode of the antenna array, i.e. transmit or receive.
- Return type:
Returns: Two-dimensional numpy array representing the covariance matrix.
- class CustomAntennaCorrelation(covariance)[source]¶
Bases:
AntennaCorrelationCustomizable antenna correlations.
- Parameters:
covariance (
ndarray) – Postive definte square antenna covariance matrix.
- 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.
- sample_covariance(antennas, mode)[source]¶
Sample the covariance matrix of a given antenna array.
- Parameters:
antennas (
AntennaArrayState) – State of the antenna array.mode (
AntennaMode) – Mode of the antenna array, i.e. transmit or receive.
- Return type:
Returns: Two-dimensional numpy array representing the covariance matrix.
- 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: