Skip to main content

Python-based tools and utilities for NUFEB simulations

Project description

Documentation Status pypi Tox testing status

Description

Python-based tools and utilities for NUFEB simulations

Getting Started

Install via pip:

pip install nufeb-tools

Generate NUFEB simulations from the CLI:

nufeb-seed

Remove old runs:

nufeb-clean

Get data from a simulation for analysis

from nufeb_tools import utils
x = utils.get_data(test=True)

Plot the overall growth

from nufeb_tools import plot
import matplotlib.pyplot as plt
f, ax = plt.subplots()
plot.overall_growth(x.biomass,ax=ax)
/docs/_static/images/total_biomass_vs_time.png

Plot colonies based on initial seed cells

from nufeb_tools import utils, plot
import matplotlib.pyplot as plt
x = utils.get_data(directory= r'D:\runs\Run_21_18_56_1_2021-07-12')
f,ax = plt.subplots()
plot.colony(x,35000,colors,ax=ax)
plt.show()
/docs/_static/images/testcolony.png

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nufeb_tools-0.0.50.tar.gz (53.8 MB view hashes)

Uploaded Source

Built Distribution

nufeb_tools-0.0.50-py2.py3-none-any.whl (40.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page