cellpy
cellpy copied to clipboard
Optional loading of user prms
Loading the prms (the user config file) should not be done if cellpy is used purely as a library.
Only the following "API"s should load as default:
# the cellpy get function
cellpy.get()
# the batch utility
b = batch.init()
# other "large" utilities (when they get implemented), for example
cellpy.live() # monitor (a) running experiment(s)
# most likely the easyplot should also load the prms
cellpy.utils.easyplot()
Consider splitting core cellpy features and utils etc
# Using cellpy only as a library:
import cellpy # only imports core
# Using cellpy as an app:
import cellpy.something as clp # matplotlib-like solution - loads prms etc
# or
cellpy.init() # or somthing similar - loads prms etc
@asbjorul: what do you think?