Nahuel Passano commited on
Commit
50f2907
·
1 Parent(s): 22da9a9
Files changed (3) hide show
  1. app.py +3 -3
  2. core.py +3 -3
  3. visualization.py +1 -1
app.py CHANGED
@@ -2,9 +2,9 @@ import streamlit as st
2
  import matplotlib.pyplot as plt
3
  import numpy as np
4
 
5
- from loudspeaker_tmatrix.core import simulate_loudspeaker
6
- from loudspeaker_tmatrix.visualization import plot_loudspeaker_response
7
- from loudspeaker_tmatrix.config import (
8
  load_config,
9
  load_loudspeaker_config,
10
  AcousticalConstantsConfig,
 
2
  import matplotlib.pyplot as plt
3
  import numpy as np
4
 
5
+ from core import simulate_loudspeaker
6
+ from visualization import plot_loudspeaker_response
7
+ from config import (
8
  load_config,
9
  load_loudspeaker_config,
10
  AcousticalConstantsConfig,
core.py CHANGED
@@ -1,8 +1,8 @@
1
  import numpy as np
2
 
3
- from loudspeaker_tmatrix import tmatrix
4
- from loudspeaker_tmatrix.utils import layer_wise_dot_product, struve, bessel
5
- from loudspeaker_tmatrix.config import AcousticalConstantsConfig
6
 
7
 
8
  def simulate_loudspeaker(
 
1
  import numpy as np
2
 
3
+ import tmatrix
4
+ from utils import layer_wise_dot_product, struve, bessel
5
+ from config import AcousticalConstantsConfig
6
 
7
 
8
  def simulate_loudspeaker(
visualization.py CHANGED
@@ -1,7 +1,7 @@
1
  import numpy as np
2
  from matplotlib import pyplot as plt
3
 
4
- from loudspeaker_tmatrix.utils import to_db
5
 
6
 
7
  def plot_loudspeaker_response(
 
1
  import numpy as np
2
  from matplotlib import pyplot as plt
3
 
4
+ from utils import to_db
5
 
6
 
7
  def plot_loudspeaker_response(