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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sampley-0.0.7.tar.gz.
File metadata
- Download URL: sampley-0.0.7.tar.gz
- Upload date:
- Size: 28.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60a5fef297d7257a4ef15ab30bb1e413b007a80c45aeed4980fd4822a2a89328
|
|
| MD5 |
8ff5f4320255ba347259020fa20adc91
|
|
| BLAKE2b-256 |
8144cb33a035e94b04a895a0f06a88d1e332732b68f0e5e2bf08e07c5c5edf7f
|
File details
Details for the file sampley-0.0.7-py3-none-any.whl.
File metadata
- Download URL: sampley-0.0.7-py3-none-any.whl
- Upload date:
- Size: 28.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d87bc3c437b900004bfeadc08cb811fc95f5795d29f50a894009e331371dfe15
|
|
| MD5 |
68aec834be0ec65cc334e5126452f56d
|
|
| BLAKE2b-256 |
7007873bcd27c32568f505e096004011f43780e2496bb69e2aaa3dd3ec53cfff
|