jacscanomaly.CandidateQuality

class jacscanomaly.CandidateQuality(n_window, n_contrib, n_eff, peak_frac, rho1, longest_run)[source]

Per-candidate quality diagnostics derived from per-point chi-square improvement.

Parameters:
n_window

Number of points inside the local chi2 evaluation window.

Type:

int

n_contrib

Number of points with improvement above the configured threshold.

Type:

int

n_eff

Effective number of contributing points (participation-ratio style).

Type:

float

peak_frac

Fraction of total positive improvement carried by the strongest point.

Type:

float

rho1

Lag-1 autocorrelation of signed per-point improvements within the window.

Type:

float

longest_run

Longest consecutive run length among above-threshold contributing points.

Type:

int

__init__(n_window, n_contrib, n_eff, peak_frac, rho1, longest_run)
Parameters:
Return type:

None

Methods

__init__(n_window, n_contrib, n_eff, ...)

Attributes

n_window

n_contrib

n_eff

peak_frac

rho1

longest_run