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.0.1.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.0.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: verfishd-0.0.1.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.13.1 Darwin/24.2.0

File hashes

Hashes for verfishd-0.0.1.tar.gz
Algorithm Hash digest
SHA256 fb4618b68ed812b2a781617520e2e9a2f3a3277d9bf9a7829c07aea3a7ba78ba
MD5 a47beb9747b78e98827282b3459f7904
BLAKE2b-256 d26a307034c1ea60923854aabd2aa477a41db53c3b936b04468455de132611b4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: verfishd-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.13.1 Darwin/24.2.0

File hashes

Hashes for verfishd-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3f3354de93ef535617f5ffcb6cda970373e426d9d21af0c382621a4b23897f55
MD5 cdadef21656e9dacd4559ea59bfd102b
BLAKE2b-256 96c966d6581a94d4956012ec6d850ad83751aaafcda03e8c90571451f0cfc6b0

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