sherlockpipe.scoring.BasicSignalSelector.BasicSignalSelector

class sherlockpipe.scoring.BasicSignalSelector.BasicSignalSelector

Bases: SignalSelector

Selects the signal with best SNR

__init__()

Initialize the Basic signal selector.

Methods

__init__()

Initialize the Basic signal selector.

select(id_run, sherlock_target, star_info, ...)

Select the signal with the highest SNR among all detrended curves.

select(id_run, sherlock_target, star_info, transits_min_count, time, lcs, transit_results, wl, cadence)

Select the signal with the highest SNR among all detrended curves.

Parameters

id_runint

The current SHERLOCK run number.

sherlock_targetSherlockTarget

The target configuration.

star_infoStarInfo

The star information.

transits_min_countint

The minimum number of transits required.

timendarray

The time array of the light curve.

lcsdict

Dictionary of detrended light curve flux arrays.

transit_resultsdict

Dictionary mapping curve indices to TransitResult objects.

wlfloat

The window length used for detrending.

cadencefloat

The cadence of the observations.

Returns

SignalSelection

The selection result with score, curve index, and transit result.