Skip to main content

Simulate the vertical fish distribution influenced by physical stimuli

Project description

Logo of VerFishD

VerFishD is a library to do vertical fish distribution simulations influenced by physical stimuli. It is still in development and not yet ready for production.

PyPI - Version Successful Tests

Concept

The library uses PhysicalFactor which influence the movement of the fish. They can be created by implement this base class for your own physical factors like temperature, light, oxygen, et cetera. The next step would be to load a StimuliProfile which is a collection of concrete stimuli values. The migration speed is the function to calculate the final vertical movement of the fish. The sign of this function determines the direction of the movement and the absolute value the percentage of fish that will move. All these values are combined in the VerFishDModel which is the main class to run the simulation. The simulation is then triggered by calling the simulate method with the number of time steps to simulate.

Dependencies

To work with .cnv files of CTD casts, the library uses the seabird library. The profile can be loaded by calling StimuliProfile.read_from_cnv(file_path).

Example

https://github.com/marine-data-science/verfishd/blob/752e3501ce62ffe1b563d25e3a7783d529d1aba2/Examples/simple_simulation.py#L5-L46

Installation

pip install verfishd

Ideas for the future

  • Combine multiple Stimuli Profiles to do a simulation for a whole day
  • Algorithm to determine if simulation can end?

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

verfishd-0.2.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

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

verfishd-0.2.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file verfishd-0.2.0.tar.gz.

File metadata

  • Download URL: verfishd-0.2.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for verfishd-0.2.0.tar.gz
Algorithm Hash digest
SHA256 767b1c71d0913e43fe73c193b31d81ba6284b91692b4707b630becb8e32eb5a5
MD5 6d9726557cb3b3f57643a86a8853a0a6
BLAKE2b-256 88dfd0aa9f054b124f0377d5702ac98fc268e59217144dce87bc45d835d0585a

See more details on using hashes here.

Provenance

The following attestation bundles were made for verfishd-0.2.0.tar.gz:

Publisher: publish.yml on marine-data-science/verfishd

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file verfishd-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: verfishd-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for verfishd-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a046ab3d40e075362e2ae3290f76f6e89fd3b26045c28ffcd929c2456c00088f
MD5 beeccf7c2273b11e21a8818efec950e0
BLAKE2b-256 b5b747d2d4e6989b72637358572b674f73c550e4c82c18f73af52667a206ae43

See more details on using hashes here.

Provenance

The following attestation bundles were made for verfishd-0.2.0-py3-none-any.whl:

Publisher: publish.yml on marine-data-science/verfishd

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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