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


Download files

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

Files for nufeb-tools, version 0.0.51
Filename, size File type Python version Upload date Hashes
Filename, size nufeb_tools-0.0.51-py2.py3-none-any.whl (41.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size nufeb_tools-0.0.51.tar.gz (53.8 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page