Calling Cell Profiler/modules/functions from Python

I am writing an analysis pipeline for multidimensional image processing using python (ipython notebook for prototyping). I was wondering if it is possible to load Cell profiler and use some of the function provided.
Thanks a lot for the help and happy 2015!

Hi Simone,

If you have the source code for CellProfiler (downloadable from GitHub:, you can look at the code for the nose unit tests under /cellprofiler/modules/tests for examples on how to call individual components from the various modules.

Does that help?