def _prepare_write_tfr(tfr, condition):
 return (condition, dict(times=tfr.times, freqs=tfr.freqs, data=tfr.data, info=tfr.info, nave=tfr.nave, comment=tfr.comment, method=tfr.method))

def _prepare_write_tfr ( tfr , condition ) : return ( condition , dict ( times = tfr . times , freqs = tfr . freqs , data = tfr . data , info = tfr . info , nave = tfr . nave , comment = tfr . comment , method = tfr . method ) )
aux function .