Coder Social home page Coder Social logo

pharmokinetics's People

Contributors

ellmen avatar leonard-lenny-lee avatar ramanspec avatar

Watchers

 avatar  avatar

pharmokinetics's Issues

Add matplotlib plots

Should include support for:

  • One model per row
  • One protocol per column
  • Lines indicating min/max dosage
  • Saving figures

Update plot graphics

We can probably improve the look of the plots. In particular, it would be worth looking at:

  • Increasing the default size of the saved figures
  • Using seaborn
  • Rendering the subscripts as subscripts

Tests

This is a big issue and should probably be split into multiple issues for the different classes/methods.

Define class interface

To start with, we are looking for class definitions that support this API:

from pharmokinetics import Model, Protocol, Solution


m1 = Model(dosing=[1,2], peripheral=[[1,2], [3,4]], therapeutic_min=1, therapeutic_max=6)
m2 = Model(dosing=None, peripheral=[[1,2], [3,4]], therapeutic_min=1, therapeutic_max=6)

p1 = Protocol(constant=[(1,3)], spikes=[(4,5), (1, 7)])
p2 = Protocol(constant=[(1,3)], spikes=[(4,5), (1, 6)])

s = Solution(models=[m1,m2], protocols=[p1,p2])
s.solve()
s.plot()
s.save_plot()

Usage example in README

We should include the example.py contents as a Usage section in the README. That should be right under Installation (which should be moved to the top).

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.