def bit_matrix(self):
        """numpy.array(int) : Matrix of bit patterns.

        The size of the matrix should be N x M, where N is the size of the
        alphabet and M is the number of bits per symbol. The n-th row of the
        matrix contains the bit pattern of the n-th symbol in the alphabet. The
        allowed values in the matrix are zero and one."""

        return checked_get(self, "_bit_matrix", np.ndarray)
Exemple #2
0
 def rx_filter(self):
     """Provides read-only access to self._rx_filter."""
     return checked_get(self, "_rx_filter", BaseFilter)
Exemple #3
0
 def normalization(self):
     """Provides read-only access to self._normalization."""
     return checked_get(self, "_normalization", BaseNormalization)
Exemple #4
0
 def link(self):
     """Provides read-only access to self._link."""
     return checked_get(self, "_link", BaseLink)
Exemple #5
0
 def modulator(self):
     """Provides read-only access to self._modulator."""
     return checked_get(self, "_modulator", BaseModulator)
Exemple #6
0
 def constellation(self):
     """Provides read-only access to self._constellation."""
     return checked_get(self, "_constellation", BaseConstellation)
    def name(self):
        """str : Identifcation string for the constellation, should also specify parameters."""

        return checked_get(self, "_name", str)
    def alphabet(self):
        """numpy.array (complex) : Vector of constellation points. The number of
        points has to be a power of two."""

        return checked_get(self, "_alphabet", np.ndarray)
Exemple #9
0
 def n_symbols_per_block(self):
     """Number of symbols embedded in each fiber input / output
     (read-only)."""
     return checked_get(self, "_n_symbols_per_block", int)
Exemple #10
0
 def n_samples(self):
     """Number of samples per fiber input / fiber output (read-only)."""
     return checked_get(self, "_n_samples", int)
Exemple #11
0
 def normalized_dt(self):
     """Time difference, in normalized units, between consecutive samples of
     fiber inputs / outputs (read-only)."""
     return checked_get(self, "_normalized_dt", float)