Created
February 26, 2015 19:13
-
-
Save abalijepalli/5fb9f354526adc76c756 to your computer and use it in GitHub Desktop.
Plot an ionic current time-series using MOSAIC (https://github.com/usnistgov/mosaic) functions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
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 | |
import matplotlib.pyplot as plt | |
import numpy as np | |
abfDat=abf.abfTrajIO(dirname='~/abfSet1/', filter='*.abf') | |
plt.plot( np.arange(0,1,1/500000.), b.popdata(500000), 'b.', markersize=2 ) | |
plt.xlabel("t (s)", fontsize=14) | |
plt.ylabel("-i (pA)", fontsize=14) | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment