Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release v3.0.0 #216

Merged
merged 12 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Provide a concise Python code snippet that demonstrates the issue. To display th
```python
import xeofs as xe

model = xe.models.EOF()
model = xe.single.EOF()
...
```

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/how_to.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Provide a concise Python code snippet that demonstrates your approach. To displa
```python
import xeofs as xe

model = xe.models.EOF()
model = xe.single.EOF()
...
```

Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Personal
.vscode/
# Test related to CCA
tests/models/test_cca_solution.py
tests/**/test_cca_solution.py

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ In order to get started with `xeofs`, follow these simple steps:
Initiate and fit the EOF/PCA model to the data

```python
>>> eof = xe.models.EOF(n_modes=10)
>>> eof = xe.single.EOF(n_modes=10)
>>> eof.fit(t2m, dim="time") # doctest: +ELLIPSIS
<xeofs.models.eof.EOF object at ...>
<xeofs.single.eof.EOF object at ...>

```
Now, you can access the model's EOF components and PC scores:
Expand All @@ -82,9 +82,9 @@ Now, you can access the model's EOF components and PC scores:
Initiate and fit an `EOFRotator` class to the model to obtain a varimax-rotated EOF analysis

```python
>>> rotator = xe.models.EOFRotator(n_modes=3)
>>> rotator = xe.single.EOFRotator(n_modes=3)
>>> rotator.fit(eof) # doctest: +ELLIPSIS
<xeofs.models.eof_rotator.EOFRotator object at ...>
<xeofs.single.eof_rotator.EOFRotator object at ...>

>>> rot_comps = rotator.components() # Rotated EOFs (spatial patterns)
>>> rot_scores = rotator.scores() # Rotated PCs (temporal patterns)
Expand All @@ -94,9 +94,9 @@ Initiate and fit an `EOFRotator` class to the model to obtain a varimax-rotated
**Maximum Covariance Analysis (MCA)**

```python
>>> mca = xe.models.MCA(n_modes=10)
>>> mca = xe.cross.MCA(n_modes=10)
>>> mca.fit(t2m_west, t2m_east, dim="time") # doctest: +ELLIPSIS
<xeofs.models.mca.MCA object at ...>
<xeofs.cross.mca.MCA object at ...>

>>> comps1, comps2 = mca.components() # Singular vectors (spatial patterns)
>>> scores1, scores2 = mca.scores() # Expansion coefficients (temporal patterns)
Expand All @@ -106,9 +106,9 @@ Initiate and fit an `EOFRotator` class to the model to obtain a varimax-rotated
**Varimax-rotated MCA**

```python
>>> rotator = xe.models.MCARotator(n_modes=10)
>>> rotator = xe.cross.MCARotator(n_modes=10)
>>> rotator.fit(mca) # doctest: +ELLIPSIS
<xeofs.models.mca_rotator.MCARotator object at ...>
<xeofs.cross.mca_rotator.MCARotator object at ...>

>>> rot_comps = rotator.components() # Rotated singular vectors (spatial patterns)
>>> rot_scores = rotator.scores() # Rotated expansion coefficients (temporal patterns)
Expand Down
File renamed without changes.
45 changes: 0 additions & 45 deletions docs/_autosummary/xeofs.models.ComplexEOF.rst

This file was deleted.

45 changes: 0 additions & 45 deletions docs/_autosummary/xeofs.models.ComplexEOFRotator.rst

This file was deleted.

48 changes: 0 additions & 48 deletions docs/_autosummary/xeofs.models.ComplexMCA.rst

This file was deleted.

41 changes: 0 additions & 41 deletions docs/_autosummary/xeofs.models.EOF.rst

This file was deleted.

41 changes: 0 additions & 41 deletions docs/_autosummary/xeofs.models.EOFRotator.rst

This file was deleted.

41 changes: 0 additions & 41 deletions docs/_autosummary/xeofs.models.ExtendedEOF.rst

This file was deleted.

41 changes: 0 additions & 41 deletions docs/_autosummary/xeofs.models.GWPCA.rst

This file was deleted.

Loading
Loading