sherlockpipe.scoring.SignalSelector.SignalSelector

class sherlockpipe.scoring.SignalSelector.SignalSelector

Bases: ABC

Base class to perform a selection of the best candidate signal among a list of them.

__init__()

Initialize the signal selector.

Methods

__init__()

Initialize the signal selector.

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

Selects the best signal given the implementation of this method.

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

Selects the best signal given the implementation of this method.

Parameters:
  • transit_result_detrends – a list of transit results to be explored.

  • snr_min – the minimum snr to allow a signal to be considered good enough.

  • sde_min – the minimum sde to allow a signal to be considered good enough.

  • detrend_method – the detrend method used to obtain the candidate transit results

  • wl – the window length used by the detrend method used.

Returns:

a SignalSelection with the parameters that characterize the best selection.