Skip to main content

Species-area relationship curve fitting in Python

Project description

sars

Species-area relationship curve fitting in Python.

A conceptual mirror of the R sars package (Matthews et al. 2019), native to the Python scientific stack.

Installation

pip install sars

Quick start

import sars

# Fit the power-law SAR model
import pandas as pd
data = pd.DataFrame({"area": [1, 2, 5, 10, 50], "species": [10, 15, 25, 40, 80]})
fit = sars.sar_power(data)
print(fit)

License

MIT

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

sars-0.1.0.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sars-0.1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file sars-0.1.0.tar.gz.

File metadata

  • Download URL: sars-0.1.0.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for sars-0.1.0.tar.gz
Algorithm Hash digest
SHA256 41dc1bac1de64c4973feccb2cd16cbe5a172179f8641ba74f0a8c536630e404d
MD5 e84e9c991e15c29bdec3b24fea2eb119
BLAKE2b-256 ee4357c73475b4ab2c8a823d0d3004f167999e99a57799cb727cb62cefdd3bd8

See more details on using hashes here.

File details

Details for the file sars-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: sars-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for sars-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0e7cfa73209d15232c83cf64e02bdbdfbf50b0a4894f750a22279760cf78e782
MD5 445aa6ca62ce95050f1384d84f09714d
BLAKE2b-256 2cc53679520ac79949e2dbea00916d995aa9fbbfb22900cbc70c46590cf8d993

See more details on using hashes here.

Supported by

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