[docs]classSpatialDelayChannelRealization(DelayChannelRealization):"""Realization of a spatial delay channel. Generated from :class:`SpatialDelayChannel's<SpatialDelayChannel>` :meth:`realize<SpatialDelayChannel.realize>` routine. """def_sample(self,state:LinkState)->DelayChannelSample:delay=(np.linalg.norm(state.transmitter.position-state.receiver.position)/speed_of_light)returnDelayChannelSample(delay,self.model_propagation_loss,self.gain,state)
[docs]classSpatialDelayChannel(DelayChannelBase[SpatialDelayChannelRealization]):"""Delay channel based on spatial relations between the linked devices."""yaml_tag:str="SpatialDelay"