Module polarcodes.Puncture

Expand source code
import numpy as np
from polarcodes.Construct import Construct

class Puncture(Construct):
    def __init__(self, myPC, design_SNR, manual=False):
        """
        In the future, this class will contain common puncturing algorithms.

        Parameters
        ----------
        myPC: `PolarCode`
        design_SNR: float
        manual: bool
        """

        super().__init__(myPC, design_SNR, True)
        if manual:
            return

Classes

class Puncture (myPC, design_SNR, manual=False)

In the future, this class will contain common puncturing algorithms.

Parameters

myPC : PolarCode
 
design_SNR : float
 
manual : bool
 
Expand source code
class Puncture(Construct):
    def __init__(self, myPC, design_SNR, manual=False):
        """
        In the future, this class will contain common puncturing algorithms.

        Parameters
        ----------
        myPC: `PolarCode`
        design_SNR: float
        manual: bool
        """

        super().__init__(myPC, design_SNR, True)
        if manual:
            return

Ancestors

Inherited members