def MakeProfile(self, L, N):
    '\n\t\t\tEvaluates the psd according to .PsdType, .PsdParams and .Options directives\n\t\t\tReturns an evenly-spaced array.\n\t\t\tIf PsdType = NumericArray, linear interpolation is performed.\n\n\t\t\t:PARAM: N: # of samples\n\t\t\t:PARAM: dx: grid spacing (spatial frequency)\n\n\t\t\treturns:\n\t\t\t\t1d arr\n\t\t'
    if (self.PsdType == PsdFuns.Interp):
        L_mm = (L * 1000.0)
        yRoughness = PsdArray2Noise_1d_v2(self._PsdNumericX, self._PsdNumericY, L_mm, N)
    else:
        print('Irreversible error. The code was not completed to handle this instance')
    return (yRoughness * self.ProfileScaling)
Evaluates the psd according to .PsdType, .PsdParams and .Options directives
Returns an evenly-spaced array.
If PsdType = NumericArray, linear interpolation is performed.

:PARAM: N: # of samples
:PARAM: dx: grid spacing (spatial frequency)

returns:
        1d arr
def MakeProfile(self, L, N):
    '\n\t\t\tEvaluates the psd according to .PsdType, .PsdParams and .Options directives\n\t\t\tReturns an evenly-spaced array.\n\t\t\tIf PsdType = NumericArray, linear interpolation is performed.\n\n\t\t\t:PARAM: N: # of samples\n\t\t\t:PARAM: dx: grid spacing (spatial frequency)\n\n\t\t\treturns:\n\t\t\t\t1d arr\n\t\t'
    if (self.PsdType == PsdFuns.Interp):
        L_mm = (L * 1000.0)
        yRoughness = PsdArray2Noise_1d_v2(self._PsdNumericX, self._PsdNumericY, L_mm, N)
    else:
        print('Irreversible error. The code was not completed to handle this instance')
    return (yRoughness * self.ProfileScaling)