Quickstart#

Installation#

Python >= 3.12 is required to run seal. Python can be installed from the official source.

When Python is installed, run the following commands in the respective command line:

Linux (bash)

python -m venv ./venv
./venv/bin/activate
pip install seal-tool
seal --help

Windows (Powershell)

python -m venv ./venv
./venv/Scripts/Activate.ps1
pip install seal-tool
seal --help

For more detailed guide and additional ways to obtain seal see Installation.

Usage#

First, ensure that the virtual environment seal is installed in is activated, which is not necessarily immediately after installation. (venv) should be displayed before the prompt to run seal. To activate the virtual environment and run seal run the following commands in the respective command line:

Linux:

source ./venv/bin/activate
seal --help

Windows PowerShell:

./venv/Scripts/activate.ps1
seal --help

General workflow#

The general workflow is as follows:

seal preprocess --dataset ./datasets/my-data.csv --output ./datasets/my-data-fix.csv
seal analyse --taskfile ./tasks/my-task.toml
seal plot --taskfile ./tasks/my-task.toml

The first command, seal preprocess, is supplemental. It performs a couple of basic checks to reduce likelihood of incorrect data. E.g., multiple consecutive spaces skewing the results, invalid quadrat coordinates, or missing values.

Complete list of checks can be viewed upon calling seal preprocess --help.

The second command, seal analyse performs the actual analysis and accepts only one argument, --taskfile. Documentation on how to configure seal using a taskfile is available in the example taskfile or in the online documentation.

The last command, seal plot is also supplemental. Plots provided directly by seal can be useful for initial evaluation of the results, but are not (and can not be) optimized for all types of data. The preferred way is to use own post-processing or presentation solution e.g., loading the resulting CSV into R and examining it that way.

Development#

See CONTRIBUTING.rst.

References#

See bibliography.

Licenses#

The source code—including the tests and documentation—is licensed under GPLv3.

./datasets/data-bmd-sl.csv is licensed under CC-BY-SA-4.0.

Acknowledgements#

Initial seal protype was funded as part of Influence of sample grain and extent on coral reef fish richness, MUNI/IGA/1076/2021.