<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def linear_positions(n_channels):
 """Linear channel positions along the vertical axis."""

    return np.c_[np.zeros(n_channels),
                 np.linspace(0., 1., n_channels)]