Coder Social home page Coder Social logo

sponchcafe / simfs-core Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 856 KB

Single Molecule Fluorescence Simulator Toolkit

License: GNU General Public License v3.0

CMake 0.66% C++ 99.34%
simulation single-molecule fluorescence fluorescence-correlation

simfs-core's People

Contributors

sponchcafe avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

simfs-core's Issues

Ressource control for individual components

For more finegrained control over memory and cpu time for components:

  1. Memory usage is controlled via the envrionment variable buffer control: Settings has to be added to the component constructor in pysimfs
  2. CPU time can be adapted via system nice values (0: max priority - 20: min priority), psutil should do the job
  3. Reorganization of the subprocess call may be necessary

Catch tests

Migrate test suite to Catch 2, remove heavy googletest dependency.

simfs_ph2 queue error

The photophysics component produces a readerwriter-queue error indicating that one or more queues are note properly emptied, when the process terminates. Since the error only seems to appear when bleaching is enabled, this might be the set_state_if action handling the box-collision reset stream.

After the heartbeat update, ph2 does not jump to infinite time when terminating, to avoid indefinite heartbeats. Therfore pending collision events are not handled until the end of stream when bleaching is enabled.

The data output however should not be compromised by that.

Solution sketch

  • explicitely empty pending streams before terminating

E-field interpolation

The linear and nearest interpolation algorithm does not handle points out of the grid range properly.

Component docs

Add documentation for all components including call signature, parameters, input and output streams and a general description.

Memory requirements of simfs_img

Memory usage of simfs_img explodes when using many and dim molecules. Check to see if the algorithm can be improved to handle many molecules better.

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.