5GNR Slot

Warning

HermesPy’s implementation of the 5G New Radio (5GNR) standard is currently under active development. It is, by no means, a valid implementation of the standard.

Inheritance diagram of hermespy.modem.waveforms.ieee_5gnr.NRSlot
class NRSlot(num_resource_blocks=24)[source]

Bases: OFDMWaveform

Mock of a 5G NR slot.

Note that only the rough frame structure is implemented, reference symbols and synchronization patterns are not placed according to the actual 5G NR standard. This is intended for testing and demonstration purposes only.

Parameters:

num_resource_blocks (int) – Number of resource blocks within a single slot. Must be at least 24 to meet the minimum slot bandwidth requirements of 5G NR. The maximum number depends on the overall bandwidth available for the given frequency range.

classmethod Deserialize(process)[source]

Deserialize an object’s state.

Objects cannot be deserialized directly, instead a Factory must be instructed to carry out the deserialization process.

Parameters:

process (DeserializationProcess) – The current stage of the deserialization process. This object is generated by the Factory and provides an interface to deserialization methods supporting multiple backends.

Return type:

NRSlot

Returns:

The deserialized object.

serialize(process)[source]

Serialize this object’s state.

Objects cannot be serialized directly, instead a Factory must be instructed to carry out the serialization process.

Parameters:

process (SerializationProcess) – The current stage of the serialization process. This object is generated by the Factory and provides an interface to serialization methods supporting multiple backends.

Return type:

None

property num_resource_blocks: int[source]

Maximum number of resource blocks within a single OFDM slot.