sherlockpipe.scoring.AverageSpectrumSignalSelector.AvgSpectrumSignalSelection

class sherlockpipe.scoring.AverageSpectrumSignalSelector.AvgSpectrumSignalSelection(score, curve_index, transit_result)

Bases: object

Container for the result of an average-spectrum signal selection.

__init__(score, curve_index, transit_result)

Initialize the average-spectrum signal selection.

Parameters

scorefloat

The selection score.

curve_indexint

The index of the detrended curve with the best signal.

transit_resultTransitResult

The transit result object for the selected signal.

Methods

__init__(score, curve_index, transit_result)

Initialize the average-spectrum signal selection.

get_message()

Return a human-readable summary of the average-spectrum signal selection.

get_message()

Return a human-readable summary of the average-spectrum signal selection.

Returns

str

A string describing the chosen signal with its name, period, SNR, SDE, FAP, and border score.