Skip to content

Commit 1393d92

Browse files
committed
fixing plots
1 parent fade098 commit 1393d92

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

SuPyMode/solver.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,6 @@ def init_superset(
145145
model_parameters=self.model_parameters,
146146
)
147147

148-
self.superset.geometry = self.mesh
149-
150148
def add_modes(
151149
self,
152150
n_sorted_mode: int,

SuPyMode/superset.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,6 @@ def propagate(
337337
profile: AlphaProfile,
338338
initial_amplitude: list,
339339
max_step: Optional[float] = None,
340-
n_step: Optional[int] = None,
341340
add_coupling: bool = True,
342341
method: str = "RK45",
343342
**kwargs: dict,
@@ -353,8 +352,6 @@ def propagate(
353352
The initial amplitude as a list of complex numbers.
354353
max_step : float, optional
355354
The maximum step size used by the solver (default is None).
356-
n_step : int, optional
357-
Number of steps used by the solver (default is None).
358355
add_coupling : bool, optional
359356
Whether to add coupling to the transmission matrix (default is True).
360357
method : str, optional
@@ -384,6 +381,7 @@ def propagate(
384381
bounds_error=False,
385382
fill_value="extrapolate",
386383
)
384+
387385
itr_to_t_matrix = interp1d(
388386
sub_itr_vector, sub_t_matrix, bounds_error=False, fill_value="extrapolate"
389387
)

0 commit comments

Comments
 (0)