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

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.1.0.tar.gz (5.2 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.1.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for verfishd-0.1.0.tar.gz
Algorithm Hash digest
SHA256 83c64765dc4e79d4a26f9167a471560b1a20f68010ed48fc168206f534c27ad7
MD5 fdc83fb6e995db9726351fabe1b80dce
BLAKE2b-256 2fd0f03e443177fd90e5295000039a9ea2193acdd5c054523fddd5536b572ec5

See more details on using hashes here.

Provenance

The following attestation bundles were made for verfishd-0.1.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.1.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for verfishd-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ed351928d476587cb5a7c9131b788fa12bb8ce9586b57c1f7d7ff6fe65e1665
MD5 f7ff992451394e3495c633a1ac3182aa
BLAKE2b-256 cbac49f4dfbe95343c9884e0e1406dd3235cd41f27252c802d95c43d831ddf32

See more details on using hashes here.

Provenance

The following attestation bundles were made for verfishd-0.1.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