starling.structure.bme_utils.ThetaScanResult

class ThetaScanResult[source]

Bases: object

Container for theta scan results.

Methods

__init__

plot

Plot theta-scan diagnostics.

print_summary

Print a formatted summary of theta scan results.

Attributes

theta_values

chi_squared_values

phi_values

kl_divergence_values

results

optimal_theta

optimal_idx

method

theta_values: ndarray
chi_squared_values: ndarray
phi_values: ndarray
kl_divergence_values: ndarray
results: List[BMEResult]
optimal_theta: float
optimal_idx: int
method: str
plot(figsize: Tuple[int, int] = (10, 4), save_path: str | None = None, show: bool = True)[source]

Plot theta-scan diagnostics.

Panels (1 x 2):

[0] Chi squared vs N_eff (effective frames), colored by log10(theta) [1] Weight distribution at optimal theta

print_summary(n_show: int = 5)[source]

Print a formatted summary of theta scan results.

__init__(theta_values: ndarray, chi_squared_values: ndarray, phi_values: ndarray, kl_divergence_values: ndarray, results: List[BMEResult], optimal_theta: float, optimal_idx: int, method: str) None