Skip to main content

sample survey data

Project description

sampley: sample survey data

Description

The sampley package serves to sample survey data (hence 'sampley': 'sample' + 'survey'). By 'survey data', we refer principally to systematic visual survey data, nevertheless, the sampley package may also be applicable to other kinds of survey data. By 'sample', we mean process those data to produce distinct samples that can then be input to a model.

Data can be processed by one or more of three approaches referred to here as the grid, segment, and point approach.
The grid approach consists of overlaying a grid, typically rectangular or hexagonal, onto the study area and allocating detections and, optionally, survey effort to the cells that they lie within. Additionally, data may be allocated to temporal periods. Each cell within a given period then serves as a sample.
The segment approach involves taking sections of continuous, uniform survey effort and cutting them into segments of standardised lengths which serve as samples.
The point approach consists of using the detections, or a subset thereof, as presences and then sampling absences from absence zones (i.e., areas that were surveyed but where the species was not detected).

For more information, please consult the User Manual (available on the GitHub repo at: https://github.com/JSBigelow/sampley/blob/main/sampley%20-%20User%20Manual.pdf).

Installation

pip install sampley

Import

For basic utilisation of sampley, run:
from sampley import *

To access the underlying functions, run:
from sampley.functions import *

User Manual

A user manual containing more detailed information is available on GitHub at: https://github.com/JSBigelow/sampley/blob/main/sampley%20-%20User%20Manual.pdf

Example usage

Several exemplars illustrating how to use sampley are available on GitHub at: https://github.com/JSBigelow/sampley/tree/main/exemplars

See the Introduction to sampley exemplars (intro.ipynb) for more information (https://github.com/JSBigelow/sampley/blob/main/exemplars/intro.ipynb)

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

sampley-0.0.13.tar.gz (50.4 kB view details)

Uploaded Source

Built Distribution

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

sampley-0.0.13-py3-none-any.whl (50.8 kB view details)

Uploaded Python 3

File details

Details for the file sampley-0.0.13.tar.gz.

File metadata

  • Download URL: sampley-0.0.13.tar.gz
  • Upload date:
  • Size: 50.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for sampley-0.0.13.tar.gz
Algorithm Hash digest
SHA256 5c74335c1bd45e4400aa339258b24105096fbdb4a8eb807febc21f14669cb704
MD5 372ad8cf5c10d43ed8846d3ff5763bc9
BLAKE2b-256 f36d9b188a27560c78233cb8439d66d0c51eab22d1fb1c42a6615b38162385ca

See more details on using hashes here.

File details

Details for the file sampley-0.0.13-py3-none-any.whl.

File metadata

  • Download URL: sampley-0.0.13-py3-none-any.whl
  • Upload date:
  • Size: 50.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for sampley-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 a82127b4243697431ed38dbd3c5ad3146cec85056f0b7d311fa04da32b1f2a85
MD5 1f26a4a5c29644ec89c8256ab5f63c9c
BLAKE2b-256 c6eb272d58b7e2b92a38428e0eda7f4f782eda325445230e6f050edd19ddfb86

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