def cnr_amplitude_standardNoise(idealSignal, noiseSignal):
    """
    Calculate the CNR (contrast-to-noise ratio [1]) via the amplitude
    of idealSignal and standard deviation of the noise.

    Parameters
    ----------
    idealSignal: 1-D array-like
        The ideal signal, based in the currentSignal.
    noiseSignal: 1-D array-like
        Noise apply to ideal signal, could be a initial or residual noise.

    Returns
    -------
    float:
        Ratio of maximum distance of zero and standard deviation of the noise.
    """
    import numpy as np
    idealSignal, noiseSignal = np.array(noiseSignal), np.array(noiseSignal)
    return np.maximum(np.abs(idealSignal.max()), np.abs(idealSignal.min())
        ) / noiseSignal.std()
