<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _create_morlet(options, s_freq):
 """Create morlet wavelets, with scipy.signal doing the actual computation. Parameters foi : ndarray or list or tuple vector with frequency of interest s_freq : int or float sampling frequency of the data options : dict with 'M_in_s' (duration of the wavelet in seconds) and 'w' (Omega0) Returns ------- ndarray nFreq X nSamples matrix containing the complex Morlet wavelets. """

    wavelets = []
    foi = options.pop('foi')
    for f in foi:
        wavelets.append(morlet(f, s_freq, **options))

    return wavelets