Loadings

../_images/loading_overview.png
class tdsr.loading.StepLoading(strend: int | float = 7e-05, tstep: int | float | None = None, sstep: int | float = 1.0, tstart: int | float = 0.0, tend: int | float | None = None, taxis_log: bool = False, ntlog: int | float = 1000, deltat: int | float = 720.0, config: Config | None = None)

Class StepLoading (short name “Step”) can define a stress step over a linear trend of Coulomb stress loading. An equal distance sampling of the stress function with sampling interval of deltat is generated if taxis_log==False. Controlling parameter are the background stress trend (strend), the time when the stress step is applied (tstep), and the magnitude of the stress step (sstep). If taxis_log==True a logarithic time sampling is considered. Then, the time of the step is set to t=tstart, and the number of sampling points (ntlog) is specified instead of the sampling interval.

class tdsr.loading.FourPointLoading(n1: int = 50, n2: int = 51, deltat: int | float = 0.0, sc0: int | float = 0.0, sc1: int | float = 0.5, sc2: int | float = 1.0, sc3: int | float = 2.0, config: Config | None = None)

FourPointLoading (short name “4points”) can define a Coulomb stress loading by 4 stress values at subsequent times. Equally-spaced stress function with a sampling interval of “deltat” is generated. The first Coulomb stress value (sc0) is assumed at time tstart. The last one (sc3) at time tend. The sample times of the two stress values in between (sc1 and sc2) are defined by integer number of the sampling interval, n1 and n2, respectively.

class tdsr.loading.CyclicLoading(strend: int | float = 7e-05, ampsin: int | float = 0.2, Tsin: int | float = 43200, tstart: int | float = 0.0, tend: int | float | None = None, deltat: int | float = 720.0, config: Config | None = None)

Class CyclicLoading (short name “Cycle”) defines a sinusoidal stress loading function with period Tsin and amplitude ampsin. A linear trend is superposed (strend). An equal distance sampling of the stress function with sampling interval of “deltat” is generated.

class tdsr.loading.BackgroundLoading(strend: int | float = 7e-05, tstart: int | float = 0.0, tend: int | float = 86400.0, deltat: int | float = 720.0, taxis_log: bool = False, ntlog: int | float = 1000, sstep: int | float = 0.0, config: Config | None = None)

Class BackgroundLoading (short name “Background”) defines a constant stress rate with slope strend. If taxis_log==True a logarithmic time sampling is realised, where the number of samples is defined by ntlog. Otherwise, a constant sampling interval of deltat is defined. The loading time series is defined between times tstart and tend.

class tdsr.loading.TrendchangeLoading(strend: int | float = 7e-05, strend2: int | float = 0.0007, tstep: int | float | None = None, tstart: int | float = 0.0, tend: int | float = 86400.0, deltat: int | float = 720.0, config: Config | None = None)

Class TrendchangeLoading (short name “Trendchange”) defines a loading function where stress rate changes abruptly from strend to strend2 at time tstep. A constant sampling interval is defined by deltat between tstart and tend.

class tdsr.loading.RampLoading(strend: int | float = 7e-05, strend2: int | float = 0.0007, strend3: int | float = 7e-05, nsample2: int | float = 20, tstep: int | float | None = None, tstart: int | float = 0.0, tend: int | float | None = None, deltat: int | float = 720.0, config: Config | None = None)

Class RampLoading (short name “Ramp”) is used to realise a ramp loading of length nsample2 * deltat starting at time tstep, where deltat is the sampling interval

class tdsr.loading.CustomLoading(file: str | PathLike | None = None, data: str | PathLike | None = None, strend: int | float = 7e-05, tstart: int | float = 0.0, tend: int | float = 86400.0, taxis_log: bool = False, deltat: int | float = 720.0, scal_t: int | float = 86400, scal_cf: int | float = 1e-06, c_tstart: int | float = 0.0, config: Config | None = None)

CustomLoading (short name “custom”) is used to read an arbitrary stress loading file from disk or via an argument. Both ascii and binary files can be loaded if the formatting is correct. See examples for further explanations