MissedEventsG

class HJCFIT.likelihood.MissedEventsG(*args, **kwargs)[source]

Computes missed-events likelihood.

Exact calculations take place for times smaller than \(n_{\mathrm{max}}\\tau\). Asymptotic calculations take over for larger times.

af(self, t) HJCFIT::t_rmatrixLikelihood of an observed open time of length ``t``[source]
Parameters:

t – A scalar or something to a numpy array. In the latter case, the return is an array of matrices.

property af_factor

Factor accounting for minimum shut time

It is the likelihood \(\mathcal{Q}_{AF}e^{-\mathcal{Q}_{FF}\tau}\) of a shut time of length \(\tau\).

fa(self, t) HJCFIT::t_rmatrixLikelihood of a shut time of length ``t``[source]
Parameters:

t – A scalar or something to a numpy array. In the latter case, the return is an array of matrices.

property fa_factor

Factor accounting for minimum open time

It is the likelihood \(\mathcal{Q}_{FA}e^{-\mathcal{Q}_{AA}\tau}\) of an open time of length \(\tau\).

final_CHS_vectors(t_critical)[source]

Computes final CHS vectors.

property final_vectors

Equilibrium vectors for final states.

Computes the right eigenvector of \({}^e\mathcal{G}_{FA}{}^e\mathcal{G}_{AF}\), where \({}^e\mathcal{G}_{FA}\) is the laplacian for \(s=0\) of the likelihood.

initial_CHS_vectors(t_critical)[source]

Computes initial CHS vectors.

property initial_vectors

Equilibrium vectors for initial states.

Computes the left eigenvector of \({}^e\mathcal{G}_{AF}{}^e\mathcal{G}_{FA}\), where \({}^e\mathcal{G}_{AF}\) is the laplacian for \(s=0\) of the likelihood.

laplace_af(self, s) HJCFIT::t_rmatrixExact missed-events G in Laplace space.[source]

The exact expression is \(^{e}\mathcal{G}_{AF}(s) = {}^AR(s) e^{-s\\tau}\mathcal{Q}_{AF}e^{\mathcal{Q}_{FF}\\tau}\), with \({}^AR(s) = [sI - \mathcal{Q}_{AA} - \mathcal{Q}_{AF} \\int_0^\\tau e^{-st}e^{\mathcal{Q}_{FF}t}\\partial t \mathcal{Q}_{FA}]^{-1}\).

Parameters:

s – The laplace scale. A real scalar or something convertible to a numpy array.

Returns:

A matrix if the input is scalar, an array of matrices otherwise, with the shape of the input.

laplace_fa(self, s) HJCFIT::t_rmatrixExact missed-events G in Laplace space.[source]

The exact expression is \(^{e}\mathcal{G}_{FA}(s) = {}^FR(s) e^{-s\\tau}\mathcal{Q}_{FA}e^{\mathcal{Q}_{AA}\\tau}\), with \({}^FR(s) = [sI - \mathcal{Q}_{FF} - \mathcal{Q}_{FA} \\int_0^\\tau e^{-st}e^{\mathcal{Q}_{AA}t}\\partial t \mathcal{Q}_{AF}]^{-1}\).

Parameters:

s – The laplace scale. A real scalar or something convertible to a numpy array.

Returns:

A matrix if the input is scalar, an array of matrices otherwise, with the shape of the input.

property nmax

Cut-off time of exact calculations in units of \(\\tau\).

property nopen

Number of open-states.

property nshut

Number of shut-states.

property tau

Resolution or maximum length of the missed events.

property thisown

The membership flag

property tmax

Cut-off time of exact calculations \(t_{\mathrm{max}} = (n_{\mathrm{max}}-1)\\tau\).

For practical reasons, the minimum observation time has alreadybeen removed here.