def conversion_base_line_helper(data, period):
catch_errors.check_for_period_error(data, period)<EOL>cblh = [(np.max(data[idx+<NUM_LIT:1>-period:idx+<NUM_LIT:1>]) +<EOL>np.min(data[idx+<NUM_LIT:1>-period:idx+<NUM_LIT:1>])) / <NUM_LIT:2> for idx in range(period-<NUM_LIT:1>, len(data))]<EOL>cblh = fill_for_noncomputable_vals(data, cblh)<EOL>return cblh<EOL>
The only real difference between TenkanSen and KijunSen is the period value