<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _optimal_orientation_from_detector(detector_name, tc):
 """ Low-level function to be called from _optimal_dec_from_detector and _optimal_ra_from_detector"""


    d = Detector(detector_name)
    ra, dec = d.optimal_orientation(tc)

    return ra, dec