[docs]classDFT(SymbolPrecoder,Serializable):"""A precoder applying the Discrete Fourier Transform to each data stream."""yaml_tag="DFT"__fft_norm:Literal["backward","ortho","forward"]def__init__(self,fft_norm:Literal["backward","ortho","forward"]="ortho")->None:""" Args: fft_norm (str, optional): The norm applied to the discrete fourier transform. See also numpy.fft.fft for details """# Initialize base classSymbolPrecoder.__init__(self)# Initialize attributesself.__fft_norm=fft_norm
@propertydefnum_input_streams(self)->int:# DFT precoding does not alter the number of symbol streamsreturnself.precoding.required_outputs(self)@propertydefnum_output_streams(self)->int:# DFT precoding does not alter the number of symbol streamsreturnself.precoding.required_outputs(self)