SeaPy 2D Superposed epoch analysis object
Initialize object with data (n element vector), times(y*n array), epochs, window (half-width), delta (optional), and y (two-element vector with max and min of y;optional) ‘times’ and epochs should be in some useful format Includes method to perform superposed epoch analysis of input data series
Parameters: | data : array_like
times : array_like
epochs : array_like
window : datetime.timedelta
delta : datetime.timedelta
|
---|
Notes
Output can be nicely plotted with plot(), or for multiple objects use the multisea() function
sea([storedata, quartiles, ci, mad, ...]) | Perform 2D superposed epoch analysis on data in object |
plot([xquan, yquan, xunits, yunits, zunits, ...]) | Method called to create basic plot of 2D superposed epoch analysis. |
Perform 2D superposed epoch analysis on data in object
Uses object attributes obj.data, obj.times, obj.epochs, obj.delta, obj.window, all of which must be available on instantiation.
Other Parameters: | |
---|---|
storedata : boolean
quartiles : list
ci : float
mad : float
ci_quan : string
|
Notes
A basic plot can be raised with plot()
Method called to create basic plot of 2D superposed epoch analysis.
Uses object attributes created by sea().
Other Parameters: | |
---|---|
x(y)quan : str
x(y/z)units : str
epochline : boolean
usrlimy : list
show : boolean
figsize : tuple
dpi : int
|
Notes
If both quan and units are supplied, axis label will read ‘Quantity Entered By User [Units]’