slipHistory class¶
- class csi.slipHistory(fault, direction='sd', utmzone=None, ellps='WGS84', lon0=None, lat0=None, verbose=True)¶
- initializeTimeSeries(time=None, start=None, end=None, increment=1)¶
Initializes the time series of slip for each patch.
- Kwargs:
time : list of datetime instances
start : datetime instance of the first period
end : datetime instance of the ending period
increment : increment of time between periods
- plotPatch(patch)¶
Plots the time series of slip for one patch or one tent.
- Args:
- patchCan be a patch or a tent (given the fault
object)
- plotSlip(time)¶
Plots the slip at a given time
- Args:
time : instance of datetime
- predict(datas)¶
For all the data included in data, build time series of displacement.
- Args:
- datasList of data sets.
Time series will be initialized given the time vector of slip.
- slip2fault(time)¶
Sets the slip at a time period ‘time’ into the fault object.
- Args:
time : Instance of datetime
- slipattime(time)¶
Gets the slip at a given time
- Args:
- timeInstance of datetime or list or array of
instances of datetime
- Returns:
- slipDictionary of ‘strikeslip’, ‘dipslip’ and
‘tensile’
- tbayes2history(tbayes, model='mean')¶
Convert the results of a timebayes instance into time series of fault slip.
- Args:
tbayes : Instance of timebayes. Need to run walkWithTime
- Kwargs:
- modelWhich model do we want?
Can be ‘mean’, ‘median’ or any integer number giving the index of the model