ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/osprai/osprai/trunk/osprai_one.py
Revision: 49
Committed: Tue Feb 8 01:38:34 2011 UTC (8 years, 5 months ago) by clausted
File size: 2052 byte(s)
Log Message:
Add readcsv() function to io_module since sometimes we might have data in a spreadsheet with the left column containing time data and the rest of the columns containing sensorgram data.  
Add a flattenlist() function to cal_module.  It might be useful when using the ba.roi.bgroi property. Sometimes it is a single number, but sometimes we'd like it to be a list of roi numbers.  
Line File contents
1 """
2 osprai_one: Module to tie together the various osprai tools.
3 Christopher Lausted, Institute for Systems Biology,
4 Yuhang Wan, OSPRAI developers
5 Last modified on 110207 (yymmdd)
6
7 Examples:
8 from osprai_one import *
9 """
10 __version__ = "110207"
11 __all__ = ['BiosensorArray', 'RegOfInterest',
12 'readsprit', 'readclamp', 'readicmtxt', 'readbiosensor', 'readcsv',
13 'applygal', 'applykey', 'applymethod', 'writesprit',
14 'writeclamp', 'writebiosensor',
15 'dotgraph', 'linegraph', 'dualgraph', 'scatterplot',
16 'calibrate', 'bgset', 'bgsubt', 'copyinterval', 'zerotime', 'zerovalue',
17 'mclma', 'clma', 'lma',
18 'drift', 'simple1to1', 'simple1to1_mtl',
19 'deepcopy', 'exit', 'getcwd', 'date',
20 'arange', 'zeros',]
21
22
23 ## Import from OSPRAI project libraries
24
25 from ba_class import BiosensorArray
26 from ba_class import RegOfInterest
27
28 from io_module import readsprit
29 from io_module import readclamp
30 from io_module import readicmtxt
31 from io_module import readbiosensor
32 from io_module import readcsv
33 from io_module import applygal
34 from io_module import applykey
35 from io_module import applymethod
36 from io_module import writesprit
37 from io_module import writeclamp
38 from io_module import writebiosensor
39
40 from vu_module import dotgraph
41 from vu_module import linegraph
42 from vu_module import dualgraph
43 from vu_module import scatterplot
44
45 from cal_module import calibrate
46 from cal_module import bgset
47 from cal_module import bgsubt
48 from cal_module import copyinterval
49 from cal_module import zerotime
50 from cal_module import zerovalue
51
52 from fit_module import mclma
53 from fit_module import clma
54 from fit_module import lma
55
56 from mdl_module import drift
57 from mdl_module import simple1to1
58 from mdl_module import simple1to1_mtl
59
60
61 ## Import from standard libraries.
62
63 from copy import deepcopy
64 from sys import exit
65 from os import getcwd
66 from datetime import date
67 from numpy import arange
68 from numpy import zeros
69
70 ################################# End of module #################################