Skip to content

Commit 71026cf

Browse files
authored
Merge branch 'PyDMD:master' into bopdmd-uq-tools
2 parents 61bdf70 + f2c5385 commit 71026cf

22 files changed

+6648
-18
lines changed

LICENSE.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2017-2023 PyDMD contributors
3+
Copyright (c) 2017-2024 PyDMD contributors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@
77
<a href="http://pydmd.github.io/PyDMD" target="_blank">
88
<img alt="Docs" src="https://img.shields.io/badge/PyDMD-docs-blue?style=for-the-badge"/>
99
</a>
10-
<a href="https://doi.org/10.21105/joss.00530" target="_blank">
11-
<img alt="JOSS DOI" src="https://img.shields.io/badge/JOSS-10.21105/joss.00530-blue?style=for-the-badge">
10+
<a href="https://pypi.org/project/pydmd/" target="_blank">
11+
<img alt="PyPI version" src="https://img.shields.io/pypi/v/pydmd?style=for-the-badge">
12+
</a>
13+
<a href="#dependencies-and-installation" target="_blank">
14+
<img alt="Python versions" src="https://img.shields.io/pypi/pyversions/PyDMD?style=for-the-badge">
1215
</a>
1316
<a href="https://github.com/PyDMD/PyDMD/blob/master/LICENSE" target="_blank">
1417
<img alt="Software License" src="https://img.shields.io/badge/license-MIT-brightgreen.svg?style=for-the-badge">
1518
</a>
16-
<a href="https://pypi.org/project/pydmd/" target="_blank">
17-
<img alt="PyPI version" src="https://img.shields.io/pypi/v/pydmd?style=for-the-badge">
18-
</a>
1919
<br>
2020
<a href="https://github.com/PyDMD/PyDMD/actions/workflows/deploy_after_push.yml" target="_blank">
2121
<img alt="CI Status" src="https://img.shields.io/github/actions/workflow/status/PyDMD/PyDMD/deploy_after_push.yml?style=for-the-badge">
2222
</a>
23-
<a href="https://www.codacy.com/gh/PyDMD/PyDMD/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=PyDMD/PyDMD&amp;utm_campaign=Badge_Coverage" target="_blank">
23+
<a href="https://app.codacy.com/gh/PyDMD/PyDMD/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_coverage" target="_blank">
2424
<img src="https://img.shields.io/codacy/coverage/3d8b278a835e402c86cac9625bb4912f/master?style=for-the-badge"/>
2525
</a>
2626
<a href="https://app.codacy.com/gh/PyDMD/PyDMD/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade" target="_blank">
@@ -31,12 +31,17 @@
3131
</a>
3232
<br>
3333
<a href="#developers-and-contributors">
34-
<img alt="All Contributors" src="https://img.shields.io/badge/all_contributors-25-orange.svg?style=for-the-badge"/>
34+
<img alt="All Contributors" src="https://img.shields.io/github/contributors-anon/PyDMD/PyDMD?style=for-the-badge"/>
3535
</a>
3636
<a href="#stargazers">
3737
<img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/PyDMD/PyDMD?style=for-the-badge">
3838
</a>
39-
39+
<a href="#dependencies-and-installation" target="_blank">
40+
<img alt="PyPI downloads per month" src="https://img.shields.io/pypi/dm/PyDMD?label=pypi&logo=python&logoColor=yellow&style=for-the-badge">
41+
</a>
42+
<a href="https://doi.org/10.21105/joss.00530" target="_blank">
43+
<img alt="JOSS DOI" src="https://img.shields.io/badge/JOSS-10.21105/joss.00530-blue?style=for-the-badge">
44+
</a>
4045
</p>
4146

4247
## Table of contents
@@ -48,6 +53,7 @@
4853
* [References](#references)
4954
* [Developers and contributors](#developers-and-contributors)
5055
* [Funding](#funding)
56+
* [Affiliations](#affiliations)
5157

5258
## Description
5359

@@ -202,3 +208,10 @@ Beyond this, PyDMD has also been supported by some dedicated projects that have
202208
<p align="center">
203209
<img src="readme/logos_funding.png" width="800" />
204210
</p>
211+
212+
## Affiliations
213+
<p align="center">
214+
<a href="https://numfocus.org/sponsored-projects/affiliated-projects">
215+
<img src="readme/numfocus-affiliated-project.png" width="300" />
216+
</a>
217+
</p>

pydmd/bopdmd.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,6 +1004,10 @@ def svd_rank(self):
10041004
"""
10051005
return self._svd_rank
10061006

1007+
@svd_rank.setter
1008+
def svd_rank(self, value):
1009+
self._svd_rank = value
1010+
10071011
@property
10081012
def compute_A(self):
10091013
"""
@@ -1034,6 +1038,14 @@ def init_alpha(self):
10341038
raise RuntimeError(msg)
10351039
return self._init_alpha
10361040

1041+
@init_alpha.setter
1042+
def init_alpha(self, value):
1043+
"""Set a new initial eigenvalue guess.
1044+
1045+
:param value: The new eigenvalue guess.
1046+
"""
1047+
self._init_alpha = value
1048+
10371049
@property
10381050
def proj_basis(self):
10391051
"""
@@ -1048,6 +1060,14 @@ def proj_basis(self):
10481060
raise RuntimeError(msg)
10491061
return self._proj_basis
10501062

1063+
@proj_basis.setter
1064+
def proj_basis(self, new_proj_basis):
1065+
"""Set a new projection basis.
1066+
1067+
:param new_proj_basis: The new projection basis to assign.
1068+
"""
1069+
self._proj_basis = new_proj_basis
1070+
10511071
@property
10521072
def num_trials(self):
10531073
"""

0 commit comments

Comments
 (0)