faninsar.NSBAS.tsmodels.FreezeThawCycleModel#

class faninsar.NSBAS.tsmodels.FreezeThawCycleModel(ftc: FreezeThawCycle, dates: pd.DatetimeIndex | Sequence[datetime], unit: Literal['year', 'day'] = 'day')[source]#

Bases: TimeSeriesModels

A pure Freeze-thaw cycle model without velocity.

__init__(ftc: FreezeThawCycle, dates: pd.DatetimeIndex | Sequence[datetime], unit: Literal['year', 'day'] = 'day') None[source]#

Initialize FreezeThawCycleModel.

Parameters:
  • ftc (FreezeThawCycle) –

    Freeze-thaw cycle instance. The dates in ftc should cover the dates of SAR acquisitions.

    Warning

    The first date in ftc should be earlier than the thawing onset of the first year in the time series model.

  • dates (pd.DatetimeIndex | Sequence[datetime]) – Dates of SAR acquisitions. This can be easily obtained by accessing Pairs.dates.

  • unit (Literal["year", "day"], optional) – Unit of day spans in time series model, by default “day”.

Methods

__init__(ftc, dates[, unit])

Initialize FreezeThawCycleModel.

Attributes

G_br

Bottom right block of the design matrix G in NSBAS inversion.

date_spans

Date spans of SAR acquisitions in unit of year or day.

dates

Dates of SAR acquisitions.

param_names

Parameter names in time series model.

unit

Unit of date_spans in time series model.

property G_br: ndarray#

Bottom right block of the design matrix G in NSBAS inversion.

property date_spans: ndarray#

Date spans of SAR acquisitions in unit of year or day.

property dates: DatetimeIndex#

Dates of SAR acquisitions.

property param_names: list[str]#

Parameter names in time series model.

property unit: str#

Unit of date_spans in time series model.