enterprise/signals/utils.py
def create_stabletimingdesignmatrix(designmat, fastDesign=True):
    """
    Stabilize the timing-model design matrix.

    :param designmat: Pulsar timing model design matrix
    :param fastDesign: Stabilize the design matrix the fast way [True]

    :return: Mm: Stabilized timing model design matrix
    """

    Mm = designmat.copy()

    if fastDesign:

        norm = np.sqrt(np.sum(Mm ** 2, axis=0))
        Mm /= norm

    else:

        u, s, v = np.linalg.svd(Mm)
        Mm = u[:, : len(s)]

    return Mm

    Stabilize the timing-model design matrix.

    :param designmat: Pulsar timing model design matrix
    :param fastDesign: Stabilize the design matrix the fast way [True]

    :return: Mm: Stabilized timing model design matrix
    
Stabilize the timing-model design matrix.
Stabilize the timing - model design matrix .
def create_stabletimingdesignmatrix(designmat, fastDesign=True):
    Mm = designmat.copy()
    if fastDesign:
        norm = np.sqrt(np.sum(Mm ** 2, axis=0))
        Mm /= norm
    else:
        u, s, v = np.linalg.svd(Mm)
        Mm = u[:, : len(s)]
    return Mm
def create_stabletimingdesignmatrix ( designmat , fastDesign = True ) : Mm = designmat . copy ( ) if fastDesign : norm = np . sqrt ( np . sum ( Mm ** 2 , axis = 0 ) ) Mm /= norm else : u , s , v = np . linalg . svd ( Mm ) Mm = u [ : , : len ( s ) ] return Mm
Stabilize the timing-model design matrix.
Stabilize the timing - model design matrix .
"""
    Stabilize the timing-model design matrix.

    :param designmat: Pulsar timing model design matrix
    :param fastDesign: Stabilize the design matrix the fast way [True]

    :return: Mm: Stabilized timing model design matrix
    """
Stabilized timing model design matrix
Stabilized timing model design matrix
designmat
Pulsar timing model design matrix
Pulsar timing model design matrix
fastDesign
Stabilize the design matrix the fast way [True]
Stabilize the design matrix the fast way [ True ]