Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fakufaku committed May 28, 2024
1 parent 5e1334f commit 200e875
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 21 deletions.
5 changes: 1 addition & 4 deletions examples/directivities/circular_mic_array.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import matplotlib.pyplot as plt

import pyroomacoustics as pra
from pyroomacoustics.directivities import (
Cardioid,
DirectionVector,
)
from pyroomacoustics.directivities import Cardioid, DirectionVector

three_dim = True # 2D or 3D

Expand Down
5 changes: 1 addition & 4 deletions examples/directivities/mic_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
import numpy as np

import pyroomacoustics as pra
from pyroomacoustics.directivities import (
HyperCardioid,
DirectionVector,
)
from pyroomacoustics.directivities import DirectionVector, HyperCardioid

orientation = DirectionVector(azimuth=0, colatitude=0, degrees=True)

Expand Down
6 changes: 1 addition & 5 deletions examples/directivities/mic_array_diff_directivities.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
import numpy as np

import pyroomacoustics as pra
from pyroomacoustics.directivities import (
Cardioid,
HyperCardioid,
DirectionVector,
)
from pyroomacoustics.directivities import Cardioid, DirectionVector, HyperCardioid

dir_1 = Cardioid(
orientation=DirectionVector(azimuth=180, colatitude=30, degrees=True),
Expand Down
6 changes: 3 additions & 3 deletions examples/directivities/plot_directivity_2D.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
from pyroomacoustics import dB
from pyroomacoustics.directivities import (
Cardioid,
HyperCardioid,
SubCardioid,
DirectionVector,
FigureEight,
HyperCardioid,
Omnidirectional,
DirectionVector,
SubCardioid,
)

orientation = DirectionVector(azimuth=0, colatitude=90, degrees=True)
Expand Down
5 changes: 1 addition & 4 deletions examples/directivities/plot_directivity_3D.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import matplotlib.pyplot as plt
import numpy as np

from pyroomacoustics.directivities import (
HyperCardioid,
DirectionVector,
)
from pyroomacoustics.directivities import DirectionVector, HyperCardioid

orientation = DirectionVector(azimuth=0, colatitude=45, degrees=True)

Expand Down
2 changes: 1 addition & 1 deletion pyroomacoustics/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
# not, see <https://opensource.org/licenses/MIT>.
from __future__ import division

import itertools
import functools
import itertools

import numpy as np
import soxr
Expand Down

0 comments on commit 200e875

Please sign in to comment.