NED File src/inet/physicallayer/apskradio/packetlevel/APSKDimensionalTransmitter.ned
Name | Type | Description |
---|---|---|
APSKDimensionalTransmitter | compound module |
This transmitter model produces transmissions that use dimensional transmission power (that changes over time and/or frequency) in their analog representation and the configured modulation. |
Source code
// // Copyright (C) 2013 OpenSim Ltd // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public License // along with this program; if not, see <http://www.gnu.org/licenses/>. // package inet.physicallayer.apskradio.packetlevel; import inet.physicallayer.base.packetlevel.NarrowbandTransmitterBase; // // This transmitter model produces transmissions that use dimensional // transmission power (that changes over time and/or frequency) in their analog // representation and the configured modulation. // // See also ~APSKDimensionalReceiver, ~APSKDimensionalRadio, // ~APSKDimensionalRadioMedium, and ~APSKDimensionalAnalogModel. // module APSKDimensionalTransmitter extends NarrowbandTransmitterBase { parameters: string dimensions = default("time"); // dimensions of power: time and/or frequency string timeGains = default("0% 0dB 100% 0dB"); // sequence of time and gain pairs; time is in [%] or [s], negative time measures from the end; gain is in [dB] or [0..1]; default value is a flat signal string frequencyGains = default("0% 0dB 100% 0dB"); // sequence of frequency and gain pairs; frequency is in [%] or [Hz], negative frequency measures from the end; gain is in [dB] or [0..1]; default value is a flat signal string interpolationMode @enum("linear", "sample-hold") = default("sample-hold"); modulation = default("BPSK"); @class(APSKDimensionalTransmitter); }