Skip to content

Commit 0975115

Browse files
committed
build BOP-DMD operator
1 parent c811366 commit 0975115

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

pydmd/bopdmd.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1535,6 +1535,23 @@ def fit_econ(self, s, V, t):
15351535
msg = "init_alpha must be a 1D np.ndarray with {} entries."
15361536
raise ValueError(msg.format(self._svd_rank))
15371537

1538+
# Build the BOP-DMD operator now that the initial alpha and
1539+
# the projection basis have been defined.
1540+
self._Atilde = BOPDMDOperator(
1541+
self._compute_A,
1542+
self._use_proj,
1543+
self._init_alpha,
1544+
self._proj_basis,
1545+
self._num_trials,
1546+
self._trial_size,
1547+
self._eig_sort,
1548+
self._eig_constraints,
1549+
self._mode_prox,
1550+
self._remove_bad_bags,
1551+
self._bag_warning,
1552+
self._bag_maxfail,
1553+
**self._varpro_opts_dict,
1554+
)
15381555

15391556
def forecast(self, t):
15401557
"""

0 commit comments

Comments
 (0)