Giter Site home page Giter Site logo

chlamymodel's Introduction

Hydrodynamic calculation on microswimmers

Library and executable code can be used with python3.

install instructions

chlamymodel

The chlamymodel library relies on pre-calculated friction matrices that are saved in the python_internal pickle format. Those are provided in the folder install_data and have to be copied into your ${HOME} folder:

mkdir -p ~/.chlamymodel
cp install_data/*.pickle ~/.chlamymodel

friction matrix

The friction matrices themselves are created with a pre-compiled program utilizing the fast-multipole boundary element method. Executable files for Windows and Linux as well as two configuration files are installed as follows:

mkdir -p ~/.FMBEM
cp install_data/*.exe ~/.FMBEM
cp install_data/*.cnd ~/.FMBEM

data files

The sperm cell, analyzed by Ben:

cp -r install_data/sperm_data ~/.sperm_data

Chlamydomonas cell, measured by Christian, analyzed by myself:

cp -r install_data/chlamy_data ~/.chlamy_data

library usage

To use the python libraries, set the python path accordingly

export PYTHONPATH=${PYTHONPATH}:${this_install}

with ${this_install} being the folder in which this README file is saved.

example files

The folders example_* contain python files that can be executed when the files in install_data are copied to their appropriate places, see install intructions.

example_chlamymodel

example_computing_friction

example_sperm_swimming

create the documentation

A documentation web-page can be generated using sphinx. For this aim, install sphinx. Then execute sphinx-quickstart from within the doc folder. It is important, that you do not overwrite the file doc/index/rst. Also, make use of the autodoc feature. Then, execute from within the doc folder:

./apidoc-everything # creates the documentation files for the modules
make html           # generates html from them

Then, there should be a folder _build/html containing the file index.html, which is to be opened in a web browser.

chlamymodel's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.