diff --git a/examples/directivities/plot_directivity_3D.py b/examples/directivities/plot_directivity_3D.py index 8d3e3688..bafa3764 100644 --- a/examples/directivities/plot_directivity_3D.py +++ b/examples/directivities/plot_directivity_3D.py @@ -1,5 +1,6 @@ import matplotlib.pyplot as plt import numpy as np + from pyroomacoustics.directivities import DirectionVector, HyperCardioid orientation = DirectionVector(azimuth=0, colatitude=45, degrees=True) diff --git a/examples/directivities/simulation_with_measured_directivity.py b/examples/directivities/simulation_with_measured_directivity.py index 55d4d416..f4291666 100644 --- a/examples/directivities/simulation_with_measured_directivity.py +++ b/examples/directivities/simulation_with_measured_directivity.py @@ -50,6 +50,7 @@ """ import matplotlib.pyplot as plt + import pyroomacoustics as pra from pyroomacoustics.directivities import ( Cardioid,