Skip to content

Instantly share code, notes, and snippets.

@abalijepalli
abalijepalli / plotIonicCurrent.py
Created February 26, 2015 19:13
Plot an ionic current time-series using MOSAIC (https://github.com/usnistgov/mosaic) functions.
"""
Plot an ionic current time-series.
:Created: 02/26/2015
:Author: Arvind Balijepalli <[email protected]>
:ChangeLog:
.. line-block::
02/26/15 AB Initial version
"""
import mosaic.abfTrajIO as abf
@abalijepalli
abalijepalli / channelGating.py
Created February 26, 2015 19:10
Estimate the channel gating duration in a single molecule nanopore experiment analyzed with MOSAIC (https://github.com/usnistgov/mosaic).
"""
Estimate the channel gating duration in a single molecule nanopore experiment.
:Created: 02/26/2015
:Author: Arvind Balijepalli <[email protected]>
:ChangeLog:
.. line-block::
02/26/15 AB Initial version
"""
import mosaic.abfTrajIO as abf
@abalijepalli
abalijepalli / mosaicPlot.py
Created February 26, 2015 18:58
Plot the results of a MOSAIC (https://github.com/usnistgov/mosaic) analysis.
"""
Plot the results of a MOSAIC analysis.
:Created: 02/26/2015
:Author: Arvind Balijepalli <[email protected]>
:ChangeLog:
.. line-block::
02/26/15 AB Initial version
"""
import mosaic.qdfTrajIO as qdf
@abalijepalli
abalijepalli / analyzeSyntheticSingleMoleculeData.py
Last active September 11, 2015 00:35
Generate synthetic multi-state single molecule data for use with MOSAIC (https://github.com/usnistgov/mosaic)
"""
Analyze synthetic multi-state single molecule data generated by syntheticSingleMoleculeData.py
Algorithm settings are imported from .settings file placed in the data directory.
For a description of the settings, please see https://usnistgov.github.io/mosaic/html/doc/settingsFile.html
:Created: 03/05/2015
:Author: Arvind Balijepalli <arvind.balijepalli@nist.gov>
:ChangeLog:
.. line-block::
@abalijepalli
abalijepalli / binaryConvert.py
Last active August 29, 2015 14:16
A Python gist to convert any data type supported by MOSAIC (https://github.com/usnistgov/mosaic) to a simple binary format.
"""
Extend the MOSAIC ConvertToCSV class to export arbitrary binary files.
:Created: 02/25/2015
:Author: Arvind Balijepalli <[email protected]>
:ChangeLog:
.. line-block::
02/25/15 AB Initial version
"""
import mosaic.ConvertToCSV as conv