def make_template(channel, width):
    """
    Returns a template of the specified width, with its 25% position being at
    where the lower-level driver triggered.
    """
    pos = int(round(channel.shape[0] * .35/(.35+.25) - width*.25))
    return channel[pos:pos + width], pos