Skip to main content

Python software package for analyzing Isothermal Titration Calorimetry data

Project description

A python software package for analyzing Isothermal Titration Calorimetry data.
The name is a `portmanteau <>`_ of Python and ITC.

`pytc <>`_ is python software used to extract
thermodynamic information from isothermal titration calorimetry (ITC)
experiments. It fits arbitrarily complex thermodynamic models to multiple ITC
experiments simultaneously. We built it with three design principles:

+ **Open source and cross platform**. The full source code should be available.
The program should not require proprietary software to run.
+ **Ease of use**. Fitting basic models should be easy. Implementing completely
new thermodynamic models should be straightforward.
+ **Accessible for users and programmers**. It should have both a GUI and a
well-documented API.

Our implementation is built on `python3 <>`_ extended with `numpy <>`_,
`scipy <>`_, `matplotlib <>`_ and
`emcee <>`_. The GUI is built on
`pytq5 <>`_.


+ Clean, pythonic API
+ Simple, cross-platform GUI based on `PyQt5 <>`_.
+ New models can be defined using a few lines of python code.
+ Easy integration with `jupyter <>`_ notebooks for
writing custom fitting scripts.


+ `Installation <installation.html>`_
+ `Fitting models using the API <>`_.
+ `Fitting models using the GUI <>`_.
+ `Fitting and statistics <statistics.html>`_.
+ `Description of individual experiment models included in package <indiv_models.html>`_.
+ `Description of global fits included in package <global_models.html>`_.
+ `Defining new models <writing_new_models.html>`_.

.. warning::
**pytc** will fit all sorts of complicated models to your data. It is up to
you to make sure the fit is justified by the data. See the
`Fitting and statistics <statistics.html>`_ section to see what **pytc**
reports to help in this decision making.

API Quick Start

If you already have a python3-based scientific computing environment installed,
you can start using the API by:

.. sourcecode:: bash

# Install pytc
pip3 install pytc-fitter

# Clone the demos repo
git clone

# Fire up jupyter
cd pytc-demos
jupyter notebook

Example code using the API

Fit a :math:`Ca^{2+}/EDTA` binding experiment to a single-site binding model.

.. sourcecode:: python

import pytc

# Load in integrated heats from an ITC experiment
e = pytc.ITCExperiment("demos/ca-edta/tris-01.DH",

# Create the global fitter, add the experiment, and fit
g = pytc.GlobalFit()

# Print the results out


The GUI is installed separately from the API. Instructions are
`here <>`_. The GUI
docs are `here <>`_. A few
screenshots showing the GUI in action are below.

.. image:: images/gui_01.png
.. image:: images/gui_02.png

.. toctree::
:maxdepth: 2
:caption: Contents:


Indices and tables

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

Project details

Download files

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

Source Distribution

pytc-fitter-1.1.5.tar.gz (29.7 kB view hashes)

Uploaded Source

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