Go to the source code of this file.
Namespaces | |
| namespace | ns3 |
| Every class exported by the ns3 library is enclosed in the ns3 namespace. | |
| namespace | ns3::anonymous_namespace{spectrum-converter.cc} |
Functions | |
| Ptr< SpectrumValue > | ns3::anonymous_namespace{spectrum-converter.cc}::ConvertAlignedSpectrumModels (Ptr< const SpectrumValue > txPsd, Ptr< const SpectrumModel > txSpectrumModel, Ptr< const SpectrumModel > rxSpectrumModel) |
| This method converts the transmitted PSD from the TX SpectrumModel to the RX SpectrumModel in the case the two models are fully aligned, i.e., each band in the TX model has a corresponding band in the RX model with the same boundaries and hence the conversion is just a matter of copying values in the overlapping bands and setting to zero the values in the non-overlapping bands. | |