How to use the pydmd.optdmd.OptDMD function in PyDMD

To help you get started, we’ve selected a few PyDMD examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mathLab / PyDMD / pydmd / optdmd.py View on Github external
def __init__(self,
                 factorization="evd",
                 svd_rank=-1,
                 tlsq_rank=0,
                 exact=False,
                 opt=False
                 ):

        super(OptDMD, self).__init__(svd_rank, tlsq_rank, exact, opt)
        self.factorization = factorization

        self._svds = None
        self._input_space = None
        self._output_space = None
        self._input_snapshots, self._input_snapshots_shape = None, None
        self._output_snapshots, self._output_snapshots_shape = None, None