def is_ascending(wf):
    """
    Check the if waveform is ascending.
    
    If it has more than 1 dimension, check all lines along 0'th axis.
    """
    if len(wf)<2:
        return True
    return (wf[1:]-wf[:-1]>=0).all()