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, 3 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 User Rev File contents
1 clausted 21 """
2     osprai_one: Module to tie together the various osprai tools.
3     Christopher Lausted, Institute for Systems Biology,
4     Yuhang Wan, OSPRAI developers
5 clausted 49 Last modified on 110207 (yymmdd)
6 clausted 21
7     Examples:
8     from osprai_one import *
9     """
10 clausted 49 __version__ = "110207"
11 clausted 27 __all__ = ['BiosensorArray', 'RegOfInterest',
12 clausted 49 'readsprit', 'readclamp', 'readicmtxt', 'readbiosensor', 'readcsv',
13 clausted 27 'applygal', 'applykey', 'applymethod', 'writesprit',
14     'writeclamp', 'writebiosensor',
15     'dotgraph', 'linegraph', 'dualgraph', 'scatterplot',
16 clausted 36 'calibrate', 'bgset', 'bgsubt', 'copyinterval', 'zerotime', 'zerovalue',
17 clausted 27 'mclma', 'clma', 'lma',
18     'drift', 'simple1to1', 'simple1to1_mtl',
19     'deepcopy', 'exit', 'getcwd', 'date',
20     'arange', 'zeros',]
21 clausted 21
22    
23     ## Import from OSPRAI project libraries
24    
25     from ba_class import BiosensorArray
26 clausted 27 from ba_class import RegOfInterest
27 clausted 21
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 clausted 49 from io_module import readcsv
33 clausted 21 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 clausted 27 from io_module import writebiosensor
39 clausted 21
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 clausted 24 from cal_module import copyinterval
49 clausted 36 from cal_module import zerotime
50     from cal_module import zerovalue
51 clausted 21
52 clausted 27 from fit_module import mclma
53 clausted 21 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 clausted 26 from mdl_module import simple1to1_mtl
59 clausted 21
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 clausted 49 ################################# End of module #################################