Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
channels: Remove some star imports to replace them with explicit names
  • Loading branch information
Antetokounpo authored and mbr0wn committed Jan 2, 2020
1 parent 8f08f98 commit be17636
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
20 changes: 10 additions & 10 deletions gr-channels/python/channels/__init__.py
Expand Up @@ -28,19 +28,19 @@
import os

try:
from .channels_swig import *
from .channels_swig import channels_swig
except ImportError:
dirname, filename = os.path.split(os.path.abspath(__file__))
__path__.append(os.path.join(dirname, "..", "..", "swig"))
from .channels_swig import *

# Blocks for Hardware Impairments
from .amp_bal import *
from .conj_fs_iqcorr import *
from .distortion_2_gen import *
from .distortion_3_gen import *
from .iqbal_gen import *
from .impairments import *
from .phase_bal import *
from .phase_noise_gen import *
from .quantizer import *
from .amp_bal import amp_bal
from .conj_fs_iqcorr import conj_fs_iqcorr
from .distortion_2_gen import distortion_2_gen
from .distortion_3_gen import distortion_3_gen
from .impairments import impairments
from .iqbal_gen import iqbal_gen
from .phase_bal import phase_bal
from .phase_noise_gen import phase_noise_gen
from .quantizer import quantizer
8 changes: 4 additions & 4 deletions gr-channels/python/channels/impairments.py
Expand Up @@ -16,10 +16,10 @@
import math

#Import locally
from .phase_noise_gen import *
from .iqbal_gen import *
from .distortion_2_gen import *
from .distortion_3_gen import *
from .phase_noise_gen import phase_noise_gen
from .iqbal_gen import iqbal_gen
from .distortion_2_gen import distortion_2_gen
from .distortion_3_gen import distortion_3_gen

class impairments(gr.hier_block2):

Expand Down

0 comments on commit be17636

Please sign in to comment.