pyEOF: 基于sklearn的气象实用经验证交函数 (EOF) 分解和旋转EOF分析

2022-01-18 10:51:15 浏览数 (1)

pyEOF: Empirical Orthogonal Function (EOF) analysis and Rotated EOF analysis in Python

项目地址:https://github.com/zzheng93/pyEOF

pyEOF is a Python package for EOF and Rotated EOF Analysis . It takes advantage of

  • sklearn.decomposition.PCA (for EOF)
  • Advanced Priniciple Component Analysis (for varimax rotation // varimax rotated EOF // REOF)

Installation

Step 1: create an environment:

代码语言:javascript复制
$ conda create -n pyEOF python=3.7
$ conda activate pyEOF
$ conda install -c conda-forge numpy pandas scipy scikit-learn rpy2

Step 2: install using pip:

代码语言:javascript复制
$ pip install pyEOF

(optional) for jupyter notebook tutorial:

代码语言:javascript复制
$ conda install -c conda-forge numpy pandas scipy scikit-learn rpy2 xarray matplotlib jupyter eofs

(optional) install from source:

代码语言:javascript复制
$ git clone https://github.com/zzheng93/pyEOF.git
$ cd pyEOF
$ python setup.py install

How to use it?

You may reproduce the jupyter notebook example on Binder.

Please check online documentation for more information.

How to ask for help

The GitHub issue tracker is the primary place for bug reports.

pyEOF手册地址:https://pyeof.readthedocs.io/en/latest/index.html

0 人点赞