COMSTABPY is an python package that contains basic functions to apply the unified framework for partitioning the drivers of stability of ecological communities developed in (Segrestin et al. 2024 Global Ecology and Biogeography, 10.1111/geb.13828). Additionally it provides some plotting function. The code is partially based on the original R package comstab, url: https://cran.r-project.org/web/packages/comstab/index.html
## INSTALLING
COMSTABPY can be installed via the command line using
`pip install COMSTABPY`
If you are using conda you can install the enivronment *environmentl.yaml*, which contains also other packages usefull for data analysis.
```
conda env create -f environment.yml`
conda activate stab-py
```
## USAGE
Basic examples of package uses are shows in the jupytern notebook [docs/example.ipynb](https://github.com/gocchipintive/COMSTABPY/blob/main/docs/example.ipynb)
> ** IMPORTANT ** If arrays or lists have to be provided to package functions please use numpy arrays
## AKNOWLDEGEMENTS
This work was partly supported by the National Recovery and Resilience Plan (NRRP), Mission 4 Component 2 Investment 1.4 - Call for tender No. 3138 of 16 December 2021, rectified by Decree n.3175 of 18 December 2021 of Italian Ministry of University and Research funded by the European Union – NextGenerationEU.
##Change Log
** 0.0.1 (Sep 03, 2024) **
- First Release
** 0.0.2 (Sep 04, 2024) **
Added more documentation
** 0.0.3 (Sep 09, 2024) **
Added ny parameter to partition function
Changed order of corners in the ternary plot function
Added funding
** 0.0.4 (Sep 19, 2024) **
Added the possibility to chose yticks and ylims in plotCV function
** 0.05 (Sep 19, 2024) **
Code cleaning
** 0.06 (Sep 30, 2024) **
Added eveness function (normalized Shannon Entropy)
** 0.07 (Sep 30, 2024) **
Code cleaning
** 0.08 (Sep 30, 2024) **
Code cleaning
** 0.09 (Sep 30, 2024) **
Fixed bug in eveness function
** 0.10 (Sep 30, 2024) **
Fixed bug in eveness function
** 0.11 (Sep 30, 2024) **
Increased the dimensionality fo the output of eveness function
** 0.12 (Nov 26, 2024) **
Added the possibility to compute asynchrony and averaging if the Taylor law is not significant'
Raw data
{
"_id": null,
"home_page": "https://github.com/gocchipintive/COMSTABPY",
"name": "COMSTABPY",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "stability, ecology, biodiversity",
"author": "Guido Occhipinti",
"author_email": "occhipinti.guido@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/81/44/101bedbb33ea8e37bc181b6747bc78b6048fa509d90c77153825c56d253b/COMSTABPY-0.1.2.tar.gz",
"platform": null,
"description": "COMSTABPY is an python package that contains basic functions to apply the unified framework for partitioning the drivers of stability of ecological communities developed in (Segrestin et al. 2024 Global Ecology and Biogeography, 10.1111/geb.13828). Additionally it provides some plotting function. The code is partially based on the original R package comstab, url: https://cran.r-project.org/web/packages/comstab/index.html \n\n## INSTALLING\nCOMSTABPY can be installed via the command line using\n\n`pip install COMSTABPY`\n\nIf you are using conda you can install the enivronment *environmentl.yaml*, which contains also other packages usefull for data analysis.\n```\nconda env create -f environment.yml`\nconda activate stab-py\n```\n## USAGE\nBasic examples of package uses are shows in the jupytern notebook [docs/example.ipynb](https://github.com/gocchipintive/COMSTABPY/blob/main/docs/example.ipynb)\n\n> ** IMPORTANT ** If arrays or lists have to be provided to package functions please use numpy arrays\n\n## AKNOWLDEGEMENTS\nThis work was partly supported by the National Recovery and Resilience Plan (NRRP), Mission 4 Component 2 Investment 1.4 - Call for tender No. 3138 of 16 December 2021, rectified by Decree n.3175 of 18 December 2021 of Italian Ministry of University and Research funded by the European Union \u2013 NextGenerationEU.\n\n\n##Change Log\n** 0.0.1 (Sep 03, 2024) **\n- First Release\n\n** 0.0.2 (Sep 04, 2024) **\nAdded more documentation\n\n** 0.0.3 (Sep 09, 2024) **\nAdded ny parameter to partition function\nChanged order of corners in the ternary plot function\nAdded funding\n\n** 0.0.4 (Sep 19, 2024) **\nAdded the possibility to chose yticks and ylims in plotCV function\n\n** 0.05 (Sep 19, 2024) **\nCode cleaning\n\n** 0.06 (Sep 30, 2024) **\nAdded eveness function (normalized Shannon Entropy)\n\n** 0.07 (Sep 30, 2024) **\nCode cleaning\n\n** 0.08 (Sep 30, 2024) **\nCode cleaning\n\n** 0.09 (Sep 30, 2024) **\nFixed bug in eveness function\n\n** 0.10 (Sep 30, 2024) **\nFixed bug in eveness function\n\n** 0.11 (Sep 30, 2024) **\nIncreased the dimensionality fo the output of eveness function\n\n** 0.12 (Nov 26, 2024) **\nAdded the possibility to compute asynchrony and averaging if the Taylor law is not significant'\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "COMSTABPY is an python package that contains basic functions to apply the unified framework for partitioning the drivers of stability of ecological communities",
"version": "0.1.2",
"project_urls": {
"Homepage": "https://github.com/gocchipintive/COMSTABPY"
},
"split_keywords": [
"stability",
" ecology",
" biodiversity"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8144101bedbb33ea8e37bc181b6747bc78b6048fa509d90c77153825c56d253b",
"md5": "87f6b7f1aeeb7312a7e2166a24b52ee2",
"sha256": "4695370cede77ce3219c4238bcae0124ddd37ad2e8cea982ef24145d858aff74"
},
"downloads": -1,
"filename": "COMSTABPY-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "87f6b7f1aeeb7312a7e2166a24b52ee2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 31560,
"upload_time": "2024-11-26T13:37:42",
"upload_time_iso_8601": "2024-11-26T13:37:42.903842Z",
"url": "https://files.pythonhosted.org/packages/81/44/101bedbb33ea8e37bc181b6747bc78b6048fa509d90c77153825c56d253b/COMSTABPY-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-26 13:37:42",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "gocchipintive",
"github_project": "COMSTABPY",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "comstabpy"
}