Skip to main content

SESMotifAnalyser: framework for analysing social-ecological systems

This package contains a Python based framework for analysing social-ecological systems and more broadly multi-level networks.

Documentation

A comprehensive documentation is available as PDF. Please contact t.seppelt-dev[ÄT]posteo.de in case of any questions.

See the examples folder for examples.

Installation

The package can be installed using pip.

pip3 install sma

Per default, dependencies required for drawing social-ecological networks will not be installed. The following command may be used to install the additional dependencies:

pip3 install sma[plots]

It has the following dependencies: Python 3, numpy, scipy, networkx, pandas. On the R side it depends on statnet, reticulate (with Python 3).

For a version history, see change log and tags.

Integration in R and motifr

The functions in this package can to some extent be called from R using the R package reticulate. An example can be found in the examples folder. See also the corresponding section in the documentation.

Mario Angst is working on an R package which provides an interface to the SESMotifAnalyser. His project motifr can be found on Github.

ergm-userterms

In addition to the motif counting features written in Python, this repository contains ergm-userterms for some motifs, e.g. the 3-motifs I.C and II.C (closed and open triangles, respecting the social-ecological types of the nodes).

After downloading and compiling the package, ergm models can be fitted and the motif counting can be done directly in R:

netw <- network(...)

# first parameter: which sesType should the nodes at the points of the triangles have
# second parameter: name of nodel attribute
summary(netw ~ openTriangles(0, 'sesType'))

Release files for sma 2.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for sma 2.3.4
File Interpreter ABI Platform
sma-2.3.4-py3-none-any.whl Python 3 none any Details

Release files / sma-2.3.4-py3-none-any.whl

Download URL sma-2.3.4-py3-none-any.whl
Size 78.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2b27bd74f0435a42c260a8516e4cee2b71c5a85a99d0c72597d73e17bb925258
BLAKE2b-256 checksum
How to use checksums
8a909200f845cf7d8c76f64d57d30efd684e7a0c5685239850d3d85c8312095f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release history Release notifications | RSS feed

This release

2.3.4 This release

1 release file

2.3.3

1 release file

2.3.2

1 release file

2.3.1

1 release file

2.3.0

1 release file

2.2.1

1 release file

2.2.0

1 release file

2.1.2

1 release file

2.1.1

1 release file

2.1.0

1 release file

2.0.11

1 release file

2.0.10

1 release file

2.0.9

1 release file

2.0.8

1 release file

2.0.7

1 release file

2.0.6

2 release files

2.0.5

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page