Code Monkey home page Code Monkey logo

numcme.jl's Introduction

NumCME.jl

An extensible toolkit for direct numerical solution of the Chemical Master Equation based on the Finite State Projection and related algorithms.

Features

This package aims to offer dynamic, fast, and customizable methods for direct numerical integration of the Chemical Master Equation (CME) in Julia. Currently, it has:

  • Transient solution of the CME for time-homogeneous reaction rates/propensities as well as time-varying reaction rates/propensities using Finite State Projection and related variants.
  • Dynamic state spaces: The truncated state space is adapted on-the-fly to remove redundant states with low probabilities and add more states to ensure the truncation error is within user-specified tolerance.
  • Customizable: Users can choose how the dynamic state space is managed (by specifying parameters for existing SpaceAdapter subtypes or write their own SpaceAdapter) and how the reduced ODEs are solved (by choosing one among the multitude options offered by DifferentialEquations.jl). Advanced users can write their own dynamic state space management policy by subtyping SpaceAdapter.
  • Sensitivity analysis: Compute partial derivatives of the FSP solution with respect to model parameters. Users do not need to write analytic expressions of the propensity's partial derivatives. Instead, the package applies existing tools from ModelingToolkit.jl and ForwardDiff.jl to generate those derivatives automatically.
  • Accept reaction systems defined using Catalyst.jl DSL.

Installation

This package can be installed using Julia's package management. For the last stable version from the General Registry,

import Pkg; Pkg.add("NumCME")

For the latest commit on this repository,

import Pkg; Pkg.add("https://github.com/voduchuy/NumCME.jl")

Possible improvements

numcme.jl's People

Contributors

voduchuy 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.