sherlockpipe.search.Searcher.Searcher
- class sherlockpipe.search.Searcher.Searcher
Bases:
ABCAbstract base class for transit search engines used by SHERLOCK.
Subclasses must implement
search()to run a specific search algorithm (e.g. TLS or BLS) on a detrended light curve.- __init__()
Methods
__init__()search(sherlock_target, time, lc, star_info, ...)Runs the transit search algorithm on a given light curve.
- abstractmethod search(sherlock_target, time, lc, star_info: StarInfo, transits_min_count: int, run_results, report, cadence, period_grid, detrend_source_period)
Runs the transit search algorithm on a given light curve.
Parameters
- sherlock_targetSherlockTarget
The target configuration.
- timenumpy.ndarray
Time array in days.
- lcnumpy.ndarray
Detrended flux array.
- star_infoStarInfo
Stellar parameters.
- transits_min_countint
Minimum number of transits for a valid detection.
- run_resultsdict
Results from previous runs, used for harmonic detection.
- reportdict
The object report dictionary.
- cadencefloat
Observing cadence in seconds.
- period_gridnumpy.ndarray
Array of trial periods.
- detrend_source_periodfloat or None
Source period used for detrending (rotation period).
Returns
- TransitResult
The detected transit result.