#NEWLINE# def __init__( self , input , row = 0 , start = None , end = None , step = None , base = None ) : #NEWLINE# #INDENT# '\n        Parameters\n        ----------\n        input : array\n           The array to wrap.\n\n        row : int, optional\n           The starting logical row of the array.\n\n        start : int, optional\n           The starting column in the row associated with this object.\n           Used for subsetting the columns of the `FITS_rec` object.\n\n        end : int, optional\n           The ending column in the row associated with this object.\n           Used for subsetting the columns of the `FITS_rec` object.\n        ' #NEWLINE# self . array = input #NEWLINE# self . row = row #NEWLINE# if base : #NEWLINE# #INDENT# width = len ( base ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# width = self . array . _nfields #NEWLINE# #UNINDENT# s = slice ( start , end , step ) . indices ( width ) #NEWLINE# ( self . start , self . end , self . step ) = s #NEWLINE# self . base = base