scikit-diveMove is a Python interface to R package diveMove for scientific data analysis, with a focus on diving behaviour analysis. It has utilities to represent, visualize, filter, analyse, and summarize time-depth recorder (TDR) data. scikit-diveMove communicates with a single R instance for access to low-level tools of package diveMove.
The table below shows which features of diveMove are accessible from scikit-diveMove:
diveMove |
scikit-diveMove |
Notes |
|
|---|---|---|---|
Functionality |
Functions/Methods |
||
Movement |
austFilter rmsDistFilter grpSpeedFilter distSpeed readLocs |
Under consideration. |
|
Bout analysis |
boutfreqs boutinit bouts2.nlsFUN bouts2.nls bouts3.nlsFUN bouts3.nls bouts2.mleFUN bouts2.ll bouts2.LL bouts.mle labelBouts plotBouts plotBouts2.cdf bec2 bec3 |
BoutsNLS BoutsMLE |
Fully implemented in Python. |
Dive analysis |
readTDR createTDR |
TDR.__init__ TDRSource.__init__ |
Fully implemented. Single TDR class for data with or without speed measurements. |
calibrateDepth |
TDR.calibrate TDR.zoc TDR.detect_wet TDR.detect_dives TDR.detect_dive_phases |
Fully implemented |
|
calibrateSpeed rqPlot |
TDR.calibrate_speed |
New implementation of the algorithm entirely in Python. The procedure generates the plot concurrently. |
|
diveStats stampDive timeBudget |
TDR.dive_stats TDR.time_budget TDR.stamp_dives |
Fully implemented |
|
plotTDR plotDiveModel plotZOC |
TDR.plot TDR.plot_zoc_filters TDR.plot_phases TDR.plot_dive_model |
Fully implemented. Interactivity is the default, as standard matplotlib. |
|
getTDR getDepth getSpeed getTime getCCData getDtime getFileName |
TDR.tdr TDR.get_depth TDR.get_speed TDR.tdr.index TDR.src_file TDR.dtime |
Fully implemented. getCCData deemed redundant, as the columns can be accessed directly from the TDR.tdr attribute. |
|
getDAct getDPhaseLab getDiveDeriv getDiveModel getGAct |
TDR.get_wet_activity TDR.get_dives_details TDR.get_dive_deriv |
Fully implemented |
|
extractDive |
Fully implemented |
Analyses are fully tractable by encouraging the use of xarray data structures that can be read from and written to NetCDF file format. Using these data structures, meta-data attributes can be easily appended at all layers as analyses progress.
Installation
Type the following at a terminal command line:
pip install scikit-diveMove
Or install from source tree by typing the following at the command line:
pip install .
Once installed, skdiveMove can be easily imported as:
import skdiveMove as skdive
Dependencies
skdiveMove depends primarily on R package diveMove, which must be installed and available to the user running Python. If needed, install diveMove at the R prompt:
install.packages("diveMove")
Testing
The skdiveMove package can be tested with pytest:
pytest -v skdiveMove/tests
Development
Developers can clone the project from Github:
git clone https://github.com/spluque/scikit-diveMove.git .
and then install with:
pip install -e . --group docs --group test
Documentation
Available at: https://spluque.github.io/scikit-diveMove
Alternatively, installing the package as follows:
pip install -e .["docs"]
allows the documentation to be built locally (choosing the desired target {“html”, “pdf”, etc.}):
make -C docs/ html
Metadata
Release files for scikit-diveMove 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| scikit_divemove-1.1.0.tar.gz | 204.0 kB | With provenance | Details for scikit_divemove-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scikit_divemove-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for scikit_divemove-1.1.0-py3-none-any.whl |
Total release size: 419.5 kB
Release files / scikit_divemove-1.1.0.tar.gz
| Download URL | scikit_divemove-1.1.0.tar.gz |
|---|---|
| Size | 204.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5cdc9c2e1e0c5141137b6313f236f42782d321b30b59c6687f0761a8744bda1b
|
|
BLAKE2b-256 checksum How to use checksums |
c4a7daad2546a7f988db3ed2429b7f73a314b13d9859ed67695d4e0ea3654f33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logRelease files / scikit_divemove-1.1.0-py3-none-any.whl
| Download URL | scikit_divemove-1.1.0-py3-none-any.whl |
|---|---|
| Size | 215.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1d08897a9e82705aa6a06247a81de565d79590f6ea57b0ce5f35bb321a4ae7eb
|
|
BLAKE2b-256 checksum How to use checksums |
0f1a6e73b7e6045b63b4e2766b116461c46322938f5247468aa0520f57c054db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logSecurity for scikit-diveMove 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for scikit_divemove-1.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.