W3cubDocs

/Statsmodels

statsmodels.sandbox.tsa.fftarma.ArmaFft.padarr

ArmaFft.padarr(arr, maxlag, atend=True) [source]

pad 1d array with zeros at end to have length maxlag function that is a method, no self used

Parameters:
  • arr (array_like, 1d) – array that will be padded with zeros
  • maxlag (int) – length of array after padding
  • atend (boolean) – If True (default), then the zeros are added to the end, otherwise to the front of the array
Returns:

arrp – zero-padded array

Return type:

ndarray

Notes

This is mainly written to extend coefficient arrays for the lag-polynomials. It returns a copy.

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.sandbox.tsa.fftarma.ArmaFft.padarr.html