sherlockpipe.search.run.extract_sectors
- sherlockpipe.search.run.extract_sectors(object_info: <module 'lcbuilder.objectinfo.MissionObjectInfo' from '/home/docs/checkouts/readthedocs.org/user_builds/sherlock-ph/envs/stable/lib/python3.11/site-packages/lcbuilder/objectinfo/MissionObjectInfo.py'>, cache_dir: str) ndarray
Given the object info and the cache directory, it searches in lightkurve for the target pixel files and retrieves the sectors, quarters or campaigns either as an integer (if only one) or as a list.
- Parameters:
object_info (MissionObjectInfo) – the object info with the target information
cache_dir (str) – the lightkurve cache directory
- Return object:
either an integer or a list of integers