Symbol Section

Inheritance diagram of hermespy.modem.waveforms.orthogonal.waveform.SymbolSection
class SymbolSection(num_repetitions=1, pattern=None, sample_offset=0, wave=None)[source]

Bases: GridSection[OrthogonalWaveform], Serializable

Parameters:
  • num_repetitions (int, optional) – Number of times this section is repeated in time-domain.

  • pattern (List[int], optional) – Resource pattern within this symbol section.

  • sample_offset (int, optional) – Offset in samples to the start of the section.

  • frame (OrthogonalWaveform | None, optional) – _description_. Defaults to None.

pick_samples(samples)[source]

Pick this section’s samples from the time-domain signal.

Parameters:

signal (np.ndarray) – Time-domain signal to be picked from. Numpy vector of size num_samples.

Return type:

ndarray

Returns: Time-domain signal with the section’s samples picked.

place_samples(samples)[source]

Place this section’s samples into the time-domain signal.

Parameters:

signal (np.ndarray) – Time-domain signal to be placed. Numpy vector of size num_samples.

Return type:

ndarray

Returns: Time-domain signal with the section’s samples placed.

property num_references: int

Number of data symbols this section can modulate.

Returns:

The number of symbols

Return type:

int

property num_samples: int

Number of samples within this OFDM time-section.

Returns:

Number of samples

Return type:

int

property num_subcarriers: int

Number of subcarriers this section requires.

Returns:

The number of subcarriers.

Return type:

int

property num_symbols: int

Number of data symbols this section can modulate.

Returns:

The number of symbols

Return type:

int

property num_words: int

Number of OFDM symbols, i.e. words of subcarrier symbols this section can modulate.

Returns:

The number of words.

Return type:

int

pattern: List[int]
property resource_mask: ndarray