Pad a 1D array for FFT treatment without altering center location.
- Parameters:
- line: ndarray
The data to be padded (should be 1D)
- paddedsize: int
The size of the desired padded data.
- Returns:
padded – Padded version of input data (1 dimensional)
- Return type:
ndarray