sherlockpipe.search.TlsSearcher.TlsSearcher
- class sherlockpipe.search.TlsSearcher.TlsSearcher
Bases:
SearcherTransit Least Squares (TLS) search engine using
foldedleastsquares.Provides the default transit search for SHERLOCK, supporting custom transit templates, limb-darkened models, and GPU-accelerated modes.
- __init__()
Methods
__init__()search(sherlock_target, time, lc, star_info, ...)Runs the TLS search on the light curve and returns the best-fit transit parameters.
- search(sherlock_target, time, lc, star_info: StarInfo, transits_min_count: int, run_results, report, cadence, period_grid, detrend_source_period)
Runs the TLS search on the light curve and returns the best-fit transit parameters.
Parameters
- sherlock_targetSherlockTarget
The target configuration.
- timenumpy.ndarray
Time array in days.
- lcnumpy.ndarray
Flux array.
- star_infoStarInfo
Stellar parameters including mass, radius, and limb-darkening coefficients.
- transits_min_countint
Minimum number of transits for a valid detection.
- run_resultsdict
Results from previous runs 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 best-fit TLS transit result.