Skip to main content

COMSTABPY is an python package that contains basic functions to apply the unified framework for partitioning the drivers of stability of ecological communities

Project 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

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

** 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

COMSTABPY-0.1.1.tar.gz (26.2 kB view details)

Uploaded Source

File details

Details for the file COMSTABPY-0.1.1.tar.gz.

File metadata

  • Download URL: COMSTABPY-0.1.1.tar.gz
  • Upload date:
  • Size: 26.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.16

File hashes

Hashes for COMSTABPY-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0ad709a43cb2509b8b50ef81d48284c61c04fa9cebdfb83687854762ca9c0764
MD5 6c00f9c896ad3462fa4412537dc338d2
BLAKE2b-256 0c9ef9332553cbd5c0e49e43a96dd302ac6ee468d797f6289a30cc017815b18f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page