Fluorescence Recovery After Photobleaching (FRAP) is a common technique to assess molecular diffusion. PyFRAP is a novel simulation-based analysis software that makes use of PDE simulations to analyze FRAP experiments in 3D geometries. It uses the first post-bleach image as initial condition, making assumptions about the underlying initial conditions obsolete. PyFRAP can fit different reaction-diffusion models to FRAP data, providing quantitative information about effective diffusion.
PyFRAP comes with a full image analysis and simulation toolbox. In particular, PyFRAP can
PyFRAP can be installed in different ways. We provide installation scripts that allow an easy installation of PyFRAP in combination with Anaconda, including all necessary Python packages and external softwares. Installation instructions can be found here.
If you are familiar with Python and git, you can install PyFRAP via
git clone https://github.com/mueller-lab/PyFRAP
python setup.py install --user
We highly recommend installing with the –user option, since PyFRAP needs to read/write data files in the installation folder. In some cases, this might lead to file permission issues. For a full installation documentation, have a look at the wiki.
PyFRAP depends on
Note that the installation described here installs all necessary requirements.
PyFRAP comes with a comprehensive GUI. It can easily be started by clicking on runPyFRAP.bat (Windows), runPyFRAP.command (OSX) or runPyFRAP.sh (Linux).
If you are using a terminal, cd to your PyFRAP directory and type
If you are already in a python session, you can simply run
import pyfrp pyfrp.main()
Note that in the latter method PyFRAP’s stdout might get redirected to the python shell you are executing it from.
PyFRAP is a complete python package and can be imported via
Note that PyFRAP has three main submodules: pyfrp.modules, pyfrp.subclasses and pyfrp.gui. If you do not want to use any GUI elements, we recommend only importing the modules you need.
Check out the PyFRAP wiki’s First Steps Section.
PyFRAP is fully documented, allowing easy creation of scripts and extensions of the PyFRAP toolbox. The API of PyFRAP can be found here .
To learn more about PyFRAP, check out the PyFRAP Wiki.