redback.analysis.combine_classifications

redback.analysis.combine_classifications(spectral_result: ClassificationResult, photometric_result: ClassificationResult, spectral_weight: float = 0.7) ClassificationResult[source]

Combine spectral and photometric classification results into a single estimate.

Type probabilities are computed as a weighted average: p_combined = spectral_weight * p_spectral + (1 - spectral_weight) * p_photometric

Parameters:
Returns:

Combined ClassificationResult with method=’combined’