AMBHAS
ambhas.xls.xlsread Class Reference

List of all members.

Public Member Functions

def __init__
def get_cells
def __cell2ind__

Public Attributes

 fname
 sheet_names
 book

Detailed Description

A class to read data from xls file
based on the 'xlrd'

Example:
        fname = '/home/tomer/rain_projection/raw_data/a2_0.5.xls'
        foo = xlsread(fname)
        var = foo.get_cells('a3:a5', 'Sheet1')

Definition at line 13 of file xls.py.


Constructor & Destructor Documentation

def ambhas.xls.xlsread.__init__ (   self,
  fname 
)

Definition at line 24 of file xls.py.


Member Function Documentation

def ambhas.xls.xlsread.__cell2ind__ (   self,
  foo 
)
given the cell number i.e. (AA100)
returns the row and column of cell in indices format i.e. 0, 10

Definition at line 71 of file xls.py.

Here is the caller graph for this function:

def ambhas.xls.xlsread.get_cells (   self,
  cell_range,
  sheet 
)
cell_range: a single cell i.e. 'a2'
    range of cells i.e. 'a2:f5'
sheet:  name of the sheet, must be string

Definition at line 30 of file xls.py.

Here is the call graph for this function:


Member Data Documentation

Definition at line 24 of file xls.py.

Definition at line 24 of file xls.py.

Definition at line 24 of file xls.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables