Package gmisclib :: Module tsops :: Class axis
[frames] | no frames]

Class axis

source code

This class represents a time axis for a time series. Indices of the underlying array are assumed to be zero-based.

Instance Methods
 
__init__(self, start=None, dt=None, n=None, end=None, crpix=0) source code
 
N(self) source code
 
coord(self, index)
What is the i^th coordinate if the i^th index==index? More plainly, this function gives you the coordinate that corresponds to the index.
source code
 
coords(self)
Generate an array of all the time values.
source code
 
index(self, t, limit=False, error=True) source code
 
indices(self, t, limit=False, error=True) source code
 
dt(self) source code
 
start(self) source code
 
end(self) source code
 
__str__(self) source code
 
__repr__(self) source code